Topic
LangChain vs LlamaIndex for RAG
12 posts on langchain vs llamaindex for rag — part of framework tutorials on the n4n AI blog.
RAG on PDFs: LangChain vs LlamaIndex parsers compared
A hands-on comparison of LangChain and LlamaIndex PDF parsers for RAG, covering extraction quality, chunking, performance, and when to use each.
LlamaIndex vs LangChain: which scales past a million vectors
Head-to-head comparison of LlamaIndex and LangChain for RAG at million-vector scale — architecture, latency, cost, and when to pick each.
LlamaIndex query engines vs LangChain retrievers
Compare LlamaIndex query engines and LangChain retrievers for RAG — architecture, control, streaming, and when to pick each.
LangChain vs LlamaIndex: debugging and observability tools
A practitioner's comparison of LangChain and LlamaIndex debugging and observability tooling — callbacks, tracing, evaluation, and production monitoring.
LangChain vs LlamaIndex: agent support inside RAG
A practitioner's head-to-head comparison of LangChain and LlamaIndex agent architectures for RAG, with code patterns, trade-offs, and a verdict by use case.
Migrating a RAG app from LlamaIndex to LangChain
A step-by-step guide to migrating a production RAG application from LlamaIndex to LangChain with runnable code and verification checkpoints.
LlamaIndex vs LangChain: retrieval quality on 10,000 docs
Head-to-head retrieval quality benchmark of LlamaIndex and LangChain on 10,000 documents with concrete metrics, code patterns, and a clear verdict by use case.
LangChain vs LlamaIndex: which handles hybrid search better
A practitioner's head-to-head comparison of LangChain and LlamaIndex for hybrid search, covering retrieval APIs, reranking, ergonomics, and when to choose each.
LangChain vs LlamaIndex: chunking and indexing strategies
A practical comparison of LangChain and LlamaIndex chunking and indexing approaches for RAG systems, with code examples and a decision framework.
RAG pipeline: LangChain vs LlamaIndex step by step
Step-by-step tutorial to build RAG pipeline LangChain vs LlamaIndex with runnable code, comparing retrieval and generation tradeoffs for engineers.
LangChain vs LlamaIndex for RAG: how to choose in 2026
A pragmatic 2026 engineering comparison of LangChain and LlamaIndex for RAG across capabilities, cost, latency, ergonomics, and ecosystem to help you choose.
LangChain vs LlamaIndex: cost per query on GPT-5 and Claude
Engineering analysis of langchain vs llamaindex rag cost per query on GPT-5 and Claude: where token waste hides in retrieval and how to cut it.
More topics in framework tutorials
- Building Chatbots with Vercel AI SDK & Next.js15
- LangChain RAG with Vector Databases15
- LangGraph Multi-Agent Workflows15
- LlamaIndex Query Engines for RAG15
- AutoGen Multi-Agent Conversations & Group Chat14
- Choosing an AI Framework by Use Case14
- CrewAI Agent Roles & Task Design14
- CrewAI Real-World Crew Examples14
- Haystack RAG Pipelines14
- LangChain Agents & Tool Calling14
- LangChain Multi-Model Fallback & Routing14
- LangChain.js for Node & TypeScript14