Open-source TypeScript framework and hosted platform for building AI agents: workflows, agents, RAG, memory, evals, tracing, observability and one-click deployment.

That TypeScript — not Python — becomes the default for building AI agents, and an open-source framework with workflows, memory, evals and tracing wins production.

$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.

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.

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.

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.

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.

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.

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.

FOLLOW THE EVIDENCE

The sources

  1. Announcing our $13m seed round from YC, pg, Gradient, Amjad, Guillermo, Balaji, and 120+ others Mastra · mastra.ai ·
  2. We raised a $22M Series A to help every developer build agents Mastra · mastra.ai ·
  3. Launch YC: Mastra — the open-source JavaScript framework for building agents Y Combinator · ycombinator.com
  4. Mastra vs OpenCode (2026): Which is Better? The AI Agent Index · theaiagentindex.com ·
  5. mastra-ai/mastra GitHub · github.com