Mastra
Trace Mastra AI agent workflows with Respan.
Set up Respan
- Sign up — Create an account at platform.respan.ai
- Create an API key — Generate one on the API keys page
- Add credits or a provider key — Add credits on the Credits page or connect your own provider key on the Integrations page
Use AI
Add the Docs MCP to your AI coding tool to get help building with Respan. No API key needed.
What is Mastra?
Mastra is a TypeScript framework for building AI agents and workflows. It provides structured agent orchestration, tool management, and built-in telemetry via OpenTelemetry.
Check
Example project: GitHub Link
Setup
Configuration
Mastra uses the RespanExporter from @respan/exporter-vercel. See the Vercel Exporter SDK reference for exporter configuration.
Run the Mastra development playground to test your agent: