Live data from Hacker News

Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs

github.com

21–30 of 72 posts

Re: Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs

#21
post #17

> That last one took a bit of time, we went down the ESM/CJS bundling rabbithole, ran into lots of monorepo issues, and ultimately opted for a more explicit approach. shudders in vietnam war flashbacks congrats on launch guys!!! for those who want an independent third party endorsement, here's Brex CTO talking about Mastra in their AI engineering stack http://latent.space/p/brex

And I actually hadn't seen that Brex piece so thanks for sharing!!

Re: Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs

#22
Congratulations! I’m a fan of the publicity work and general out-of-the-box DX! That stuff matters a lot and I’m happy you’re aware.

I wonder: Are there any large general purpose agent harnesses developed using Mastra? From what I can tell OpenCode chose not to use it.

A lot of people on here repeat that rolling your own is more powerful than using Langchain or other frameworks and I wonder how Mastra relates to this sentiment.

Re: Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs

#25

Congratulations! I’m a fan of the publicity work and general out-of-the-box DX! That stuff matters a lot and I’m happy you’re aware. I wonder: Are there any large general purpose agent harnesses developed using Mastra? From what I can tell OpenCode chose not to use it. A lot of people on here repeat that rolling your own is more powerful than using Langchain or other frameworks and I wonder how Mastra relates to this…

When Langchain was the only option rolling your own made a lot of sense!

These days we see things going the other way, where teams that started rolling their own shift over to Mastra so they can focus on the agent vs having to maintain an internal framework.

The Latent Space article swyx linked earlier includes a quote from the Brex CTO talking about how they did that.

Re: Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs

#26
post #24

So the ultimate real life use case of this is having a bubble on your site that you click to chat with a bot?! Most users prefer to chat with an actual human being 99% of the times or immediately ask the bot to chat with one.

Less frequently sites and more frequently a SaaS app, for example Sanity released a content agent in their CMS, Factorial released an agent inside their HR/payroll product.

But tons of other use cases too, eg dev teams at Workday and PayPal have built an agentic SRE to triage their alerts, etc etc

Re: Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs

#27
post #23

> a `.network()` method that turns any agent into a routing agent say more pls?

We've always supported letting folks specify their agent hierarchy, eg agent supervisor, workflow orchestrator, mix and match, etc.

But people kept asking us for a multi-agent primitive out of the box so we shipped `agent.network()`, which is basically dynamic hierarchy decided at runtime, pass in an array of workflows and agents to the routing agent and let it decide what to do, how long to execute for, etc!

https://mastra.ai/docs/agents/networks

Re: Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs

#29
I've been building with Mastra for a couple of weeks now and loving it, so congratulations on reaching 1.0!

It's built on top of Vercel AI elements/SDK and it seems to me that was a good decision.

My mental heuristic is:

Vercel AI SDK = library, low level

Mastra = framework

Then Vercel AI Elements gives you an optional pre built UI.

However, I read the blog post for the upcoming AI SDK 6.0 release last week, and it seems like it's shifting more towards being a framework as well. What are your thoughts on this? Are these two tools going to align further in the future?

https://vercel.com/blog/ai-sdk-6

Re: Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs

#30

I've been building with Mastra for a couple of weeks now and loving it, so congratulations on reaching 1.0! It's built on top of Vercel AI elements/SDK and it seems to me that was a good decision. My mental heuristic is: Vercel AI SDK = library, low level Mastra = framework Then Vercel AI Elements gives you an optional pre built UI. However, I read the blog post for the upcoming AI SDK 6.0 release last week, and it s…

Never ask a woman her age, a man his salary, and an agent framework developer his long term plans
Post reply on HN