Mastra

Mastra is a framework that helps developers build AI agents and AI-powered apps in TypeScript, from prototype to production.

What it is good for

  • Building AI agents that use tools to complete open-ended tasks
  • Orchestrating multi-step AI processes with explicit control flow
  • Adding AI assistants to React, Next.js, or Node apps
  • Pausing an AI workflow for human approval before it continues

At a glance

Who it is for
Setup
Requires programming

Level 5 of 5. You need to write code to use it.

Cost
Free and open source
Type
Framework or SDK
Tasks
Works with
React, Next.js, Node.js, Vercel AI SDK, CopilotKit, OpenAI

Momentum

Rank this week
Not ranked yet
Best rank
None yet
GitHub stars
29,275

GitHub numbers as of Nov 2, 2026. Updated weekly.

28.1k 28.8k 29.4k Sep 24, 2026 Nov 2, 2026
GitHub stars for Mastra: 28,232 on Sep 24, 2026, 29,275 on Nov 2, 2026. Source: GitHub.

Questions

Is Mastra free?
Yes. It is free and open source.
Do I need to know how to code to use Mastra?
Yes. You need to write code to use it.
What does Mastra work with?
According to its own documentation, it works with React, Next.js, Node.js, Vercel AI SDK, CopilotKit, and OpenAI.
What is Mastra good for?
Building AI agents that use tools to complete open-ended tasks, orchestrating multi-step AI processes with explicit control flow, adding AI assistants to React, Next.js, or Node apps, and pausing an AI workflow for human approval before it continues.

Similar agents to Mastra

  • JeecgBoot

    JeecgBoot is a low-code platform that generates business systems from a plain-language request and includes a builder for AI chat, knowledge bases, and workflows for companies.

  • elizaOS

    elizaOS is an open source TypeScript framework and app stack for building autonomous AI agents that run tasks across apps and devices for developers.

  • VoltAgent

    VoltAgent is a TypeScript framework for building AI agents with memory, tools, and multi-step workflows for developers.

  • OpenConnector

    OpenConnector is a self-hosted connector gateway that lets AI agents use 1,000+ SaaS apps for developers and teams without giving agents provider credentials.

  • Dify

    Dify is an open-source platform that helps teams build AI agents, workflows, and document Q&A apps and move them into production.

  • CopilotKit

    CopilotKit is an open-source toolkit that puts AI agents into apps your users can chat with, click, and approve actions in, for developers building agent interfaces.

Last updated Nov 2, 2026. Tracked since Oct 28, 2026. The summary was written by an AI model from the project's own description and checked against our copy rules. Spotted an error? Tell us.