22nd of 242 in Agent frameworks and SDKs

mastra

TypeScript framework for building AI agents, workflows and MCP servers

Stars
29.9k
License
custom license
Last commit
Nov 2026
Last release
Nov 2026
Language
TypeScript
Stars, last 35 weeks+7,898
24 Mar 2026: 21,995 stars31 Mar 2026: 22,246 stars7 Apr 2026: 22,502 stars14 Apr 2026: 22,737 stars21 Apr 2026: 22,946 stars28 Apr 2026: 23,158 stars5 May 2026: 23,365 stars12 May 2026: 23,603 stars19 May 2026: 23,839 stars26 May 2026: 24,141 stars2 Jun 2026: 24,497 stars9 Jun 2026: 24,737 stars16 Jun 2026: 24,991 stars23 Jun 2026: 25,237 stars30 Jun 2026: 25,493 stars7 Jul 2026: 25,793 stars14 Jul 2026: 26,048 stars21 Jul 2026: 26,308 stars28 Jul 2026: 26,569 stars4 Aug 2026: 26,830 stars11 Aug 2026: 27,026 stars18 Aug 2026: 27,215 stars25 Aug 2026: 27,411 stars1 Sept 2026: 27,568 stars8 Sept 2026: 27,766 stars15 Sept 2026: 28,043 stars22 Sept 2026: 28,232 stars29 Sept 2026: 28,418 stars6 Oct 2026: 28,597 stars13 Oct 2026: 28,812 stars20 Oct 2026: 28,983 stars27 Oct 2026: 29,165 stars3 Nov 2026: 29,366 stars10 Nov 2026: 29,521 stars17 Nov 2026: 29,662 stars24 Nov 2026: 29,893 stars

21,995 on 24 Mar 202629,893 on 24 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Mastra is hiring: 3 open roles

Overview

Mastra is a TypeScript framework for building agents and graph-based workflows, with model routing across 40+ providers. It adds suspend/resume with stored state, memory, RAG, evals and observability, and runs inside React, Next.js or Node apps or as a standalone server. A local Studio on port 4111 is used to build and test agents, workflows and tools.

Who it is for: TypeScript developers building production agents and workflows

Strengths

  • Graph workflow engine with .then(), .branch() and .parallel() control flow
  • Suspend and resume agents or workflows, with execution state kept in storage
  • Built-in evals, observability, memory and RAG alongside agents
  • Can author MCP servers exposing agents and tools

Weaknesses

  • TypeScript only; no other language SDKs mentioned
  • Code in ee/ directories needs an enterprise license for production use
  • Pull requests limited to collaborators
  • No Docker or compose files in the repo

What it needs

  • no GPU
  • Needs Node.js, LLM provider API key
  • Models: OpenAI, Anthropic, Gemini, xAI, 40+ providers via model router
  • port 4111

What changed

  1. “get_process_output no longer supports wait: true; use waitSeconds (1–300) instead (the old flag is ignored).”

  2. @mastra/core@1.84.0 ↗ (opens in a new tab)BreakingSecurity fix

    “Knowledge alpha scope matching changed: $param now matches exactly one segment; raw : is no longer allowed inside a scope segment, requiring canonical encoding via encodeKnowledgeScopeId / decodeKnow…”

    GHSA-QRWW-3XMV-QHGM. “Raised the minimum versions of the OpenTelemetry SDK and OTLP exporter dependencies (@opentelemetry/sdk-trace-base and @opentelemetry/core ^2.12.1, OTLP exporters ^0.223.1) so they no longer resolve …”

  3. “Agent’s durable option now controls resumable streams only (not checkpoint-backed durable execution); migrate durable execution to createDurableAgent({ agent }), and note plain-agent disconnect behav…”

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Head to head

Also in Agent frameworks and SDKs

See all 242
Also in Agent frameworks and SDKs
RankProjectScore
1ppt-masterAgent skill that turns documents into natively editable PowerPoint decks Live demo ↗ (opens in a new tab)81.2k starsMIT96 out of 100
3copilotkitReact and Angular SDK for adding agent chat and generative UI to apps39k starsMIT93 out of 100
#4openai-agents-pythonPython SDK for multi-agent workflows with handoffs, guardrails and tracing30.9k starsMIT92 out of 100
#5haystackPython framework for building RAG pipelines and agents from modular components27.1k starsApache-2.091 out of 100
#6browser-usePython library that lets an LLM agent control a web browser Live demo ↗ (opens in a new tab)122.3k starsMIT90 out of 100