← All frameworks
19k ★WorkflowGentle learning curve

Mastra

Mastra · TypeScript · Apache-2.0

Mastra is built natively in TypeScript with workflows, memory, and evaluation in one package, so JavaScript teams can ship agents without bolting on a Python service.

Best for

JavaScript and TypeScript teams who want agents that live in their existing web stack.

Strengths

  • +Native TypeScript, not a Python port
  • +Workflows, memory, and evals in one package
  • +Deploys cleanly to serverless and edge

Watch out for

Younger ecosystem than the Python leaders, so fewer third-party integrations.

Spec sheet

Vendor
Mastra
Languages
TypeScript
License
Apache-2.0
Architecture
Workflow
Model support
Any provider
Multi-agent
Yes
State persistence
Yes
Human-in-the-loop
Yes
Streaming
Yes
Observability
Built-in
Memory
Built-in
First released
2024

Compare with

This page reflects Mastra's public documentation as of May 2026 and is maintained by Choppy Toast, which is not affiliated with Mastra. GitHub star counts are approximate. Always confirm details in the official docs before you commit.