#101 · Primary category: Knowledge Base & RAG

Controllable-RAG-Agent

advanced-rag agent genai langchain langgraph llm llms openai python rag

This repository provides an advanced Retrieval-Augmented Generation (RAG) solution for complex question answering. It uses sophisticated graph based algorithm to handle the tasks.

Project last updated:08/29/26

GitHub Stars

1.6K

Forks

268

Contributors

7

License

Apache-2.0

Why we included this project

Plain semantic-search RAG answers straightforward questions well, but anything multi-hop or conditional tends to come back wrong. This repository replaces the naive similarity lookup with a hand-crafted deterministic graph that acts as the agent's reasoning layer, deciding which sources to consult, when to branch, and how to chain sub-queries before writing an answer. The code ships as self-contained Jupyter notebooks on LangChain and LangGraph, so you can run the examples, trace the flow, and reuse the pattern in your own pipeline instead of treating it as a black box. It is a solid reference implementation for developers who want controllable, step-by-step RAG on their own data, and the companion book goes deeper into why each technique works.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category