OpenBMB / UltraRAG
- ััะฑะฑะพัะฐ, 24 ัะฝะฒะฐัั 2026โฏะณ. ะฒ 00:00:03
UltraRAG v3: A Low-Code MCP Framework for Building Complex and Innovative RAG Pipelines
| Documentation | Dataset | Paper Daily | ็ฎไฝไธญๆ | English |
Latest News ๐ฅ
UltraRAG is the first lightweight RAG development framework based on the Model Context Protocol (MCP) architecture design, jointly launched by THUNLP at Tsinghua University, NEUIR at Northeastern University, OpenBMB, and AI9stars.
Designed for research exploration and industrial prototyping, UltraRAG standardizes core RAG components (Retriever, Generation, etc.) as independent MCP Servers, combined with the powerful workflow orchestration capabilities of the MCP Client. Developers can achieve precise orchestration of complex control structures such as conditional branches and loops simply through YAML configuration.
UltraRAG UI transcends the boundaries of traditional chat interfaces, evolving into a visual RAG Integrated Development Environment (IDE) that combines orchestration, debugging, and demonstration.
The system features a powerful built-in Pipeline Builder that supports bidirectional real-time synchronization between "Canvas Construction" and "Code Editing," allowing for granular online adjustments of pipeline parameters and prompts. Furthermore, it introduces an Intelligent AI Assistant to empower the entire development lifecycle, from pipeline structural design to parameter tuning and prompt generation. Once constructed, logic flows can be converted into interactive dialogue systems with a single click. The system seamlessly integrates Knowledge Base Management components, enabling users to build custom knowledge bases for document Q&A. This truly realizes a one-stop closed loop, spanning from underlying logic construction and data governance to final application deployment.
๐ Low-Code Orchestration of Complex Workflows
โก Modular Extension and Reproduction
๐ Unified Evaluation and Benchmark Comparison
โจ Rapid Interactive Prototype Generation
We provide two installation methods: local source code installation (recommended using uv for package management) and Docker container deployment
We strongly recommend using uv to manage Python environments and dependencies, as it can greatly improve installation speed.
Prepare Environment
If you haven't installed uv yet, please execute:
## Direct installation
pip install uv
## Download
curl -LsSf https://astral.sh/uv/install.sh | shDownload Source Code
git clone https://github.com/OpenBMB/UltraRAG.git --depth 1
cd UltraRAGInstall Dependencies
Choose one of the following modes to install dependencies based on your use case:
A: Create a New Environment Use uv sync to automatically create a virtual environment and synchronize dependencies:
Core dependencies: If you only need to run basic core functions, such as only using UltraRAG UI:
uv syncFull installation: If you want to fully experience UltraRAG's retrieval, generation, corpus processing, and evaluation functions, please run:
uv sync --all-extrasOn-demand installation: If you only need to run specific modules, keep the corresponding --extra as needed, for example:
uv sync --extra retriever # Retrieval module only
uv sync --extra generation # Generation module onlyOnce installed, activate the virtual environment:
# Windows CMD
.venv\Scripts\activate.bat
# Windows Powershell
.venv\Scripts\Activate.ps1
# macOS / Linux
source .venv/bin/activateB: Install into an Existing Environment To install UltraRAG into your currently active Python environment, use uv pip:
# Core dependencies
uv pip install -e .
# Full installation
uv pip install -e ".[all]"
# On-demand installation
uv pip install -e ".[retriever]"If you prefer not to configure a local Python environment, you can deploy using Docker.
Get Code and Images
# 1. Clone the repository
git clone https://github.com/OpenBMB/UltraRAG.git --depth 1
cd UltraRAG
# 2. Prepare the image (choose one)
# Option A: Pull from Docker Hub
docker pull hdxin2002/ultrarag:v0.3.0-base-cpu # Base version (CPU)
docker pull hdxin2002/ultrarag:v0.3.0-base-gpu # Base version (GPU)
docker pull hdxin2002/ultrarag:v0.3.0 # Full version (GPU)
# Option B: Build locally
docker build -t ultrarag:v0.3.0 .
# 3. Start container (port 5050 is automatically mapped)
docker run -it --gpus all -p 5050:5050 <docker_image_name>Start the Container
# Start the container (Port 5050 is mapped by default)
docker run -it --gpus all -p 5050:5050 <docker_image_name>Note: After the container starts, UltraRAG UI will run automatically. You can directly access http://localhost:5050 in your browser to use it.
After installation, run the following example command to check if the environment is normal:
ultrarag run examples/sayhello.yamlIf you see the following output, the installation is successful:
Hello, UltraRAG v3!
We provide complete tutorial examples from beginner to advanced. Whether you are conducting academic research or building industrial applications, you can find guidance here. Welcome to visit the Documentation for more details.
Designed for researchers, providing data, experimental workflows, and visualization analysis tools.
Designed for developers and end users, providing complete UI interaction and complex application cases.
Thanks to the following contributors for their code submissions and testing. We also welcome new members to join us in collectively building a comprehensive RAG ecosystem!
You can contribute by following the standard process: Fork this repository โ Submit Issues โ Create Pull Requests (PRs).
If you find this repository helpful for your research, please consider giving us a โญ to show your support.
![]() WeChat Group |
![]() Feishu Group |
Discord |