> 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.<p><i>shudders in vietnam war flashbacks</i> congrats on launch guys!!!<p>for those who want an independent third party endorsement, here's Brex CTO talking about Mastra in their AI engineering stack <a href="http://latent.space/p/brex" rel="nofollow">http://latent.space/p/brex</a>
LOL thanks swyx. Yeah we realized although we _could_ fight that war again...it would be better for everyone if we didn't...
And I actually hadn't seen that Brex piece so thanks for sharing!!
I've been building with Mastra for a couple of weeks now and loving it, so congratulations on reaching 1.0!<p>It's built on top of Vercel AI elements/SDK and it seems to me that was a good decision.<p>My mental heuristic is:<p>Vercel AI SDK = library, low level<p>Mastra = framework<p>Then Vercel AI Elements gives you an optional pre built UI.<p>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?<p><a href="https://vercel.com/blog/ai-sdk-6" rel="nofollow">https://vercel.com/blog/ai-sdk-6</a>
We use typescript for all our entire stack and it's super dope to see a production-grade framework (with no vendor lock in) launch!
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.<p>I wonder: Are there any large general purpose agent harnesses developed using Mastra? From what I can tell OpenCode chose not to use it.<p>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.
When Langchain was the only option rolling your own made a lot of sense!<p>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.<p>The Latent Space article swyx linked earlier includes a quote from the Brex CTO talking about how they did that.
Congratulations on the launch. The landing page looks dope.
Congrats on the launch ! Someone told me that you have an excellent product but I don't have a need for it yet.
Why should I use this over say Strands Agents [1] or Spring AI [2]?<p>[1]: <a href="https://strandsagents.com" rel="nofollow">https://strandsagents.com</a><p>[2]: <a href="https://spring.io/projects/spring-ai" rel="nofollow">https://spring.io/projects/spring-ai</a>
You should use whatever framework you feel like has the best DX / fits your stack best!<p>We're TypeScript-first, TypeScript-only so a lot of the teams who use us are full-stack TypeScript devs and want an agent framework that feels TS-native, easy to use, and feature-complete.
seems non of these are typescript-based? Strand appears to have a typescript sdk available but not natively ts.
Language, although an important factor, should not be the only factor to decide using a tool. I'm curious is there something unique Mastra is bringing to the table, compared to other alternatives.
Been using Mastra for some side projects for months and it's just phenomenal. Congrats to the team!
> a `.network()` method that turns any agent into a routing agent<p>say more pls?
We've always supported letting folks specify their agent hierarchy, eg agent supervisor, workflow orchestrator, mix and match, etc.<p>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!<p><a href="https://mastra.ai/docs/agents/networks">https://mastra.ai/docs/agents/networks</a>
From punch cards to assembly, to C, to modern languages and web frameworks, each generation raised the abstraction. Agentic frameworks are the next one.
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.<p>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
Offtopic but how much is AI used these days for generating code at your place? Curious because we see a major shift last months where almost everything is generated. Still human checked and human quality gates. Big difference compared to last year.
There's the normal stuff you'd expect -- we're all Opus-pilled, use Claude Code, a PR review bot etc. But it's been especially helpful with highly templatized code like our storage adapters, we already have 10-15 working examples which makes the n+1st adapter almost trivial to write.
You’re not locked into a model, but you likely are locked in to a platform. This DX and convenience just shifts within the stack where the lock in occurs. Not criticizing - just a choice people should be conscious of.<p>Another useful question to ask: since you’re likely using 1 of 3 frontier models anyway, do you believe Claude Agent SDK will increasingly become the workflow and runtime of agentic work? Or if not Claude itself, will that set the pattern for how the work is executed? If you do, why use a wrapper?
Re: lessons from coding agents, we're building some of the key abstractions like sandboxes, filesystem, skills/knowledge as Mastra primitives in over the next month.<p>For any agent you're shipped to production though you probably want a harness that's open-source so you more fully control / can customize the experience.
I think that’s fair, totally, but I also think a Skill would be considered a primitive in and of itself by Anthropic. So to me it’s still wrapping an open primitive. Anyway, trade offs.