RubyLLM is where its at.
Why Ruby? It seems to be a Python framework.
Haystack: Open-Source AI Framework for Production Ready Agents, RAG
11–20 of 28 posts
Re: Haystack: Open-Source AI Framework for Production Ready Agents, RAG
#12Earlier quoted context omitted.
I am very curious about this as well. I'm looking for something that does really well with workflows that require 20 plus steps including a couple while loops and user verifications, but also something simple like a chat bot with access to MCP servers and tools. I need to be able to use Gemini directly, openAI directly, and openrouter at various steps. Right now I am having trouble deciding whether it's better to jus…
You can do all of that with current frameworks depending on how deep you go. The issue people are finding is that one size does not fit all and your specific workflows may be better suited for a lower level.
In this case, given the complexity of LangChain I don't know if it would burn a lot of tokens or confuse the LLMs with context creep due to the large env and tooling compared to something much simpler, or would something much simpler burn a lot of tokens and stutter in execution compared to LangChain, because they have a lot of middleware optimizations that I would have to relearn the hard way? Or are both those strategies off the mark and there is a better tool for the job I am not even thinking about?
It gets a bit expensive in terms of both time/effort and money to experiment on a full workflow rather than specific steps which is quite easy in openrouter, hence my curiosity as to others' experiences.
Re: Haystack: Open-Source AI Framework for Production Ready Agents, RAG
#13Re: Haystack: Open-Source AI Framework for Production Ready Agents, RAG
#14I've experience using it with clients on several small to large projects. It's has advantages and disadvantages, as every framework. Clients choose it because it's EU-based company.
Re: Haystack: Open-Source AI Framework for Production Ready Agents, RAG
#15And no, you probably won't be the first project with that name in whatever market/vertical/milieu that you are working in.
I found half a dozen different "Haystack" products and companies working in AI in 10 seconds of googling.
Please make it stop.
Re: Haystack: Open-Source AI Framework for Production Ready Agents, RAG
#16People who name projects, please think very carefully if you want to use "Haystack" as the name of anything. There are literally thousands upon thousands of both overlapping and completely different products, projects, bands, initiatives, efforts, and so on with that name and all the possible variants you can think of (Haystax, Heystack, Heystax, Hay Stak, and so on). And no, you probably won't be the first project w…
Re: Haystack: Open-Source AI Framework for Production Ready Agents, RAG
#17its good that there is a competition in framework space, but does anyone have holistic view or opinions about their differences and where they shine? For example, * there is LangChain and LangGraph - used a lot, but framework bloat is hated as well * mastra - for typescript projects * pydantic, agno, strands, openai agents sdk, claude agents sdk, and so on and on and on
I've used them a fair bit, and I'm not a huge fan. Only self-hosted, I can't comment on their cloud-SaaS agent runner thing. The observability looks neat, though.
LangChain is nice enough, I appreciate having a unified API across providers. LangGraph is... just not all that much? As in the DAG is too much for a simple agent, but when I start thinking about a large agent and dealing with that flow in their their DAG DSL my head starts to hurt. "Go To Definition" isn't going to help navigate that very well, the state is going to be a lot of Optional's with not a lot of info on when they have a real value at which stages in the DAG.
I had substantial issues with branches in my DAG because the state has to include all possible fields for every step. It gets hard to mentally track all the combinations of fields that will be present or missing depending on the path taken upstream of this node. Do I have RAG results? Not sure, it depends on whether the query includes X, but then later it also depends on whether a tool returns a particular result, in which case it can either be missing, have a single value or have 2 values. Yada yada, in a sufficiently large DAG it gets hard to track those. Things are much cleaner in function world where you can declare "this functions require X and Y, and can optionally provide Z".
I mostly go directly to the API these days, but I'm fairly settled on Ollama. I might use LangChain if I think I'll want another backend, but I also might use OpenRouter. I haven't yet, but it seems cool.
Re: Haystack: Open-Source AI Framework for Production Ready Agents, RAG
#18For an EU based company, this stands out.
Re: Haystack: Open-Source AI Framework for Production Ready Agents, RAG
#19its good that there is a competition in framework space, but does anyone have holistic view or opinions about their differences and where they shine? For example, * there is LangChain and LangGraph - used a lot, but framework bloat is hated as well * mastra - for typescript projects * pydantic, agno, strands, openai agents sdk, claude agents sdk, and so on and on and on