The archive · Developer & Business Tools · Product decision · 2024–2026
Mastra's TypeScript agent-framework bet: GitHub viral, $13M seed, $22M Series A
Ex-Gatsby team builds an open-source TypeScript framework for AI agents, goes viral on GitHub, then raises $35M.
Mastra
What the business is
Open-source TypeScript framework and hosted platform for building AI agents: workflows, agents, RAG, memory, evals, tracing, observability and one-click deployment.
Starting capital:$13M seed announced Oct 8, 2025 from YC, Paul Graham, Gradient Ventures and 120+ founders and funds; $22M Series A led by Spark Capital announced Apr 9, 2026 — $35M total.
How it started
After a weekend NYC AI hackathon in October 2024, Gatsby co-founder Sam Bhagwat and core teammates Shane and Abhi concluded the tooling for building agents 'just sucked' and decided to build it themselves. They joined YC's Winter 2025 batch, and by mid-February the project was taking off: it went viral on Hacker News and GitHub, going from 1,500 to 7,500 stars in a week.
What happened
Mastra raised a $13M seed announced October 8, 2025, with YC, Paul Graham, Gradient Ventures and 120+ investors, and was called the third-fastest-growing JavaScript framework ever by NPM downloads. Replit's Agent 3, SoftBank, Adobe, PayPal, Elastic and Docker adopted it; Marsh McLennan's agentic search reached 100k+ daily users. Mastra 1.0 shipped January 20, 2026, and on April 9, 2026 the company announced a $22M Series A led by Spark Capital (total $35M) plus a paid platform: Studio, Server and Memory Gateway.
How it ended up
Scaling: 27.6k GitHub stars by August 2026, Mastra 1.0 in January 2026, $35M raised, and a commercial platform layered on an Apache-2.0 framework used by Replit, SoftBank, Brex, Indeed, Workday and Salesforce.
Background
Mastra is an open-source TypeScript framework for building AI agents, created by the core team behind Gatsby. After a weekend AI hackathon in October 2024, co-founder Sam Bhagwat and teammates Shane and Abhi concluded that the tooling for building agents 'just sucked' and decided to build the framework themselves, joining Y Combinator's Winter 2025 batch.
The bet was that TypeScript — not Python — would become the default language for building AI agents, and that open primitives for workflows, agents, memory, evals and tracing would win the production layer. Mastra went viral on Hacker News and GitHub in February 2025, jumping from 1,500 to 7,500 stars in a week, and became the third-fastest-growing JavaScript framework ever by NPM downloads, at about 190k weekly downloads after one year.
In October 2025 Mastra announced a $13M seed from YC, Paul Graham, Gradient Ventures and 120+ investors; in January 2026 it shipped Mastra 1.0, and in April 2026 it announced a $22M Series A led by Spark Capital (total $35M) alongside a paid platform. Teams at Replit, SoftBank, Adobe, PayPal, Brex, Indeed, Marsh McLennan, MongoDB, Workday and Salesforce build with Mastra, which by August 2026 had 27.6k GitHub stars.
What has to be true
- Gatsby's decade of open-source JavaScript gave Mastra instant credibility and a team of known TypeScript experts when it launched.
- Going viral through Hacker News and GitHub (1,500 to 7,500 stars in a week) created distribution before any sales motion existed.
- TypeScript-first positioned Mastra inside the stacks of product developers, landing adopters like Replit, SoftBank and Adobe before Python-heavy rivals.
- A coalition seed round of 120+ investors plus a book distributed in 70k+ physical copies compounded community mindshare.
What can be applied
A trusted open-source team can turn a developer pain point into a movement: go viral through HN and GitHub, make the framework load-bearing, and only then monetize the platform on top.
Aftermath
As of September 2026 Mastra is scaling as an independent company with about 30 people in San Francisco. The framework reached v1.0 in January 2026 under Apache-2.0, and the company launched a paid platform (Mastra Studio, Server, Memory Gateway) in April 2026, followed by Observability, Signals, Harness and Factory releases through the summer. Teams at Replit, SoftBank, Adobe, PayPal, Brex, Indeed, Marsh McLennan, MongoDB, Workday and Salesforce build with it, and total funding stands at $35M.
Sources
- Announcing our $13m seed round from YC, pg, Gradient, Amjad, Guillermo, Balaji, and 120+ others
- We raised a $22M Series A to help every developer build agents
- Launch YC: Mastra — the open-source JavaScript framework for building agents
- Mastra vs OpenCode (2026): Which is Better?
- mastra-ai/mastra
spotted an error? The archive wants to know.
Your turn
You just read one. Describe what you are building, and see who is betting on the same thing.
Free account · 3 free questions · no card