← Back to Leaderboard
UOpenBMB

OpenBMB/UltraRAG

MCP-based RAG framework for building and testing multi-step pipelines in YAML

Engineering Health (Methodology)
A+ · 91/100
Maintenance Activity
● Updated yesterday
Latest Release
v0.3.0.3
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption19/25
Release Cadence17/20
License Clarity20/20
DockerSelf-HostedMCP
Total Stars
★ 5,763
24h Growth
+0
7d Growth
+7
Forks
462

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

OpenBMB/UltraRAG Star History (2025-01-15 - 2026-12-04) ALL-TIME STAR HISTORY (2025-01 – 2026-12) +5.8k in 688d · avg +8/day 6.1k 3k 0 2025-01-15: ★ 12025-03-01: ★ 4212025-04-12: ★ 5702025-05-24: ★ 6322025-07-05: ★ 6822025-08-16: ★ 7022025-09-27: ★ 1,5962025-11-08: ★ 1,7412025-12-20: ★ 2,2842026-01-31: ★ 4,6602026-03-14: ★ 5,2112026-04-25: ★ 5,3902026-06-06: ★ 5,4852026-07-18: ★ 5,5772026-08-29: ★ 5,6462026-10-10: ★ 5,7032026-12-04: ★ 5,763 ★ 5.8k 2025-01 2025-12 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

UltraRAG separates pipeline control flow from retrieval and generation. The MCP client runs sequences, branches, and loops defined in YAML and invokes functions exposed as MCP tools by independent servers. Extensions register at the function level, so a team can replace a component without rewriting the workflow. The repository separates servers/, src/, ui/, and examples/; the Python package targets 3.11–3.12 and includes Pydantic, PyYAML, Flask, and HTTPX among its dependencies.

The CLI commands build, run, and show ui accept --no-mcp. The local and default MCP modes share YAML and parameter files, but local mode executes registered tools and prompts without starting local MCP server processes. Local scripts need to register through UltraRAG_MCP_Server; switching modes does not preserve FastMCP-specific Context injection, authentication, middleware, or resources. A local pipeline that calls a remote MCP server still needs the mcp extra.

Key Capabilities & Differentiators

The main engineering benefit is that an iterative RAG flow can be inspected and modified at the pipeline level: a retrieval step can feed a conditional branch or repeat in a loop without embedding the control flow in the retriever. Standardized evaluation workflows bring benchmarks, metrics, and baselines together, while the Case Study view shows intermediate outputs so teams can distinguish poor retrieval from later reasoning or state-handling failures.

The UI synchronizes its canvas with code, supports parameter and prompt editing and knowledge-base management, and can expose a pipeline as a chat interface. v0.3.0.3 adds Qdrant vector search, a dedicated LiteLLM generation backend, and jieba tokenization; Milvus is another documented deployment option. v0.3.0.1 adds .doc and .wps parsing plus DOCX and Markdown chat exports. The Deep Research example pairs multi-step retrieval with AgentCPM-Report for long-form report generation.

Trade-offs & Limitations

Compared with wiring a vector store and an LLM API directly into an application, UltraRAG gives teams explicit, reusable workflow control, an evaluation path, and a visual editor. That pays off when workflows branch, loop, or change frequently. For a fixed retrieve-then-generate endpoint, the YAML and parameter files, tool registration, and runtime setup add maintenance that a small application may not need.

Local mode removes the need to manage local MCP server processes, but it is not a drop-in substitute for FastMCP lifecycle and integration features; plan to keep MCP mode if you depend on its Context, middleware, authentication, or resources. Local model serving keeps inference under your control at the cost of model and GPU operations. Remote serving reduces that burden but introduces network latency, service costs, and data-handling decisions. Apache-2.0 covers UltraRAG itself, not the terms of model weights, datasets, or external services.

Hardware & Deployment Guide

For a source install, start with Python 3.11 or 3.12 and uv sync for local execution. Use uv sync --extra mcp for default MCP execution or uv sync --all-extras for the full stack. The primary Dockerfile builds the frontend with Node.js 22 and uses a CUDA 12.9.1 Ubuntu 24.04 base with Python 3.12. The CPU base image needs no NVIDIA runtime and the UI listens on port 5050. Both base image variants include the MCP extra but may need retrieval or generation extras for local backends.

