Agentic RAG · LLMs · Hybrid Retrieval · MLOps

InsightDocs: Production Agentic RAG

An end-to-end, deployed question-answering system over your documents — hybrid retrieval, cross-encoder reranking, query routing and decomposition, and a quantitative evaluation harness, all served behind a streaming API and chat UI.

PythonFastAPIQdrantLangChain Sentence-TransformersBM25Cross-Encoder Ollama / OpenAI / AnthropicDockerGitHub Actions

Live demo

Upload a document, ask a question, and get a streamed, grounded answer with inline source citations — and, on complex questions, a note showing how the agent split the query:

InsightDocs chat UI: grounded answer with inline source citations

Architecture

InsightDocs agentic RAG architecture diagram

What makes it more than a demo

Engineering

Built with a clean, modular architecture (ingestion, embeddings, retrieval, generation, agentic orchestration, and services), a branch-per-feature git workflow, unit tests for all pure logic, and GitHub Actions CI running the test suite on Python 3.10 and 3.11. Deployed with Docker Compose (Qdrant + API + optional Ollama) and a container healthcheck.

Tech stack

Python, FastAPI, Qdrant, Sentence-Transformers, BM25 (rank-bm25), cross-encoder rerankers, LangChain text splitters, PyMuPDF, Docker, GitHub Actions. LLM providers: Ollama, OpenAI, Anthropic.

Links

GitHub Repository