Mastra

TypeScript framework for building AI agents.

Verified live · 7/11/2026

Disclosure: some links below are affiliate links. If you sign up through them we may earn a commission — at no extra cost to you. It never affects our rankings.

Visit Mastra

What is Mastra?

An open-source TypeScript framework for building AI agents with workflows, memory, RAG, and evals. Created by the team behind Gatsby for JavaScript-native agent development.

Pros

  • TypeScript-native
  • Workflows and evals built in
  • Good DX

Cons

  • JS/TS only
  • Young project

Pricing

From Free · Open source

Top Mastra alternatives

  • AgnoFast, lightweight framework for multimodal agents.
  • CrewAIFramework for orchestrating role-playing agent crews.
  • DSPyFramework for programming, not prompting, LLMs.
  • GriptapePython framework for agents, pipelines, and workflows.
  • HaystackOpen-source framework for LLM search and agents.
  • LangChainPopular framework for building LLM apps and agents.

See the full Mastra alternatives guide →

Compare Mastra

The Magpie’s Haul

Five hand-picked AI tools + one deal, every week. Free.

No spam. Unsubscribe anytime.