← Back to search

Mastra

The Javascript framework for building AI agents, from the Gatsby devs

Y CombinatorWinter 2025ActiveB2BEngineering, Product and DesignArtificial IntelligenceDeveloper ToolsOpen SourceAI

What they do

Problem

Building production-ready AI agent applications is complex, requiring robust workflows, knowledge integration, memory/tooling, and quality evaluation.

Solution

Mastra is an open-source TypeScript/JavaScript framework providing AI primitives (agents, workflows, RAG, evals) to build and deploy production AI applications on any cloud.

Who it's for

Product developers and engineering teams building AI-powered applications and agents.

Founders

Sam Bhagwat
Founder

Founder/CEO of Mastra. Spent last ~8yrs as cofounder of Gatsby.js, an open-source React website framework, scaled to $5M ARR, sold to Netlify. Eng <20 at Zenefits (W13) and Plangrid (W12). Spent two years knocking doors. Stanford '11.

Abhi Aiyer
Founder

Founder/CTO of Mastra. Principal eng & lead of >100 person eng org at Netlify. Built Gatsby Cloud infra that ran 10s of thousands of build nodes, served billions of files, and 100s of TB of monthly bandwidth.

Shane Thomas
Founder

Founder/CPO of Mastra. Prev: built Audiofeed (AI podcasting). Staff eng / head of product @ Gatsby. 15+ years in open source. State wrestling champion.

Company timeline

Similar startups