Mastra

mastra.ai
Developer Tools

Prototype and productionize AI features with a modern JS/TS stack

llms.txt

Mastra

Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack. It includes everything you need to go from early prototypes to production-ready applications. Mastra integrates with frontend and backend frameworks like React, Next.js, and Node, or you can deploy it anywhere as a standalone server. It's the easiest way to build, tune, and scale reliable AI products.

Some of its highlights include: Model routing, agents, workflows, human-in-the-loop, context management, and MCP.

The documentation is organized into key sections:

  • Docs: Core documentation covering concepts, features, and implementation details
  • Models: Mastra provides a unified interface for working with LLMs across multiple providers
  • Guides: Step-by-step tutorials for building specific applications
  • Reference: API reference documentation

Each section contains detailed docs that provide comprehensive information about Mastra's features and how to use them effectively.

These are the most popular starting points:

  • Get Started with Mastra: Create a new project with the create mastra CLI or use one of the framework quickstart guides
  • Agent Overview: Agents use LLMs and tools to solve open-ended tasks. They reason about goals, decide which tools to use, retain conversation memory, and iterate internally until the model emits a final answer or an optional stop condition is met.
  • Workflows Overview: Workflows let you define complex sequences of tasks using clear, structured steps rather than relying on the reasoning of a single agent.
  • Memory Overview: Memory gives your agent coherence across interactions and allows it to improve over time by retaining relevant information from past conversations.

Docs

Models

Guides

Reference

Related

The AI Toolkit for TypeScript, from the creators of Next.js.

/llms.txt
136,985 tokens
Developer Tools

Meet the modern standard for public facing documentation. Beautiful out of the box, easy to maintain, and optimized for user engagement.

/llms.txt
5,436 tokens
/llms-full.txt
181,290 tokens
Developer Tools

Web development for the rest of us.

/llms.txt
602 tokens
/llms-full.txt
453,623 tokens
Developer Tools

Search through billions of items for similar matches to any object, in milliseconds. It’s the next generation of search, an API call away.

/llms.txt
15,715 tokens
/llms-full.txt
588,629 tokens
Developer Tools

Build and deploy reliable background jobs with no timeouts and no infrastructure to manage.

/llms.txt
12,202 tokens
/llms-full.txt
387,586 tokens
Developer Tools

Get the simple developer experience of SQLite in production, and scale your multi-tenant backend with unlimited databases.

/llms.txt
10,006 tokens
/llms-full.txt
163,317 tokens
Developer Tools

Upstash is a serverless data platform providing low latency and high scalability for real-time applications.

/llms.txt
52,307 tokens
/llms-full.txt
1,200,134 tokens
Developer Tools

One-click deployments built for teams, tuned for Laravel, loaded with tools and goodies you're going to love.

/llms.txt
565 tokens
/llms-full.txt
11,330 tokens
Developer Tools