Comment by _pdp_

Comment by _pdp_ 5 months ago

18 replies

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 work. The developer needs to fill the other 95% which involves a lot more things that are strictly outside of scope of the framework.

calcsam 5 months ago

Some people don't like frameworks. Some people do. We have a little bit of experience building frameworks, so we figured we'd build a good one.

incanspyder 5 months ago

Couldn't agree more. This also looks mostly like a Typescript "port" of Langgraph, and I say "port" because Langgraph has a TS framework already.

fsndz 5 months ago

True. That's the reason I see a lot of people dropping similar frameworks like LangChain recently: https://medium.com/thoughts-on-machine-learning/drop-langcha...

  • jerrygoyal 5 months ago

    i was using vercel ai sdk for my production app and it was such a bad experience that I eventually went with native implementation and tbh it was not much of work thanks to cursor. problems i faced: too many bugs (just browse their github repo to get an idea), the UI side also had suboptimal performance based on how they implemented hooks.

    • ilrwbwrkhv 5 months ago

      vercel's whole shtick is to make money off of dumb js devs who do not know better. i think they pay far too much attention on how things look compared to how things work. but hey, they made millions, possibly billions off of those js devs so who is to blame them.

cpursley 5 months ago

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.

  • mikehostetler 5 months ago

    > good concurrency story like Elixir make much more sense

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

    • MattDaEskimo 5 months ago

      Call me an elixir virgin until 5 minutes ago. This language from a quick glance seems perfect for agent orchestration.

      Project looks great, will follow & learn.

      • cpursley 5 months ago

        It's less about the language syntax and more about the capabilities of the underlying Erlang runtime. There's also Gleam on top of Erlang if you like stronger typing (gleam.run).

  • CharlieDigital 5 months ago

        > 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.
    • dartos 5 months ago

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

      • CharlieDigital 5 months ago

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

fullstackwife 5 months ago

You could describe all frontend JS frameworks the same way: you spend 95% of time on content and mechanics of your webapp, while the framework provides the easy 5%.

  • chipgap98 5 months ago

    I think most JS frameworks save more than 5% of the effort for developers compared to writing raw JS. Especially when you include the ecosystem around those frameworks