mastra
View on GitHubMastra is the modern TypeScript framework for AI-powered applications and agents.
Mastra is a TypeScript framework for building AI agents and LLM apps: agents, graph workflows, RAG, memory, MCP servers, evals, and observability, with model routing across 40+ providers and React/Next.js/Node integration.
Use Cases
Build autonomous tool-using agentsOrchestrate multi-step graph workflowsAdd RAG and vector knowledge retrievalExpose agents and tools as MCP serversEvaluate and observe LLM agents in productionAdd persistent agent memoryHuman-in-the-loop suspend/resume approvalsShip chat assistants in React/Next.js appsRoute across 40+ LLM providersDeploy agents as standalone servers
Built With
- Language
- TypeScript
- Frameworks
- React · Next.js · Node.js · Vercel AI SDK · CopilotKit · Zod · Vitest · Turbo · MCP · TypeScript
Tags
typescript · ai-agents · workflows · mcp · rag · evals · observability · memory · llm · model-routing · tool-calling · human-in-the-loop · tts · nextjs · nodejs · chatbots