{"data":{"slug":"mastra","name":"Mastra","tagline":"TypeScript agent runtime with typed agents and workflows","category":"agents","categoryName":"AI Agents","url":"https://mastra.ai","github":null,"pricing":"open-source","hook":"Mastra is the TypeScript runtime for building typed agents, workflows, and evals.","whatsGood":"Type-safe agent development in TypeScript. Define agents with proper types, compose them into workflows, run evals to measure quality. The framework approach means structure and reusability. Good fit for teams building agent systems rather than one-off scripts.","theCatch":"Framework, not a coding CLI. Mastra helps you build agents; it is not an agent itself. Learning curve for the runtime concepts. You are committing to their abstractions.","verdict":"TypeScript agent framework for teams building agent systems.","addedAt":"2026-08-19","featured":false,"domain":"AI Agents","subSpecialty":"Orchestration","capabilities":["typescript","workflows"],"surfaces":["Self-host"],"ecosystem":["Node.js"],"licenseModel":"OSS/MIT","githubStars":null},"related":[{"slug":"claude-code","name":"Claude Code","tagline":"Terminal-first coding agent with deep repository context"},{"slug":"cursor","name":"Cursor","tagline":"The AI-first code editor that understands your codebase"},{"slug":"devin","name":"Devin","tagline":"Autonomous AI engineer for defined engineering tasks"},{"slug":"stagehand","name":"Stagehand","tagline":"AI-native browser automation that mixes code and natural language"},{"slug":"browser-use","name":"Browser Use","tagline":"Open-source framework for LLM-driven browser agents"}],"links":{"self":"/api/gems/mastra","html":"/gems/mastra","markdown":"/gems/mastra.md","category":"/api/gems?category=agents","categoryPage":"/stacks/agents"}}