经 AI Skill Hub 精选评估,Controllable-RAG-Agent — AI Agent 工作流中文教程 获评「强烈推荐」。已获得 1.6k 颗 GitHub Star,这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.6 分,适合有一定技术背景的用户使用。
Controllable-RAG-Agent — AI Agent 工作流中文教程 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
Controllable-RAG-Agent — AI Agent 工作流中文教程 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 克隆仓库 git clone https://github.com/NirDiamant/Controllable-RAG-Agent cd Controllable-RAG-Agent # 查看安装说明 cat README.md # 按 README 完成环境依赖安装后即可使用
# 查看帮助 controllable-rag-agent --help # 基本运行 controllable-rag-agent [options] <input> # 详细使用说明请查阅文档 # https://github.com/NirDiamant/Controllable-RAG-Agent
# controllable-rag-agent 配置说明 # 查看配置选项 controllable-rag-agent --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export CONTROLLABLE_RAG_AGENT_CONFIG="/path/to/config.yml"
An advanced Retrieval-Augmented Generation (RAG) solution designed to tackle complex questions that simple semantic similarity-based retrieval cannot solve. This project showcases a sophisticated deterministic graph acting as the "brain" of a highly controllable autonomous agent capable of answering non-trivial questions from your own data.

🚀 Level up with my Agents Towards Production repository. It delivers horizontal, code-first tutorials that cover every tool and step in the lifecycle of building production-grade GenAI agents, guiding you from spark to scale with proven patterns and reusable blueprints for real-world launches, making it the smartest place to start if you're serious about shipping agents to production.
📚 Explore my comprehensive guide on RAG techniques to complement this advanced agent implementation with many other RAG techniques.
🤖 Explore my GenAI Agents Repository to complement this advanced agent implementation with many other AI Agents implementations and tutorials.
Ragas metrics for comprehensive quality assessment.1. Clone the repository:
git clone https://github.com/NirDiamant/Controllable-RAG-Agent.git
cd Controllable-RAG-Agent
2. Set up environment variables: Create a .env file in the root directory with your API key: OPENAI_API_KEY=
GROQ_API_KEY=
you can look at the .env.example file for reference.
3. run the following command to build the docker image
docker-compose up --build
3. Install required packages:
pip install -r requirements.txt
The algorithm was tested using the first Harry Potter book, allowing for monitoring of the model's reliance on retrieved information versus pre-trained knowledge. This choice enables us to verify whether the model is using its pre-trained knowledge or strictly relying on the retrieved information from vector stores.
sophisticated_rag_agent_harry_potter.ipynb2. Run real-time agent visualization (no docker):
streamlit run simulate_agent.py
3. Run real-time agent visualization (with docker): open your browser and go to http://localhost:8501/
Q: How did the protagonist defeat the villain's assistant?
To solve this question, the following steps are necessary:
The agent's ability to break down and solve such complex queries demonstrates its sophisticated reasoning capabilities.
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
AI Skill Hub 点评:Controllable-RAG-Agent — AI Agent 工作流中文教程 的核心功能完整,质量优秀。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | Controllable-RAG-Agent |
| 原始描述 | This repository provides an advanced Retrieval-Augmented Generation (RAG) solution for complex question answering. It uses sophisticated graph based algorithm to handle the tasks. |
| Topics | advanced-ragagentgenailangchainlanggraphllmrag |
| GitHub | https://github.com/NirDiamant/Controllable-RAG-Agent |
| License | Apache-2.0 |
| 语言 | Jupyter Notebook |
收录时间:2026-05-22 · 更新时间:2026-05-22 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端