M
Agent frameworksFor developersOpen source

Mastra

TypeScript agent framework with workflows, memory and evals.

Price
Free (open source)
GitHub stars
★ 29.1k
Latest release
@mastra/core@1.79.0
4 days ago

Plans & pricing

Free, open-source software. You pay only for the AI model you connect (or run a local one).

What it is and who it's for

Code libraries for building agents yourself: you pick a model, give it tools (search, your database, your APIs) and the framework runs the reasoning loop.

Best for: Developers adding AI assistants, copilots or automated workflows to their own app.

Top models for agents & automation

By Agentic Index · Artificial Analysis

The best-scoring models for the kind of work Mastra does. Check Mastra's docs for which models it supports.

  1. 1AnthropicClaude Fable 5.157.9
  2. 2AnthropicClaude Opus 556.5
  3. 3xAIgrok-4.653
  4. 4OpenAIgpt-6-astra51