Skip to content

Rank #7 of 9 in Agent Frameworks & SDKs

Mastra logo

Mastra

Open SourceYC W25

Kepler Software, Inc.

28k13.3k/yrnpm 1.2M/wk +338npm/wk -338k

Showcase

Mastra homepage screenshot
homepage · captured Sep 2026 · view live ↗
Mastra docs screenshot
docs · captured Sep 2026 · view live ↗

Verified integrations

Connections to other tracked products — hover a chip for the verbatim evidence quote behind it.

By theme — the product's score on each story themeBy theme

Agenticness — how well agents can access and operate the productAgenticnessevidence →

How well agents can access and operate the product

40.8/100

Agents tools — stories about agents tools in this arenaAgents toolsevidence →

Stories about agents tools in this arena

51.3/100

Automation depth — how much of the product can run unattendedAutomation depthevidence →

How much of the product can run unattended

37.0/100

Deployment portability — stories about deployment portability in this arenaDeployment portabilityevidence →

Stories about deployment portability in this arena

67.4/100

Evals observability — stories about evals observability in this arenaEvals observabilityevidence →

Stories about evals observability in this arena

42.9/100

Guardrails safety — stories about guardrails safety in this arenaGuardrails safetyevidence →

Stories about guardrails safety in this arena

70.0/100

Human in the loop — stories about human in the loop in this arenaHuman in the loopevidence →

Stories about human in the loop in this arena

80.0/100

Memory context — stories about memory context in this arenaMemory contextevidence →

Stories about memory context in this arena

40.0/100

Openness — open source, data portability, and self-hosting storiesOpennessevidence →

Open source, data portability, and self-hosting stories

11.7/100

Orchestration multi agent — stories about orchestration multi agent in this arenaOrchestration multi agentevidence →

Stories about orchestration multi agent in this arena

58.8/100

Privacy posture — data-handling and privacy storiesPrivacy postureevidence →

Data-handling and privacy stories

8.0/100

State durability — stories about state durability in this arenaState durabilityevidence →

Stories about state durability in this arena

76.0/100

Streaming output — stories about streaming output in this arenaStreaming outputevidence →

Stories about streaming output in this arena

55.0/100

Story verdicts — every judged story with its evidenceStory verdicts

What’s free: 6 free · 0 paid · 0 enterprise · 22 not stated in evidence

?

Sorted by importance (agentic first) (high → low) · 51/51 stories · click a row’s chevron for the rationale and evidence

Connect an agent via an official MCP server G

Agent access

ai-native userAgenticness — how well agents can access and operate the productAgenticness3full8/10T

Plug MCP servers into this product so it can use their tools G

Agent access

ai-native userAgenticness — how well agents can access and operate the productAgenticness3full8/10C

Drive the product through a documented public API G

Agent access

ai-native userAgenticness — how well agents can access and operate the productAgenticness3partial6/10T

Delegate tasks to a built-in AI assistant inside the product G

Agentic features

ai-native userAgenticness — how well agents can access and operate the productAgenticness3n/auntestednone yet

Point an agent at llms.txt or agent-oriented docs G

Agent access

ai-native userAgenticness — how well agents can access and operate the productAgenticness2full9/10T

Build against official SDKs G

Agent access

ai-native userAgenticness — how well agents can access and operate the productAgenticness2full8/10T

Set up automations that run autonomously in the background G

Agentic features

ai-native userAgenticness — how well agents can access and operate the productAgenticness2fullfree8/10C

Run the product headlessly / in CI for automation G

Agent access

ai-native userAgenticness — how well agents can access and operate the productAgenticness2partialfree6/10C

Use an official CLI G

Agent access

ai-native userAgenticness — how well agents can access and operate the productAgenticness2partial6/10C

Operate the product with natural-language commands G

Agentic features

ai-native userAgenticness — how well agents can access and operate the productAgenticness2partial4/10T

Download a machine-readable API spec (OpenAPI or equivalent) G

Api quality

ai-native userAgenticness — how well agents can access and operate the productAgenticness2none0/10

Explore an interactive API reference with runnable examples G

Api quality

ai-native userAgenticness — how well agents can access and operate the productAgenticness2none0/10

Issue scoped/least-privilege API credentials for an agent G

Agent access

ai-native userAgenticness — how well agents can access and operate the productAgenticness2none0/10

Rely on versioned APIs with a documented deprecation policy G

Api quality

ai-native userAgenticness — how well agents can access and operate the productAgenticness2none0/10

Subscribe to events via webhooks G

Agent access

ai-native userAgenticness — how well agents can access and operate the productAgenticness2none0/10

Get AI-generated insights and suggestions from my data inside the product G

Agentic features

ai-native userAgenticness — how well agents can access and operate the productAgenticness2n/auntestednone yet

Test against a sandbox environment without touching production data G

Api quality

ai-native userAgenticness — how well agents can access and operate the productAgenticness1partial4/10C

Define an agent with typed custom tools in a few lines of code C

Agent authoring

developerAgents tools — stories about agents tools in this arenaAgents tools3full9/10C

