Mastra

 »  AI Agents  »  Framework  »  Mastra  URL Share on

 Repository   22,290  1,782
Battery-included TypeScript framework for building AI agents, workflows, RAG, and evaluations
typescript full-stack workflows rag evaluations mcp
TypeFramework
HostingHybrid
MaturityStable
Status Maintained

Key Features

Multi-Agent Single Agent Human-in-the-Loop Streaming Async Support Type Safe Short-Term Memory Long-Term Memory Plugin System Custom Tools MCP Protocol DAG Workflows Self-Hosted Cloud Hosted

Community Feedback

  Strengths

  • Fastest idea-to-deployment for JS/TS
  • End-to-end TypeScript with type safety
  • Built-in workflow engine with DAG primitives
  • Multi-agent supervisor pattern
  • Local dev UI
  • Rapid community growth

  Weaknesses

  • Younger than LangChain — fewer integrations (growing)
  • No built-in models
  • Learning curve for workflow/state management
  • Deployment smoothest on Vercel

Mastra Details

OrganizationMastra AI (from Gatsby team)
Organization TypeCompany
FundingSeed
CategoryFramework
SubcategoryOrchestration
DeploymentHybrid
Primary LanguageTypeScript
RuntimeNode.js 18+
LicenseElastic-2.0
Commercial UseRestricted
Install Commandnpx create-mastra
GitHub Stars22,290
GitHub Forks1,782
Release CadenceWeekly
MaturityStable
Pricing ModelFree
Free TierOpen-source (Elastic License 2.0)
Self-Hosted FreeYes
Cost Modelfree + LLM costs
Community SizeLarge (22k stars)
Community ActivityVery active
Sentiment Positive
GPU RequiredNo
Research Date2026-03-24
LLM ProvidersOpenAI, Anthropic, Google Gemini, 40+ providers
API Keys RequiredLLM provider API key

Use Cases

When to Use

Best for: TypeScript/JavaScript teams building full-stack AI agent applications

Avoid when: Python-first team or need maximum integrations

  Back to Agent Directory
Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Check out Ag3ntum — our secure, self-hosted AI agent for server management.
Release v20260328a