TypeScript-first AI agent framework. Agents, tools, memory, workflows, RAG, evals, tracing, MCP, and production deployment for Node.js apps.
Mastra is an open-source TypeScript framework for building AI agents and workflows in Node.js. It provides first-class primitives for agents with tools and memory, durable workflows with branching and loops, RAG pipelines, model routing, evals, tracing, and local testing in Mastra Studio. The developer experience is TypeScript-native throughout, with typed tools, schemas, and workflow steps. It integrates with modern JavaScript frameworks like Next.js, React, Express, Hono, and SvelteKit, and can connect agents to external tools through MCP. For TypeScript developers who find LangGraph too Python-oriented and the Vercel AI SDK too low-level for complex agent products, Mastra fills the gap with a batteries-included backend framework.
Last verified
npm create mastra@latestpnpm create mastra@latestnpm install @mastra/core@latest zod@latest typescript@latest @types/node@latest mastra@latestSources: Mastra pricing, Get started with Mastra, mastra-ai/mastra releases
The TypeScript toolkit for building AI apps. Unified API across OpenAI, Anthropic, Google. Streaming, tool calling, structured output, multi-step agents. 27K+ GitHub stars.
Frontend stack for agent-native apps. React hooks, prebuilt copilot UI, AG-UI runtime, frontend tools, shared state, and human-in-the-loop flows.
Most popular LLM framework. 100K+ GitHub stars. Chains, RAG, vector stores, tool use. LangGraph adds stateful multi-agent workflows with cycles and persistence.
LLM data framework for connecting custom data sources to language models. Best-in-class RAG, data connectors, and query engines. Python and TypeScript.
TypeScript-first AI agent framework. Agents, tools, memory, workflows, RAG, evals, tracing, MCP, and production deployment for Node.js apps.
Try MastraHonest takes on AI dev tools, frameworks, and infrastructure - delivered to your inbox.
Subscribe FreeThe TypeScript toolkit for building AI apps. Unified API across OpenAI, Anthropic, Google. Streaming, tool calling, structured output, multi-step agents. 27K+ GitHub stars.
Frontend stack for agent-native apps. React hooks, prebuilt copilot UI, AG-UI runtime, frontend tools, shared state, and human-in-the-loop flows.
Anthropic's SDK for building agents on the same tools, agent loop, and context management that power Claude Code. Python and TypeScript. Subagents, hooks, MCP, and permissions.
Deep comparison of the top AI agent frameworks - LangGraph, CrewAI, Mastra, CopilotKit, AutoGen, and Claude Code.
AI AgentsConfigure Claude Code for maximum productivity -- CLAUDE.md, sub-agents, MCP servers, and autonomous workflows.
AI AgentsWhat MCP servers are, how AI clients like Claude Code call their tools, how to add one through .mcp.json, and how to build your own in TypeScript.
AI Agents
Which embedding model to use in 2026: 20+ API and open-weight models compared on price per 1M tokens, dimensions, max in...

How RAG works, why it matters, and how to implement it in TypeScript. The technique that lets AI models use your data wi...

Buzz is Block's open-source Nostr relay workspace where humans and AI agents share rooms. Agent-first CLI, git as channe...

pgvector, Pinecone, Qdrant, Weaviate, Chroma, Milvus, and Turbopuffer compared on hosting model, filtering, scale, and c...

Event sourcing for AI agents: a new paper makes the append-only log the source of truth for agent state. What it enables...

Agents 101 companion guide: how to build and deploy AI agents fast on the Vercel agentic infrastructure stack, and where...

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.