Checkpoint agent state so a run can resume exactly where it left off after a crash or restart C

Durable state

developerState durability — stories about state durability in this arenaState durability3full8/10C

Pause an agent mid-run for human input or approval and resume with the human's decision C

Approval flows

developerHuman in the loop — stories about human in the loop in this arenaHuman in the loop3full8/10C

Stream tokens and intermediate agent events (tool calls, steps) to my UI in real time C

Streaming

developerStreaming output — stories about streaming output in this arenaStreaming output3full8/10C

Swap the underlying LLM provider or model without rewriting my agent C

Portability

developerDeployment portability — stories about deployment portability in this arenaDeployment portability3full8/10C

Trace every LLM call and tool invocation of an agent run in an observability UI C

Tracing

developerEvals observability — stories about evals observability in this arenaEvals observability3full8/10C

Attach input/output guardrails that validate, transform, or block unsafe content C

Guardrails

developerGuardrails safety — stories about guardrails safety in this arenaGuardrails safety3full7/10C

Orchestrate multiple agents — handoffs, subagents, or crews — inside one workflow C

Multi agent

developerOrchestration multi agent — stories about orchestration multi agent in this arenaOrchestration multi agent3full7/10X

Define rules that trigger actions automatically on events G

ai-native userAutomation depth — how much of the product can run unattendedAutomation depth3partial6/10C

Get schema-validated structured output from an agent, with automatic retries when validation fails C

Structured output

developerStreaming output — stories about streaming output in this arenaStreaming output3partial5/10C

Self-host the core product G

ai-native userOpenness — open source, data portability, and self-hosting storiesOpenness3disputedfree5/10D

Export all of my data in open formats and leave G

ai-native userOpenness — open source, data portability, and self-hosting storiesOpenness3none0/10

Prevent my data from being used to train AI models G

ai-native userPrivacy posture — data-handling and privacy storiesPrivacy posture3n/a0/10

Give agents long-term memory that persists across sessions and threads C

Memory

developerMemory context — stories about memory context in this arenaMemory context2full8/10C

Require human approval before specific sensitive tool calls execute C

Approval flows

engineering-leadHuman in the loop — stories about human in the loop in this arenaHuman in the loop2full8/10C

Run my agents entirely on my own infrastructure with no dependence on the vendor's platform C

Deployment

engineering-leadDeployment portability — stories about deployment portability in this arenaDeployment portability2fullfree8/10X

Compose agents into an explicit graph or workflow with branching, loops, and parallel steps C

Workflow control

developerOrchestration multi agent — stories about orchestration multi agent in this arenaOrchestration multi agent2partial7/10X

Restrict what an agent may do with fine-grained tool permissions and sandboxed execution C

Guardrails

engineering-leadGuardrails safety — stories about guardrails safety in this arenaGuardrails safety2full7/10C

Run long-lived agents durably across process restarts and deploys, natively or via durable-execution integrations C

Durable state

engineering-leadState durability — stories about state durability in this arenaState durability2full7/10C

Schedule recurring jobs or workflows G

ai-native userAutomation depth — how much of the product can run unattendedAutomation depth2full7/10C

Deploy an agent to a managed runtime and call it as an API endpoint C

Deployment

engineering-leadDeployment portability — stories about deployment portability in this arenaDeployment portability2partialfree6/10T

Have a coding agent scaffold a new agent project from an official CLI or template in one command C

Ai buildability

ai-native userAgents tools — stories about agents tools in this arenaAgents tools2partial6/10C

Rely on strict typing and schema validation so a coding agent catches its own mistakes at build time C

Ai buildability

ai-native userAgents tools — stories about agents tools in this arenaAgents tools2full6/10C

Score agent quality with built-in evals and run them as part of CI C

Evals

engineering-leadEvals observability — stories about evals observability in this arenaEvals observability2partial5/10C

Choose where my data is stored (region/residency) G

ai-native userPrivacy posture — data-handling and privacy storiesPrivacy posture2partialfree4/10C

Do everything through the API that I can do in the UI G

ai-native userOpenness — open source, data portability, and self-hosting storiesOpenness2partial4/10T

Perform bulk operations across many items at once G

ai-native userAutomation depth — how much of the product can run unattendedAutomation depth2partial4/10C

Read the product's source under an open license G

ai-native userOpenness — open source, data portability, and self-hosting storiesOpenness2disputed4/10D

Control data retention and deletion G

ai-native userPrivacy posture — data-handling and privacy storiesPrivacy posture2none0/10

Run the framework's example agents headlessly from a terminal so an agent can verify what it just built C

Ai buildability

ai-native userAgents tools — stories about agents tools in this arenaAgents tools2none0/10

Trim, summarize, or filter conversation history to keep an agent inside its context window C

Memory

developerMemory context — stories about memory context in this arenaMemory context2none0/10

Opt out of telemetry and usage tracking G

ai-native userPrivacy posture — data-handling and privacy storiesPrivacy posture2noneuntestednone yet

Unit-test agents with mocked models and tools C

