All open source
Open SourceFramework14k

Mastra

A TypeScript framework for building agents, workflows, and RAG.

Mastra is an open-source TypeScript framework for building AI applications with agents, deterministic workflows, RAG, evals, and memory in one toolkit. Built by part of the Gatsby team, it offers a unified provider interface via the Vercel AI SDK, graph-based workflow control flow, and local dev tooling. It is notable as a batteries-included, TypeScript-native alternative to Python agent frameworks.

Repository

mastra-ai/mastra

Language

TypeScript

What you'd build with it

  • Building production agents and tool-using assistants in TypeScript
  • Composing deterministic, branching agent workflows with suspend and resume
  • Adding RAG, memory, and evals to a Node or Next.js application

Tags

typescriptagentsworkflowsrag