Better HN
topnewbestaskshowjobs
Log inSign up

calcsam

2,823 karma · joined Jun 4, 2013 (13y ago) · 493 submissions

now: co-founder/ceo at mastra.ai prev: co-founder @ gatsby.

sam _at_ mastra.ai

Submissions

comment 5d ago · link · parent

Thanks for sharing!

comment 6d ago · link · parent

Thanks for watching the video -- assume you're referring to the one on the blog post? https://mastra.ai/blog/announcing-new-capabilities-in-mastra...

comment 6d ago · link · parent

we've been doing open source for ~10yrs so maybe we have a bit of nostalgia for the way things have been?

also there are a few folks on our team who we got to know because they showed up in our repo and started contributing, and maybe that sort of serendipity won't happen in the future

comment 6d ago · link · parent

hmm, last year people were mostly building in-app assistants but now it's a much wider variety: ai sres, gtm agents, all kind of internal slack agents, factory type things, healthcare or financial services specific stuff and so on

but it all seems to come down to the same primitives around durable agents and workflows, memory, knowledge, sandboxes, filesystems.

the one exception is actually factory, it's a bit of a departure from what we've done (since it's application on top of mastra primitives vs the primitives themselves).

comment 6d ago · link · parent

Unfortunately I think so. Folks like sindresorhus that also closed their repos had very similar reasoning to ours. The number of PRs of marginal value has skyrocketed at the same time as it's become much easier to do those quickly yourself.

6.

Why don't centre-pivot irrigation fields use hexagonal packing?(old.reddit.com ↗)

3 points · by calcsam · 7mo ago · discuss

7.

How to Structure Projects for AI Agents and LLMs(mastra.ai ↗)

3 points · by calcsam · 9mo ago · discuss

comment 10mo ago · link · parent

Those are both good options. You should try us all out and see which one you like best!

comment 10mo ago · link · parent

Our cloud platform is in beta so it's free right now!

comment 10mo ago · link · parent

You found the Easter egg!

comment 10mo ago · link · parent

thanks!

comment 10mo ago · link · parent

Thanks for the feedback. We hear from a lot of devs with fond memories of Gatsby but if it cuts the opposite way for you that's also fair!

Most of us spent a lot of the last decade building Gatsby so it's sort of a personal identity/pride thing for us more than a marketing thing. But maybe we need to keep our identity small! Either way, thanks for saying something, worth thinking about.

comment 10mo ago · link · parent

Cloud-hosted observability + studio features (and self-hosted with EE bits).

You can take a look at the cloud platform at cloud.mastra.ai, it's in beta currently

It's the same play we did at Gatsby to get to several million in ARR in a couple of years

comment 10mo ago · link · parent

Re: Tanstack AI, really depends on adoption. We've known Tanner since his react-static days and if it takes off we'll def work together.

Re: Mastra cloud -- this is basically hosted services, eg observability, hosted studio, hosted serverless deployments, as distinct from the framework.

With server adapters you can now deploy your studio in your infra. We're going to pull multi-project / multi-user Mastra cloud features into a Mastra admin feature so you can run these locally or deploy them on your infra as well (with EE licensing for stuff like RBAC). Stay tuned here.

comment 10mo ago · link · parent

ah crap, thanks for heads-up. looking into it.

comment 10mo ago · link · parent

Thank you for using us, and for the feedback!

Do you have code snippets you can share about how you wanted to write the rules? Want to understand desired grammar / syntax better.

comment 10mo ago · link · parent

Have a ton of respect for the AI SDK team. Initially we only used AI SDK model routing, but now we also have our own built-in model routing as well.

I see each of us having different architectures. AI SDK is more low-level, and Mastra is more integrated with storage powering our studio, evals, memory, workflow suspend/resume etc.

comment 10mo ago · link · parent

Thank you! We have an incredible designer and we love obsessing about this stuff.

comment 10mo ago · link · parent

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

comment 10mo ago · link · parent

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

comment 10mo ago · link · parent

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.

comment 10mo ago · link · parent

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

comment 10mo ago · link · parent

LOL thanks swyx. Yeah we realized although we _could_ fight that war again...it would be better for everyone if we didn't...

comment 10mo ago · link · parent

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.

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.

comment 10mo ago · link · parent

I mean we're framework guys so I would agree!

comment 10mo ago · link · parent

Thanks! And of course hope you try Mastra out when you do.

comment 10mo ago · link · parent

Thanks! That's a lot of why we built Mastra. We wanted something that felt like it was made for us.

comment 10mo ago · link · parent

You should use whatever framework you feel like has the best DX / fits your stack best!

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.

comment 10mo ago · link · parent

Thanks, great to hear!

comment 10mo ago · link · parent

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.
12345
17