Questions? hello@viberation.devGet supportBlogDocsChangelog
Get started

A TypeScript framework for agents, workflows and RAG.

Built for JavaScript and TypeScript developers who want to add agents to a web app. Includes workflows, memory, evals and a local studio for testing. The core is open source under Apache 2.0.

Key info

Pricing
Open source
Category
Agents
Best for
Expert
What it is
A framework: a code library for agents and AI workflows
Do you need to code?
Yes, in TypeScript
Cost
Free and open source (Apache 2.0); optional hosted cloud
Models
Many providers
Install
npm create mastra@latest
Good for
Adding agents to a JavaScript or Next.js app

Related reading

  • Fundamentals

    Row level security is the security boundary

    If your database rows are protected by a check in your application code, they are not protected. Anything holding a key can talk to the database directly, an…

    Expert

More in Agents

  • Assign a GitHub issue to Copilot and get a pull request back.

    Agents
  • Teams of role-based agents that work together.

    Agents
  • A cloud agent you assign tickets to, like a junior engineer.

    Agents
  • Google's Agent Development Kit, in four languages.

    Agents