Mastra Cloud
Mastra Cloud  is a platform for deploying, managing, monitoring, and debugging Mastra applications. When you deploy your application, Mastra Cloud exposes your agents, tools, and workflows as REST API endpoints.
Mastra Cloud is currently in public beta. Features, APIs, and UIs may change as development continues.
Platform features
Deploy and manage your applications with automated builds, organized projects, and no additional configuration.
Key features:
Mastra Cloud supports zero-config deployment, continuous integration with GitHub, and atomic deployments that package agents, tools, and workflows together.
Project Dashboard
Monitor and debug your applications with detailed output logs, deployment state, and interactive tools.
Key features:
The Project Dashboard gives you an overview of your application’s status and deployments, with access to logs and a built-in playground for testing agents and workflows.
Project structure
Use a standard Mastra project structure for proper detection and deployment.
- agent-name.ts
- tool-name.ts
- workflow-name.ts
- index.ts
- package.json
Mastra Cloud scans your repository for:
- Agents: Defined using:
new Agent({...})
- Tools: Defined using:
createTool({...})
- Workflows: Defined using:
createWorkflow({...})
- Steps: Defined using:
createStep({...})
- Environment Variables: API keys and configuration variables
Technical implementation
Mastra Cloud is purpose-built for Mastra agents, tools, and workflows. It handles long-running requests, records detailed traces for every execution, and includes built-in support for evals.