The full GPU container needs the NVIDIA Container Toolkit; the Linux GPU dependency set is locked to CUDA 12.9, including the vLLM cu129 wheel. Size the serving tier for the chosen model, context length, and concurrency rather than the UI alone. External inference can reduce local compute needs but does not make a deployment offline. Pin a Docker image digest rather than relying on moving tags. When upgrading, test memory and access behavior: v0.3.0.2 adds persistent user memory, project memory retrieval, and SQLite-backed demo authentication; v0.3.0.3 makes legacy knowledge bases private by default.

Orchestration: YAML defines sequences, conditional branches, and loops rather than hiding control flow inside tool implementations.
Execution: Default MCP and --no-mcp local modes reuse pipeline and parameter files; local mode skips local server processes.
Backend choice: v0.3.0.3 adds Qdrant vector search, LiteLLM generation, and jieba Chinese tokenization; a Milvus deployment path is also available.
Evaluation: Benchmark workflows share metric and baseline handling, and the Case Study view exposes intermediate outputs for failure analysis.
Prototype UI: The Pipeline Builder synchronizes canvas edits with code and can turn a configured pipeline into a chat interface backed by a knowledge base.
Packaging: CPU and GPU base images ship with the built frontend and Node.js 22; the full GPU image includes all extras.
Best For

Research and platform teams that need to compare RAG backends, inspect failures in iterative workflows, and turn tested pipelines into self-hosted demos.

Skip If

You only need a fixed retrieval-and-generation endpoint, or you expect the bundled UI to eliminate the work of operating model services, storage, and access controls.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedMCP
## Direct installation
python -m pip install --upgrade "pip>=26.2.2" "uv==0.13.7"
## Download
curl -LsSf https://astral.sh/uv/0.12.0/install.sh | sh

Comparison vs. Top RAG, Data & Memory Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
UltraRAG ★5.8k+7PythonApache-2.0MCP-based RAG framework for building and testing multi-step pipelines in YAML
auto-ontology19.1k+3.7kPythonApache-2.0An ontology framework that grounds agent-generated SQL in reviewed business defi
llama_index53.1k+104PythonMITA modular Python SDK for document ingestion, indexing, and RAG
langextract39.5k+85PythonApache-2.0Python SDK for extracting structured data with traceable source spans

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/OpenBMB/UltraRAG.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

OpenBMB/UltraRAG Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about UltraRAG

Can an existing Python application run a pipeline without starting local MCP server processes?

Yes. Use initialize(..., no_mcp=True) or PipelineCall(..., no_mcp=True) to run the same pipeline YAML and parameter files in local mode. Local scripts must register through UltraRAG_MCP_Server. FastMCP Context injection, authentication, middleware, and resources require MCP mode; mixing remote MCP servers into a local pipeline still requires the mcp extra.

Does a self-hosted deployment need a GPU, and how should I size VRAM?

No. Start with the CPU base image if the pipeline can call remote model services and does not depend on a GPU-only local backend. Base images do not include every backend extra. For local GPU inference, the documented Linux stack uses CUDA 12.9, and Docker GPU access requires the NVIDIA Container Toolkit. Size VRAM against the selected models, context lengths, and concurrency; there is no framework-wide VRAM minimum in the supplied specifications.

Can we use and modify UltraRAG commercially while keeping documents on premises?

UltraRAG's Apache-2.0 license permits commercial use and modification, subject to its conditions, including applicable notice and attribution obligations on redistribution. Check model licenses, dataset terms, and external service agreements separately. Self-hosting the UI and orchestrator does not keep data local if a pipeline sends requests to an external model or MCP service.

When should I choose UltraRAG over calling a vector store and model API directly?

Choose UltraRAG when you need to compare several retrieval or generation configurations, share YAML workflows with explicit branches and loops, or give reviewers a UI for inspecting intermediate results. For a single fixed retrieval-and-answer flow in an existing application, direct integration with the chosen retriever and model API is likely simpler to deploy and maintain.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining OpenBMB/UltraRAG? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature OpenBMB/UltraRAG on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare