mastra logo

mastra

mastra-ai/mastra

Modern TypeScript framework for AI-powered applications and agents

GraphCanon updated Sep 20, 2026 · GitHub synced Sep 20, 2026

48views this month

28k stars2.8k forksLast push Sep 18, 2026 TypeScript Other

Decision brief

Mastra is a TypeScript framework for AI-powered applications and agents, offering a dual-license model with enterprise features.

Good fit when

  • When you need a TypeScript framework that supports AI functionalities such as chatbots, evaluations, and text-to-speech.
  • If your project requires a dual-license model, allowing for open-source development with enterprise features available under a separate license.

Avoid when

  • If your project strictly requires an entirely open-source solution without any proprietary enterprise components.
  • When you prefer frameworks that do not differentiate between open-source and enterprise features, as Mastra has distinct enterprise features that require a separate license.
Pricing:
freemium - The core framework is free and open-source under Apache License 2.0, but enterprise features require a valid enterprise license for production use.
Requirements:
Requires TypeScript and Node.js for development.

Observed Sep 18, 2026 · Source: enrich:decision_facts

Verify the decision

Adoption

Package downloads where a registry match exists. GitHub stars (28,149) are secondary evidence.

npm downloads (30d)
38·npm downloads API·Sep 18, 2026

Maintenance and security

Full trust report
Maintenance
Very active (0d since push)
As of Sep 18, 2026
Provenance
Not a fork · Organization account
As of Sep 18, 2026
Security (OSV)
No lockfile
As of Sep 20, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

npm install mastra
npm

How it fits your stack(7)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Alternative

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Mastra is a TypeScript-based framework designed for developing AI-powered applications and agents, supporting a wide range of AI functionalities including chatbots, evaluations, and text-to-speech.

Capability facts

MCP server
No MCP server detected

Source: repo_scan · Sep 18, 2026

Languages
typescript, javascript

Source: github.language+package.json · Sep 18, 2026

Categories

Tags

README

Licensing This repository uses a dual license model: Apache License 2.0 : The core framework and the vast majority of this codebase is open source under Apache 2.0. Mastra Enterprise License : Code in any directory named (e.g., ) is source available under the Mastra Enterprise Li...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.