WhoBuilt

OpenRAG: An open-source stack for RAG

Apr 8, 2026· 16 min· 15K views·Watch on YouTube

Speaker

Phil Nash, a developer relations engineer at IBM, presents OpenRAG, an open-source stack for building and customizing retrieval-augmented generation systems.

Why RAG remains difficult

Phil argues that large context windows do not make RAG obsolete for businesses with substantial data or those concerned about the cost of sending huge prompts. RAG systems vary with their documents, users, questions, and expectations, while parsing PDFs, choosing chunks, updating embeddings, and improving retrieval all require project-specific work.

How OpenRAG handles ingestion and search

OpenRAG combines Docling for document processing, OpenSearch for indexing and search, and Langflow for visual orchestration. Docling handles formats including PDFs, audio, and video, and can use either focused PDF processing models or a vision-language model. OpenSearch provides hybrid keyword and vector search; OpenRAG uses the JVector plugin for live indexing and indexes that need not fit in memory.

Agentic retrieval and local models

OpenRAG supports external embedding providers and locally hosted models through Ollama, allowing the stack to run offline. Its agentic retrieval gives a model tools to search as needed, rather than always returning a fixed set of top results. In the demo, the agent searches documentation, while the interface also lets users upload files, inspect chunks, and apply knowledge filters.

Customize the system in Langflow

Users can open the underlying Langflow flow to adjust the agent and its tools, including an OpenSearch search component, a URL ingestor, and a calculator. Phil demonstrates adding input guardrails that either pass text to the prompt or return an error. OpenRAG also exposes an API and an MCP server for use by other applications and agents.

A configurable baseline for RAG

Phil describes OpenRAG as an opinionated open-source baseline that leaves room to adapt the system to different data and users. He says version 0.4.0 is ready to try, with a Next.js frontend and Python services. The project and its component projects welcome feedback and contributions.

Takeaways

  • Treat RAG as a system to evaluate against your own documents, users, and questions; a generic pipeline may not fit.
  • Choose document processing and chunking based on the file types and structure in your corpus.
  • Hybrid keyword and vector search can support different retrieval needs within one index.
  • Agentic retrieval lets a model decide when and how to search, but requires suitable tools and instructions.
  • Local models can support offline deployments; OpenRAG pairs Ollama with Docling and OpenSearch.

Mentioned in this talk

Search inside this talk

What was claimed 9

Show all 9 facts

Related talks