Product Thumbnail

Mastra

Build AI agents with a modern TypeScript stack

Software Engineering
Developer Tools
Artificial Intelligence

From the team behind Gatsby, Mastra is a framework for building AI-powered apps and agents with workflows, memory, streaming, evals, tracing, and Studio, an interactive UI for dev and testing. Start building: npm create mastra@latest

Top comment

@Mastra (YC W25) just released stable 1.0 for building AI apps and agents.

Initiated 15 months ago by the team behind @Gatsby, the open-source project is growing fast:

  • 300,000+ weekly npm downloads

  • 19,400+ GitHub stars

S/O to @calcsam @smthomas3 @bookercodes and team!

Comment highlights

Sounds interesting. We’re actually building a travel AI app, I’ll show your product to the team…

Tried Mastra recently and was impressed how easy it was to get started, had Claude Code build the initial implementation and was able to quickly test the agent in the Mastra Studio. Very nice!

Congratulations on the launch! There are some early-stage rough edges. Some community users have reported bugs, integration quirks, or challenges (tooling versions, compatibility issues), how will you go about rectifying this issue for a more smooth-sailing experience?

Nice to see the Gatsby team tackling AI workflows. The combo of memory, evals, and tracing in one framework feels very timely. Curious how Mastra compares to rolling this stuff manually.

Mastra is amazing framework and an amazing product!

I learned a lot reading their code and the way their api is laid out. We switched our AI chat over to Mastra in my last company and their let us rip out hundreds of lines of code because Mastra was handling almost everything we needed to build a chat

Been working with Mastra since its inception and been one of the best find for building with AI I've ever had, this team has been really amazing and involved with the community using Mastra

Loved the explainer video, absolutely wonderful! Super excited for your launch. Quick question: can you also create workflow agents like how ADK allows us? Is it possible to configure multi agentic systems using mastra and later on have them sit behind apis that an app can consume?

Wonderful tool! Swapped over from Langchain and haven't regretted it once.

Congrats on the release. I have already used mastra before for my company, and the experience has been great 😄

Really excited for this thanks @fmerian and the @Mastra team for their work! I've been working with multi-model setups for debugging and actually testing the use through SWEBench right now and look forward to working Mastra into this.

Excited to be launching on Product Hunt!

I still remember back to our first Mastra release in October 2024. We had to pull out the playground (now called studio) because it wasn’t ready.

We eventually added it back in and now Mastra studio is one of the things people love most!

Happy we get to share our 1.0 launch with the Product Hunt community.

Congrats! Have been watching and developing early. Cool to see it maturing.

I use Mastra to help automate daily report building for potential investments. I love the strongly typed systems and the studio debugging tools.

Hey, that’s my face on the demo thumbnail!

Stoked to be launching on Product Hunt today. 🔥 For the past 6 months I’ve been learning how to build agents with Mastra and sharing everything on YouTube as I go.

Beyond having everything you need out of the box, what really makes Mastra special is education. We put a lot into docs, guides, videos, workshops, and talks so you can quickly get to the concepts that actually matter. If you're new to (vibe) coding agents, Mastra is a great place to start.

It also helps you ship to production faster. Mastra is built on established patterns and gives you “white spots” to plug in your own agent logic, so you spend more time building and less time wiring things together. If you need RAG, HITL, evals - Mastra has a primitive for it, and they all play nicely together.

The local development environment, Studio, really shows how well everything works together. Run `npm create mastra` to spin up a default weather agent and poke around - it feels playful, and I’m pretty sure you’ll learn something new.

The easiest and most comfortable way to start building products with AI 🤩

The combination of workflows, evals, and tracing in one place stands out. How opinionated is Mastra about how agents are structured?

Hi Product Hunt, we're Sam, Shane, and Abhi, and we're building @Mastra, the open-source JavaScript agent framework. 

We are excited to announce today we released Mastra 1.0 in stable. Mastra lets you create multi-agent workflows, run evals, inspect in a local studio, and emit traces.


We started Mastra about 15 months ago and now it’s grown to over 300k weekly npm downloads and 19.4k GitHub stars. It’s now Apache 2.0 licensed and runs in prod at companies like @Replit, PayPal, and@WorkOS

If you want to learn more:
- GitHub repo: https://github.com/mastra-ai/mastra
- Demo video: https://www.youtube.com/watch?v=1qnmnRICX50
- Our website homepage: https://mastra.ai
- And our docs: https://mastra.ai/docs

You can get started with `npm create mastra@latest`. Excited to share Mastra with everyone here – let us know what you think!