Open navigation menu

Mastra

Mastra AI

Open Source

Agent framework focused on composable workflows, tooling, and modern developer ergonomics.

Curated by Tiberiu ArvaStale

Apache 2.0 core + EE pathsVersion 1.60.0Released 2026-08-1927,372

Strengths

  • Apache 2.0 plus enterprise path
  • Fast growth
  • Modern DX

Practitioner note

Promising TypeScript-first framework for product teams that want modern developer ergonomics, but enterprise proof points are still earlier than older stacks.

Warning

Mastra: Mastra uses a dual-license model: most of the repo is Apache 2.0, while code under ee/ directories uses the Mastra Enterprise License.

Governance posture

Reviewed 2026-05-26
YesData residency

Self-hosted framework; operator controls placement.

Source
YesDeployment model

npm-installed framework; no managed hosting for the OSS core. (self-hosted)

Source
PartialAudit logging

No built-in enterprise audit log; observability integrations, operator-configured.

Source
N/ASOC 2

Self-hosted library; SOC 2 applies to the operator's infrastructure, not the package.

N/AISO 27001

Self-hosted library; ISO 27001 applies to the operator's ISMS, not the package.

N/AISO 42001

Self-hosted library; ISO 42001 applies to the deploying organisation.

N/AEU AI Act

Developer component, not an AI system placed on the market; obligations rest with the deployer. (role: not-applicable)

YesLicense risk

Apache-2.0 core; ee/ paths under a proprietary Mastra Enterprise License (source-available). (medium)

Source

License history

Verified license transitions for Mastra, newest first. Relicensing is tracked as a first-class procurement risk — see the license-change feed for all tracked tools.

Mastra uses a dual-license model: most of the repo is Apache 2.0, while code under ee/ directories uses the Mastra Enterprise License.

  1. More restrictive

    Apache 2.0 to Apache 2.0 core + EE paths

    Introduced ee/ directories under the source-available Mastra Enterprise License; the core remains Apache 2.0. Origin of the current dual-license state.

    mastra PR #13163: auth core, server RBAC, and adapter permission enforcement

EU AI Act obligations

Risk tier: Not applicable · as of 2026-08-23

Source-backed information mapped from Mastra's tracked risk tier — not legal advice. Obligations depend on how your organisation deploys the system; see the full obligation reference and timeline.

This record's EU AI Act risk tier is marked not applicable, so no tier-specific obligations attach. Deployers embedding it in an AI system in scope of the Act should assess that system's own tier.

Change history

Source-backed and auto-detected events for this tool, newest first.

  1. ReleaseHigh impact

    Mastra core 1.60.0 added durable execution for Agents API-created agents without redeployment and introduced a Cloudflare Sandbox provider for remote workspaces.

    Release @mastra/core@1.60.0 · mastra-ai/mastra
  2. ReleaseHigh impact

    Mastra core 1.58.0 added file-based agent schedules, Oracle Database storage and vector support, an in-process QuickJS transport, and dynamic workflow APIs, with stored-workflow naming and channel-format breaking changes.

    Release @mastra/core@1.58.0 · mastra-ai/mastra
  3. Release

    Mastra core 1.51.0 added durable agent crash recovery APIs and opt-in boot-time recovery for orphaned running runs.

    Release @mastra/core@1.51.0 · mastra-ai/mastra
  4. Release

    Mastra 1.50.0 added a LiveKit package for realtime voice agents and workflow-backed voice turns.

    Release @mastra/core@1.50.0 · mastra-ai/mastra
  5. ReleaseHigh impact

    Mastra 1.49.0 added opt-in storage retention policies and storage.prune() across core and supported storage backends.

    Release @mastra/core@1.49.0 · mastra-ai/mastra
  6. ReleaseHigh impact

    Mastra 1.48.0 added cron-scheduled agent heartbeats, file-based agent and subagent auto-registration, durable suspended-run recovery, and stronger auth-context propagation across durable and Inngest execution paths.

    Release @mastra/core@1.48.0 · mastra-ai/mastra
  7. ReleaseHigh impact

    Mastra 1.47.0 added AI SDK v7 model support, DurableAgent API parity for stream/resume/generate, gateway-first model discovery, AgentController routing, and eval quality gates.

    Release @mastra/core@1.47.0 · mastra-ai/mastra
  8. ReleaseHigh impact

    Mastra 1.46.0 reworked Harness around isolated sessions with remote HTTP and JS-client control, enabling safer concurrent multi-user agent hosting and deterministic tool-mocked experiments.

    Release @mastra/core@1.46.0 · mastra-ai/mastra
  9. Release

    Mastra 1.42.0 added trusted system-actor execution for background workflows, tool suspension primitives across agents, thread-state durability, and new observability/storage options for production agent operations.

    June 12, 2026 · @mastra/core@1.42.0 · mastra-ai/mastra
  10. ReleaseHigh impact

    Mastra 1.32.0 introduced fine-grained authorization checks across agent runs, tool and workflow execution, memory thread access, server adapters, and MCP paths.

    Release @mastra/core@1.32.0 · mastra-ai/mastra · GitHub
  11. License changeHigh impact
    Mastra adds source-available Enterprise License paths beside its Apache 2.0 core

    Mastra introduced ee/ directories under the source-available Mastra Enterprise License alongside the Apache 2.0 core, moving the repo from a single permissive license to a dual-license model.

    mastra PR #13163: auth core, server RBAC, and adapter permission enforcement
  12. Auto-detected
    githubStars: 2689427372

    From snapshot diff 2026-08-042026-08-22.

  13. Auto-detected
    lastRelease: 2026-07-312026-08-19

    From snapshot diff 2026-08-042026-08-22.

  14. Auto-detected
    version: 1.55.01.60.0

    From snapshot diff 2026-08-042026-08-22.

  15. Auto-detected
    githubStars: 2603326894

    From snapshot diff 2026-07-172026-08-04.

  16. Auto-detected
    lastRelease: 2026-07-082026-07-31

    From snapshot diff 2026-07-172026-08-04.

  17. Auto-detected
    version: 1.50.01.55.0

    From snapshot diff 2026-07-172026-08-04.

  18. Auto-detected
    githubStars: 2484326033

    From snapshot diff 2026-06-072026-07-17.

  19. Auto-detected
    lastRelease: 2026-05-272026-07-08

    From snapshot diff 2026-06-072026-07-17.

  20. Auto-detected
    version: 1.37.01.50.0

    From snapshot diff 2026-06-072026-07-17.

Explore the category

Compare this tool against the rest of its category and the cloud platform foundation layer.