---
slug: "mastra"
name: "Mastra"
effect: "Builds TypeScript agents and graph-based workflows with memory, RAG, evals and model routing"
category: "agent-framework"
url: "https://mastra.ai/"
github: "mastra-ai/mastra"
pricing: "open-source"
license: "Apache-2.0; code in ee/ directories under the Mastra Enterprise License (source-available)"
tags: ["typescript", "workflows", "memory", "rag", "mcp", "evals"]
platforms: []
install_kind: "npm"
date_added: "2026-10-14"
drop_score: 69
stars: 28824
pushed_at: "2026-10-15T01:13:07Z"
signals_status: "ok"
signals_fetched_at: "2026-10-15T01:19:01.555Z"
page: "https://agenttooldrop.com/tools/mastra"
---

# Mastra

Builds TypeScript agents and graph-based workflows with memory, RAG, evals and model routing

Category: Agent frameworks. Pricing: Open source. License: Apache-2.0; code in ee/ directories under the Mastra Enterprise License (source-available).

## Why you would want it

Mastra is a TypeScript framework for agents and workflows that plugs into React, Next.js and Node apps or runs as a standalone server. It connects to 40+ model providers through one interface, has a graph-based workflow engine with .then(), .branch() and .parallel(), and can suspend an agent or workflow for human input and resume from stored state. It also covers conversation history, RAG, observational memory, MCP server authoring, evals and observability.

## Best for

- TypeScript and Next.js teams
- Agents with human approval steps
- Apps that need memory and RAG in one stack

## Use it when

You want agents, workflows, memory and evals in one TypeScript framework instead of assembling separate libraries.

## Skip it if

You work in Python. Features in ee/ directories (for example auth) need a Mastra enterprise license for production use.

## Install

Create a project with npm:

```sh
npm create mastra@latest
```

Source: https://github.com/mastra-ai/mastra#readme

## Live signals

Fetched 2026-10-15T01:19:01.555Z (status: ok).

- Repository: mastra-ai/mastra
- Stars: 28,824
- Forks: 2,984
- Open issues and PRs: 573
- License (GitHub): NOASSERTION
- Last push: 2026-10-15
- Latest release: @mastra/core@1.77.0 (2026-10-14)

## Links

- Website: https://mastra.ai/
- GitHub: https://github.com/mastra-ai/mastra
- Install instructions verified at: https://github.com/mastra-ai/mastra#readme
- Source for this entry: https://github.com/mastra-ai/mastra#readme
- AgentToolDrop page: https://agenttooldrop.com/tools/mastra
- Full catalog (JSON): https://agenttooldrop.com/tools.json
