Mastra
Mastra is an all-in-one TypeScript framework for building AI-powered applications and agents, helping JavaScript and TypeScript developers build production-ready AI agents without needing to learn entirely new paradigms.
Founding Story
The founders (Sam Bhagwat, Abhi Aiyer, and Shane Thomas) spent a decade building Gatsby, the popular open-source React framework. In October 2024, while attempting to build sales agents, they became frustrated by the lack of good TypeScript-native tooling for AI agent development. They originally set out to build an AI-powered CRM but quickly pivoted to building better developer tooling when they realized the existing frameworks didn't meet their needs. This led them to create Mastra, applying their decade of experience in open-source JavaScript framework development to the emerging AI agent ecosystem.
Discussions
No discussions yet
Be the first to start a discussion about Mastra
Leadership
Founders
Sam Bhagwat
CEO, Co-founder of Gatsby (2018-2023), Principal Engineer at Netlify (2023), Software Engineer at PlanGrid, Zenefits, Boingo Wireless, CFO at Blueseed, Author of 'Principles of Building AI Agents' and 'Patterns for Building AI Agents'
Abhi Aiyer
CTO, Principal Software Engineer at Netlify (2023-2024), Principal Software Engineer/Tech Lead at Gatsby (2018-2023), Principal Software Engineer at Cornerstone OnDemand and Workpop, CEO of Platform First LLC
Shane Thomas
CPO, Engineering Manager and Staff Software Engineer at Gatsby, previously worked at Netlify and CodeKarate
Executive Team
Sam Bhagwat
CEO
Co-founder of Gatsby, Principal Engineer at Netlify, Author
Abhi Aiyer
CTO
Principal Software Engineer at Netlify and Gatsby
Business Model
Revenue Model
Open-source framework with freemium managed platform. Revenue from API usage, managed hosting platform subscriptions (launching Q1 2026), and custom enterprise support/deployment services.
Pricing Tiers
Open source under Apache 2.0 license. TypeScript framework for agentic development, agent tools, MCP, memory, workflows, orchestration, RAG, evals, vector stores, and datasets.
Observability (structured logs, AI-aware tracing, eval results dashboards), Studio (interactive UI, agent testing, visual workflow configuration), Deployment (GitHub-based deployments, REST endpoints, instant rollbacks, autoscaling). Pricing launches Q1 2026.
Agent lifecycle support (planning, prototyping, workshops), shared Slack support, architecture design meetings, service SLAs, on-prem or private cloud platform deployments, SSO, and RBAC.
Target Markets
- JavaScript and TypeScript developers
- AI application developers
- Enterprise companies
- Startups and YC companies
- Healthcare organizations
- E-commerce platforms
- Conversational agents for customer support and onboarding
- Domain-specific copilots (coding, legal, finance, research)
- Multi-step workflow automations
- Decision-support tools for data analysis
- Support automation
- CAD diagram generation
- SoftBank
- Adobe
- PayPal
- Replit
History & Milestones
Released Mastra 1.0
Joined Y Combinator Winter 2025 batch
Project went viral on Hacker News and GitHub, growing from 1,500 to 7,500 GitHub stars in one week
Raised $13 million seed round from 120+ investors
Published 'Principles of Building AI Agents' book (70,000+ physical copies, 100,000+ digital copies distributed)
2 AI Tools by Mastra
Mastra Code is a terminal-based AI coding agent that connects to 70+ AI models and provides tools for reading, searching, editing, and executing code directly in your terminal.

Mastra
5moA TypeScript-first AI agent framework and cloud platform for building, orchestrating, and observing production AI agents and workflows.
