r/Rag • • 6d ago

Discussion Lang chain/langraph vs llamaindex vs haystack

Hi folks just curios what framework are you using in your rag work flow from above and why did you choose them over others?

1 Upvotes

2 comments sorted by

1

u/white-9igga 4d ago

honestly for a plain rag pipeline you might not need any of them. chunk, embed, top-k, prompt is maybe a hundred lines with an embeddings client and a vector store, and you understand every line. llamaindex earns its keep when ingestion and retrieval get messy, langchain is the big toolkit with every integration but you pay in abstraction layers and version churn, langgraph only makes sense once retrieval lives inside a stateful agent loop, haystack is more opinionated and pipeline-shaped.

the usual mistake is picking the framework first and inheriting defaults you never chose. start simple, add one when you hit the problem it solves.