# Mastra — card for AI agents

A TypeScript framework for building agents and AI workflows, with memory, evals, retrieval and observability built in.

Maker: Mastra · category: Agent frameworks and SDKs · open source (Apache-2.0 (enterprise features under a separate licence))

## Price
- Mastra is open source and free to use; you pay only for the models and infrastructure it runs on.
- Free tier: yes
- Checked: 2026-11-09

## Install
- npm: `npm install @mastra/core`

## Facts
- Interfaces: TypeScript library
- Repository: https://github.com/mastra-ai/mastra

## Numbers (AgentGid data)
- Gid Score: 63 (rank #21) (public popularity and activity, not quality)
- Downloads last 7 days: 3,733,681
- GitHub stars: 29,625

## Details (plan limits, live status, safety; from AgentGid's data)
Mastra by Mastra. Category: Agent frameworks and SDKs. Type: TypeScript agent framework. A TypeScript framework for building agents and AI workflows, with memory, evals, retrieval and observability built in. Open source (Apache-2.0 (enterprise features under a separate licence)) Pricing (checked 2026-11-09): Mastra is open source and free to use; you pay only for the models and infrastructure it runs on. Free tier: yes. Interfaces: TypeScript library Supports: mcp, local, multi_agent Data: Gid Score 63/100, #21 overall; #5 in its category; 29,625.0 GitHub stars; usage +50% over 30 days; latest release 1.84.0 (2026-11-18).

## Alternatives in the same category
- LangChain: https://agentgid.com/agents/langchain/agent.md
- LangGraph: https://agentgid.com/agents/langgraph/agent.md
- AI SDK: https://agentgid.com/agents/vercel-ai-sdk/agent.md
- Claude Agent SDK: https://agentgid.com/agents/claude-agent-sdk/agent.md
- OpenAI Agents SDK: https://agentgid.com/agents/openai-agents-sdk/agent.md
- Deep Agents: https://agentgid.com/agents/deepagents/agent.md

## Links
- AgentGid page: https://agentgid.com/agents/mastra/

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
