| ▲ | simianwords 9 hours ago | |
I don’t see the point of agent frameworks. Other than durability and checkpoints how does it help me? Claude code already works as an agent that calls tools when necessary so it’s not clear how an abstraction helps here. I have been really confused by langchain and related tech because they seem so bloated without offering me any advantages? I genuinely would like to know what I’m missing. | ||
| ▲ | veunes an hour ago | parent | next [-] | |
You don't need frameworks for one-off scripts, but in prod, you're going to need RAG, proper memory, tools, and orchestration anyway. Without standards you'll just end up writing your own janky framework on top of requests. LangChain is definitely a bloated mess, but it provides structure. The beauty of Elixir is that this structure (OTP) is baked into the language, not duct-taped on the side | ||
| ▲ | d4rkp4ttern 3 hours ago | parent | prev | next [-] | |
I ran into this question when thinking about the approach for a recent project. Yes CLI coding tools are good agents for interactive use, but if you are building a product then you do need an agent abstraction. You could package Claude Code into the product (via agents-sdk or Claude -p) and have it use the API key (with metered billing) but in my case I didn’t find it ergonomic enough for my needs, so I ended up using my own agent framework Langroid for this. https://github.com/langroid/langroid (No it’s not based on that similarly named other framework, it’s a clean, minimal, extensible framework with good dx) | ||
| ▲ | spoiler 4 hours ago | parent | prev | next [-] | |
There's lots of things you could do. Imagine you're making a group chat bot (way more difficult than a 1-1 chat) where people can play social games by giving the LLM game rules. You can have an agent that only manages game state using natural language (controlled by the main LLM). You could have an agent dedicated to remembering important conversation, while not paying attention to chit-chatting | ||
| ▲ | koakuma-chan 3 hours ago | parent | prev [-] | |
100% agreed | ||