Skip to main content

Mastra platform

The Mastra platform provides three products for deploying, monitoring, and managing AI applications built with the Mastra framework:

  • Observability: The baseline product for every platform project, with searchable traces, logs, and metrics across Mastra projects and deploys
  • Studio: A hosted visual environment for testing agents, running workflows, and inspecting traces. Starting with Studio also gives you Observability.
  • Server: A production deployment target that runs your Mastra application as an API server. Starting with Server also gives you Observability.

Get started
Direct link to Get started

Choose the path that matches what you want to do:

  • Add hosted observability: Use Observability to collect searchable traces, logs, and metrics across projects and deploys. Start here if you want monitoring without deploying Studio or Server first.
  • Deploy Studio: Use Studio to host the visual development environment for your team. Start here if you want a shared UI for testing agents, running workflows, and inspecting traces.
  • Deploy Server: Use Server to run your Mastra application as a production API server. Start here when you’re ready to serve agents, tools, and workflows from the cloud.

Key Concepts
Direct link to Key Concepts

Projects are the shared parent entity across all products. A single project can have Observability, a Studio deployment, and a Server deployment. Projects belong to an Organization, which is the multi-tenant container for your team.

Your Mastra application is built from three building blocks:

  • Agents: AI agents that can use tools, follow instructions, and maintain context
  • Tools: Callable functions and integrations available to your agents
  • Workflows: Multi-step orchestration pipelines that coordinate agents and tools

Going to production
Direct link to Going to production

Develop your project locally with mastra dev and open Studio to test your agents, workflows, and tools in a visual environment.

Once you're ready to deploy your application to production, use mastra studio deploy and mastra server deploy to push your application to the cloud.

Follow the Studio on Mastra platform and Server on Mastra platform docs for step-by-step instructions.

If you host your Mastra application on your own infrastructure, you can still send observability data to Mastra platform using the MastraPlatformExporter.

On this page