Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Mastra

Framework for building AI agents with tools, memory and MCP server support.

Agent, MCP and tool librariesNPM

GitHubWebsiteIts AgentGid profile

1. License

License from npm.

github.com/mastra-ai/mastra

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What Mastra does

Framework for building AI agents with tools, memory and MCP server support.

Mastra popularity

73 / 100
Gid Score, #278 overall
4M
downloads a week, npm
29.8K
GitHub stars
37
agent projects use it
Mastra: downloads per weeknpm, @mastra/core 3,993,686
Mastra: GitHub starsmastra-ai/mastra 29,775

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How Mastra is used

  • Mastra is a dependency in 37 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.8% of the 4,867 JavaScript/TypeScript ones), #8 of 192 in agent, mcp and tool libraries.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 316; those are left out of every share on this page.
  • The most used alternative in our scan is LangChain.js (37 projects).
  • Projects that use it most often also use Zod (97.3%), AI SDK (91.9%), TypeScript (91.9%).

By coding agent

21 projects, 0.7%
16 projects, 0.7%
15 projects, 0.5%

Often used with

In 97.3% of its projects
In 91.9% of its projects
In 91.9% of its projects
In 40.5% of its projects
In 21.6% of its projects
In 27.0% of its projects
In 27.0% of its projects
In 48.6% of its projects

More about Mastra

More in Agent, MCP and tool libraries

Alternatives

Mastra This page

Apache-2.0Gid 734M/wk

LangChain.js

Build applications with LLMs using composable abstractions for chains, agents and memory.

MITGid 758.7M/wk

Google Genkit

AI framework for building, testing and monitoring generative AI applications.

Apache-2.0Gid 46264K/wk

OpenAI Agents SDK (JavaScript)

Lightweight framework for building multi-agent AI workflows.

MITGid 592.4M/wk

Compare Mastra with another tool

Get started

Install it.

npm install @mastra/core

No step-by-step start for Mastra yet: we have not written its hand-checked card.