Skip to main content

Why Mastra

Decision

Use Mastra for TypeScript-based agent definitions, tools, workflows, and development UI/API patterns.

Context

Devman needs a framework that can express agents as software components rather than one-off prompts. Mastra gives a structured place for models, tools, workflows, and storage integrations.

Consequences

  • Agent behavior should be represented in code and reviewed like application logic.
  • Framework-supported commands and configuration should be preferred.
  • Observability and evaluation remain required for production use.