mastra-ai/mastra

From the team behind Gatsby, Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.

89
/ 100
Verified

Built on a unified model routing layer supporting 40+ LLM providers, Mastra offers graph-based workflows with explicit control flow (`.then()`, `.branch()`, `.parallel()`) alongside autonomous agents with tool use and reasoning. Features like human-in-the-loop suspension, conversation/semantic memory management, RAG integration, and MCP server support enable complex agentic applications, while built-in evals and observability tooling support production deployment across React, Next.js, Node.js, or standalone servers.

21,938 stars and 1,070,215 monthly downloads. Actively maintained with 707 commits in the last 30 days. Available on npm.

Maintenance 25 / 25
Adoption 20 / 25
Maturity 25 / 25
Community 19 / 25

How are scores calculated?

Stars

21,938

Forks

1,706

Language

TypeScript

License

Last pushed

Mar 13, 2026

Monthly downloads

1,070,215

Commits (30d)

707

Dependencies

19

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/mastra-ai/mastra"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.