The Macro: The AI Agent Framework War Is Getting Crowded
Every developer tools company is racing to become the default way to build AI agents. LangChain got there first in Python and has the mindshare to show for it. CrewAI carved out a niche in multi-agent orchestration. Vercel’s AI SDK handles the frontend-to-model connection for Next.js developers. AutoGen came out of Microsoft Research with a focus on multi-agent conversation patterns. The space is crowded and getting more crowded every month.
But here is the thing. Most of these frameworks are either Python-first or framework-specific. If you are a TypeScript developer who does not use Next.js and does not want to learn Python, your options have been limited. You could use LangChain.js, which is a port of the Python library and often feels like it. You could use Vercel’s AI SDK, which is excellent but tightly coupled to their deployment platform. Or you could roll your own, which is what a lot of teams end up doing, and that is how you get six months of technical debt in two weeks.
The TypeScript AI framework space is genuinely underserved relative to Python. JavaScript and TypeScript still power more production web applications than any other language family. The developers building those applications are the ones most likely to integrate AI into existing products rather than building standalone AI tools. They need a framework that feels native to their stack, not a Python library wearing a TypeScript costume.
The question is whether “TypeScript-native AI framework” is a durable category or a transitional one. As models get smarter and APIs get simpler, do developers need less framework or more? I think the answer is more, because the hard problems in AI applications are not calling the model. The hard problems are orchestration, evaluation, memory, and reliability. Those problems get harder as you move from demos to production.
The Micro: The Gatsby Team’s Second Act
Mastra is an open-source TypeScript framework for building AI agents and applications. It comes with RAG, workflows, agent orchestration, evaluations, guardrails, and integrations out of the box. The project has 22,000 stars on GitHub, which is a strong signal of developer interest. It is Apache 2.0 licensed, so there are no surprises waiting in the license file.
The founding team is the reason I pay attention. Sam Bhagwat is the CEO. He co-founded Gatsby.js, scaled it to $5 million ARR, and sold it to Netlify. Before that, he was an early engineer at Zenefits (YC W13) and Plangrid (YC W12). Stanford 2011. He has done this before and knows what it takes to build a developer tools company from zero to acquisition.
Abhi Aiyer is the CTO. He was a principal engineer at Netlify and led a 100-person engineering organization. He built the Gatsby Cloud infrastructure that managed thousands of build nodes. Shane Thomas is the Chief Product Officer. He was head of product at Gatsby and has 15 years in open source. This is a team that built one of the most popular JavaScript frameworks of the last decade. They understand developer adoption, open-source community building, and the long slog from “cool project” to “production dependency.”
The product itself hits the right feature set. The Dev Studio gives you a local development server with an interactive playground for testing agents. Built-in observability means you get tracing and logging without bolting on a third-party tool. The eval system supports model-graded, rule-based, and statistical evaluation methods. Guardrails handle prompt injection prevention and output sanitization. It deploys as APIs or bundles with your existing application, and it works with Next.js, Express, and Hono.
The company came through Y Combinator. They are building in the open, which is the right approach for developer tools. The GitHub activity is healthy and the documentation is solid.
The Verdict
Mastra is one of the stronger developer tools plays I have seen in the AI agent space. The team has a proven track record in exactly this kind of product. They built Gatsby, which means they understand the mechanics of open-source adoption, the transition from free to paid, and the patience required to build a developer community that sticks around.
The risk is the same risk every open-source developer tools company faces: converting stars into revenue. 22,000 GitHub stars is impressive, but GitHub stars do not pay salaries. The monetization path probably involves a hosted platform, enterprise features, or both. LangChain is navigating this with LangSmith. Vercel does it with their deployment platform. Mastra will need to find their version of that conversion engine.
Thirty days out, I want to see the weekly active developer count, not just stars. Sixty days, I want to know if teams are deploying Mastra agents to production or just experimenting in the playground. Ninety days, the question is whether they have enterprise design partners who are paying or about to pay. The framework is good. The team is proven. The market is real. Now they need to turn all of that into a business, which is the part that killed a hundred other open-source developer tools companies before them.