close
Live Workshop

Ship more
capable agents

Mastra is the modern TypeScript framework for AI-powered applications and agents.

BERJAYABERJAYA
Observability platform

Productionize and test

Tune context. Improve recall.
Tweak until your agents achieve human-level accuracy.

Define custom evals
Track performance of your agents over time

BERJAYA

Evaluate agent output using model-graded, rule-based, and statistical methods

BERJAYA

Process inputs/outputs so you can prevent prompt injection and sanitize responses

BERJAYA

Trace agent calls and token usage, with your o11y platform

BERJAYA

Secure access to agent endpoints using your identity system

BERJAYA

Built-in observability
View traces and logs for your agents

Deployment platform

Deploy and scale

Expose your agents as APIs, or bundle them with your app.
With Mastra, your agents are part of your infrastructure.

BERJAYA

Manage deployments
Control your source code and infrastructure

BERJAYA

Integrates with your framework or server: Next.js, Express, Hono, and more...

BERJAYA

Control your source code. Mastra is fully open-source under the Apache 2.0 license

Flexible architecture
Deploy Mastra agents wherever you're hosting your app, or as a standalone service

Frequently asked questions