Live data from Hacker News

Show HN: Mastra – Open-source JS agent framework, by the developers of Gatsby

github.com

101–110 of 159 posts

Re: Show HN: Mastra – Open-source JS agent framework, by the developers of Gatsby

#101
post #85

I don't want to be that person but there are hundreds of other similar frameworks doing more or less the same thing. Do you know why? Because writing a framework that orchestrates a number of tools with a model is the easy part. In fact, most of the time you don't even need a framework. All of these framework focus on the trivial and you can tell that simply by browsing the examples section. This is like 5% of the wo…

I agree, and it feels like JS is just the wrong runtime for agents. Really languages that can model state in sane ways and have a good concurrency story like Elixir make much more sense. And here’s a fun exercise: ask Claude via Cursor or Perplexity with R1 to create a basic agentic framework for you in your language of choice on top of Instructor.

    > Really languages that can model state in sane ways and have a good concurrency story like Elixir make much more sense.
Can you expand on this? Curious why JS state modelling falls short here and what's wrong with the concurrency model in JS for agents.

Re: Show HN: Mastra – Open-source JS agent framework, by the developers of Gatsby

#105
post #66

Earlier quoted context omitted.

It’s not. It’s on top of AI SDK, which is a popular open source library maintained by Vercel.

So the vercel ai js-sdk is not tied to the vercel platform and is “just” a js library which points to various llms? Is there any promise/plan/etc to keep it that way?

(I work at Vercel) Yes, it will continue to be an MIT-licensed open-source library to simplify building AI apps.

Re: Show HN: Mastra – Open-source JS agent framework, by the developers of Gatsby

#106

Earlier quoted context omitted.

I agree, and it feels like JS is just the wrong runtime for agents. Really languages that can model state in sane ways and have a good concurrency story like Elixir make much more sense. And here’s a fun exercise: ask Claude via Cursor or Perplexity with R1 to create a basic agentic framework for you in your language of choice on top of Instructor.

> Really languages that can model state in sane ways and have a good concurrency story like Elixir make much more sense. Can you expand on this? Curious why JS state modelling falls short here and what's wrong with the concurrency model in JS for agents.

For one, NodeJS doesn’t have concurrency. It’s a single threaded event loop.

Re: Show HN: Mastra – Open-source JS agent framework, by the developers of Gatsby

#107

Very excited about Mastra! We have a number of Agent-ic things we'll be building at ElectricSQL and Mastra looks like a breath of fresh air. Also the team is top-notch — Sam was my co-founder at Gatsby and I worked closely with Shane and Abhi and I have a ton of confidence in their product & engineering abilities.

Why not use Elixir for agents as Electric is already heavily invested? It’s a much better fit than JS.

Gretchen, stop trying to make Elixir happen.

Re: Show HN: Mastra – Open-source JS agent framework, by the developers of Gatsby

#108
post #106

Earlier quoted context omitted.

> Really languages that can model state in sane ways and have a good concurrency story like Elixir make much more sense. Can you expand on this? Curious why JS state modelling falls short here and what's wrong with the concurrency model in JS for agents.

For one, NodeJS doesn’t have concurrency. It’s a single threaded event loop.

It has concurrency with Promise; it doesn't have parallelism.

Re: Show HN: Mastra – Open-source JS agent framework, by the developers of Gatsby

#109
post #85

I don't want to be that person but there are hundreds of other similar frameworks doing more or less the same thing. Do you know why? Because writing a framework that orchestrates a number of tools with a model is the easy part. In fact, most of the time you don't even need a framework. All of these framework focus on the trivial and you can tell that simply by browsing the examples section. This is like 5% of the wo…

I agree, and it feels like JS is just the wrong runtime for agents. Really languages that can model state in sane ways and have a good concurrency story like Elixir make much more sense. And here’s a fun exercise: ask Claude via Cursor or Perplexity with R1 to create a basic agentic framework for you in your language of choice on top of Instructor.

> good concurrency story like Elixir make much more sense

Agree, that's why I've been building this: https://github.com/agentjido/jido

Re: Show HN: Mastra – Open-source JS agent framework, by the developers of Gatsby

#110

By the developers of Gatsby is a minus, not a plus makes me think this is going to be the next abandonware.

Same experience, I had the exact same thought. Was new to react and had to make a website… big mistake, wasted so many hours untangling the regex and hacks keeping together Gatsby over the next few years until that website was retired.
Post reply on HN