Ad space · Your tool here
PluginStack
Agent Frameworks · by Mastra

Mastra

Mastra official site ↗

Last checked against the official docs:

What it does

A TypeScript framework for AI apps and agents. It includes model routing across 40+ providers, agents with tools, graph-based workflows with suspend/resume, memory and RAG, MCP server authoring, evals and observability, plus a local Studio UI. Apache-2.0, except code in ee/ folders, which uses an enterprise license.

Who it's for

JavaScript and TypeScript developers who want to add agents to a Next.js, React or Node app.

How to set it up

  1. Create a project:

    bash
    npm create mastra@latest
  2. Follow the prompts to pick a project name and model provider, then add your API key to .env.

  3. Start the dev server and open Mastra Studio at http://localhost:4111 to test agents and workflows.

    bash
    npm run dev

Check the official Mastra docs for the latest steps.

Example prompts

prompt
Create a Mastra agent with a tool that fetches weather for a city.
prompt
Build a Mastra workflow that pauses for human approval before publishing a post.
prompt
Expose my Mastra tools as an MCP server.

Demo

Demo coming soon

A short walkthrough of Mastra in action.

See all Agent Frameworks on PluginStack