The no bullsh*t agent framework
Build enterprise-grade AI agents faster. Magma is an extensible, low-opinion TypeScript framework that allows you to customize every aspect of an agentic workflow.
Try Magma v1.1.0
import { MagmaAgent } from "@pompeii-labs/magma";
async function main() {
const agent = new MagmaAgent();
agent.fetchSystemPrompts = () => [
{
role: "system",
content: "Welcome the user to the Magma framework by Pompeii Labs",
},
];
const reply = await agent.main();
console.log("Agent: " + reply.content);
}
main();