All cases

Mastramastra.aiWeb appPackage

How Mastra got its first users and revenue

Mastra dropped an agentic CRM in October 2024 and built a TypeScript agent framework, reaching 300,000 weekly npm downloads by January 2026 and $35M raised after a Hacker News launch and a book giveaway

Mastra is an open-source TypeScript framework for developers building AI agents and applications.

2024-10 → 2026-117 sources
14 of 20 seen in data

Milestones

  1. 2024-10Team started building Mastra.

    «They started building Mastra in October 2024 and got into YC for the January 2025 batch.»Web

  2. 2025-01Mastra joined Y Combinator for the January 2025 batch.

    «it’s a TypeScript-first agent framework that just joined Y Combinator this month.»Web

  3. 2025-02Mastra entered official beta.

    «Excited to announce that Mastra is now officially in beta!»LinkedIn

  4. 2025-08Documentation had 404 or incomplete pages, showing docs were still maturing.

    «The documentation is thorough but still maturing — some pages returned `404` or were incomplete.»Web

  5. 2025-10Raised $13m seed round from 120+ investors

    «We raised a $13m seed round from 120+ of Silicon Valley’s top investors for Mastra, the leading TypeScript agent framework.»LinkedIn

  6. 2025-12Mastra released the 1.0 beta.

    «Released our 1.0 beta.»YouTube

  7. 2026-04Raised a $22M Series A led by Spark Capital.

    «We’re excited to announce today that Mastra has raised a $22M Series A led by Spark Capital to help every developer build agents.»LinkedIn

  8. 2026-06Mastra reported it was hit by a supply-chain attack.

    «INCIDENT REPORT: 2026-06-16: Mastra hit by supply-chain attack»Web

  9. 2026-11GitHub repository had 29,813 stars.

    «29,813 Stars»Directory

The story in short

In October 2024, three people who had helped build Gatsby were working on an agentic CRM. They pulled the plug on it and started building the framework underneath it, a TypeScript toolkit for AI agents that they called Mastra. One of them later said they had realized that framework was the more important product.

Fifteen months after that decision, Mastra shipped a stable 1.0 with more than 300,000 weekly npm downloads and more than 19,400 GitHub stars. By late November 2026 the repository sat at about 29,800 stars.

The company raised $35M in total across a seed round and a Series A. It launched its platform in April 2026, with a free Starter tier and a $250-a-month Teams plan. The records do not establish when customer revenue began or include a revenue figure from the company or a payment tracker.

Every move, month by month

  1. 2024-10Launches and directories

    Published the core framework package on npm.

  2. 2024-12Social posts

    Introduced Mastra on LinkedIn as a TypeScript AI framework, linking to the website and repository.

  3. 2025-02Communities

    Sam Bhagwat launched Mastra on Hacker News as an open-source JavaScript agent framework from the Gatsby developers.

  4. 2025-02Social posts

    Published a YouTube demo showing agents, tools, memory, evals and deployment.

  5. 2025-03Virality

    Brought the educational book Principles of Building AI Agents to YC Demo Day and made a digital edition available.

  6. 2025-05Partners

    Couchbase published a tutorial combining Mastra multi-agent workflows with Couchbase Vector Search.

  7. 2025-07Search

    Shipped installable agent templates, with six live at launch.

  8. 2025-09Social posts

    Promoted the agent-building book through LinkedIn posts.

  9. 2025-12Outreach

    Co-founder Shane Thomas personally emailed people using Mastra.

  10. 2026-01Launches and directories

    Launched stable Mastra 1.0 on Product Hunt.

  11. 2026-01Communities

    Sam posted the Mastra 1.0 release to Hacker News.

  12. 2026-02Launches and directories

    Launched Observational Memory by Mastra on Product Hunt.

  13. 2026-02Launches and directories

    Launched the Mastra Code coding agent on Product Hunt.

  14. 2026-05Ads

    Ran three recorded Meta video ads associated with mastra.ai.

  15. 2026-07Search

    Expanded the site with article, documentation and tool-related pages.

  16. 2026-09Launches and directories

    Launched Mastra Factory on Product Hunt as an agent-powered path from issue to production.

  17. 2026-09Ads

    Ran image and text ads for mastra.ai through Kepler Software, Inc.

  18. 2026-10Social posts

    Posted and replied about Mastra on X.

  19. 2026-11Foundation

    Introduced a $25 Starter plan between the free plan and the $250 Team tier, while changing usage allowances and server sizing.

  20. Date unknownNewsletter

    Placed a newsletter or subscribe form on the homepage.

Growth map

Channels on the right, the foundation on the left. The mark shows what proves a move.

seen in datafounder's words onlycontradicted by data

The story by chapter

Move by move

Which channels paid off

Takeaways

Get a map like this for your product

Describe your product. grow8 finds products like yours, such as Mastra, and lays their moves out on your map.

No signup needed

More like this