Testing

developerEvals observability — stories about evals observability in this arenaEvals observability2noneuntestednone yet

Version, review, and roll back my automations G

ai-native userAutomation depth — how much of the product can run unattendedAutomation depth1none0/10

Opportunities — the stories that would move this product's scores, from its own judged verdictsOpportunitiestop 8 of 26 stories with headroom

What would move Mastra’s scores — derived from its own judged verdicts, biggest headroom first. Each line quotes what the judge found missing; shipping it (or evidencing it publicly) is the fix.

  1. Openness — open source, data portability, and self-hosting storiesExport all of my data in open formats and leave

    nonemoves PA Scoreimpact 30

    Missing: any documented export/migration tooling, data format specs, or explicit portability guarantees.

  2. Agenticness — how well agents can access and operate the productIssue scoped/least-privilege API credentials for an agent

    nonemoves agent-readyimpact 30

    Missing: any documentation of per-agent credential scoping, secrets vault integration, or least-privilege API key issuance.

  3. Agenticness — how well agents can access and operate the productSubscribe to events via webhooks

    nonemoves agent-readyimpact 30

    Missing: any explicit webhook registration/subscription API, incoming webhook trigger docs, or example of an agent/workflow subscribing to external webhook events.

  4. Agenticness — how well agents can access and operate the productExplore an interactive API reference with runnable examples

    nonemoves API qualityimpact 30

    Evidence shows Mastra has markdown-based docs (docs.md, llms.txt) and a local dev Studio for testing agents, but no interactive API reference with runnable/embedded examples (e.g., a Swagger/OpenAPI-style playground) is documented, and probes for OpenAPI specs all 404'd.

  5. Agenticness — how well agents can access and operate the productDownload a machine-readable API spec (OpenAPI or equivalent)

    nonemoves API qualityimpact 30

    Mastra deploys servers/agents but explicit probes for OpenAPI/swagger endpoints all returned 404, and no docs mention a downloadable machine-readable API spec.

  6. Agenticness — how well agents can access and operate the productRely on versioned APIs with a documented deprecation policy

    nonemoves API qualityimpact 30

    No evidence of a versioned API scheme or documented deprecation policy; OpenAPI spec probes all 404 and no docs reference API versioning or deprecation practices.

  7. Agents tools — stories about agents tools in this arenaRun the framework's example agents headlessly from a terminal so an agent can verify what it just built

    nonemoves PA Scoreimpact 20

    Missing: a documented CLI command to run/test agents non-interactively, evidence of scripted/headless agent execution, and confirmation this works without the Studio UI.

  8. Memory context — stories about memory context in this arenaTrim, summarize, or filter conversation history to keep an agent inside its context window

    nonemoves PA Scoreimpact 20

    The evidence describes Mastra's Memory system only in general terms (remembering messages/tool results, multi-user threads) but never mentions any mechanism for trimming, summarizing, or filtering conversation history to manage context window size.

Showing the top 8 of 26 — every none/partial verdict in the story verdicts table is headroom.

Think a verdict is wrong? Every verdicts-table row has a Flag link — see the methodology.

Coverage map — which docs area, API section, or community source covers which judged storiesCoverage map8 surfaces · 36 covered stories

Where the cited evidence behind each covered verdict came from — the same citations the verdicts table shows, no extra judging.

docs30 stories

mastra.ai23 stories

Claims vs evidence — vendor claims reconciled against independent verdictsClaims vs evidence

6 of 20 testable claims verified · 2 contradictedintegrity 10/100

25 distinct capability claims found in Mastra’s own claimed-docs/GitHub materials, reconciled against our judge’s independent verdicts.

6

Verified

12

Unverified

2

Contradicted

16

Undersold

Verified (11)
Unverified (15)
Contradicted (2)
Undersold (16)
Claims outside our story set (3)

Real capability claims found in Mastra’s own materials, but no story in this arena’s taxonomy covers them yet — that’s feedback on the taxonomy, not a mark against the product.

  • Build autonomous agents that reason about goals, choose tools, and iterate to a final answer

    source ↗
  • Share a single conversation thread across multiple users

    source ↗
  • Enterprise access controls including RBAC, SSO, IAM, and network policy integration

    source ↗
Suggest a story for these →

Business model

open-sourcefree-tierusage-based

The Mastra framework is open source (Apache-2.0 core with source-available ee/ modules); Mastra Cloud deployment has a free tier then usage-based paid plans.

pricing ↗

Score trend

How this product’s scores have moved as evidence and verdicts are re-derived — a point per change, not per day.

PA Score23 (Sep 4 '26)32 (Sep 16 '26)
Agent-ready54 (Sep 4 '26)51 (Sep 16 '26)

Flag

⚑ Flag a verdict

Think a verdict is wrong? Opens a prefilled GitHub issue — or use the ⚑ next to any verdict above.

Badge

Embed this product's score badge →

Hotlinked SVG — always shows the live current score.

For agents

Data

Agent surface uptime llms.txt 100% (30d, checked every 6h since Sep 8 '26)