Companies / Startup

Mastra

San Francisco startup behind Mastra, the open-source TypeScript agent framework, founded by the creators of Gatsby.

HQ San Francisco, United StatesFounded 2024Founders Sam Bhagwat, Abhi Aiyer, Shane Thomas

Overview

Mastra (legal entity Kepler Software, Inc.) was founded in 2024 by Sam Bhagwat, Abhi Aiyer and Shane Thomas, who previously built the Gatsby web framework. It went through Y Combinator's Winter 2025 batch, released Mastra 1.0 in January 2026, and in April 2026 raised a $22M Series A led by Spark Capital while launching a commercial platform (Studio, Server and a Memory Gateway) around the open-source framework.

What they build

  • Mastraopen-source

    TypeScript framework for agents, workflows, memory, RAG and evals.

  • Commercial hosting, observability and memory services for Mastra apps.

In the agent stack

Milestones

  1. Raised a $22M Series A led by Spark Capital, bringing total funding to $35M. (x.com)
  2. Released Mastra 1.0. (mastra.ai)
  3. Announced a $13M seed round from YC and more than 120 investors. (mastra.ai)
  4. Relicensed the framework from Elastic License 2.0 to Apache 2.0. (mastra.ai)