Skip to main content
UltraRAG provides two installation methods: local source code installation (recommended using uv for package management) and Docker container deployment.

Source Code Installation

We strongly recommend using uv to manage the Python environment and dependencies, as it can greatly improve installation speed. Prepare Environment If you haven’t installed uv yet, please execute:
Download Source Code
Install 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:
  • Full installation: If you want to fully experience UltraRAG’s retrieval, generation, corpus processing, and evaluation functions, please run:
  • On-demand installation: If you only need to run specific modules, keep the corresponding --extra as needed, for example:
Once installed, activate the virtual environment:
B: Install into an Existing Environment To install UltraRAG into your currently active Python environment, use uv pip:

Execution modes and a smoke test

Use Python 3.11 or 3.12. uv sync installs the core without MCP transport packages. After activating the environment, run this local smoke test:
For the default MCP transport, install uv sync --extra mcp and omit --no-mcp. Remote MCP entries require Node.js 20 or newer, including when mixed into a local-mode pipeline. Install the appropriate module extras for retrieval, generation and other server dependencies.

Docker Container Deployment

If you prefer not to configure a local Python environment, you can deploy using Docker. Get Code and Images
Start the Container
After the container starts, UltraRAG UI will run automatically. You can directly access http://localhost:5050 in your browser to use it.

Verify Installation

After installation is complete, run the following example command to check if the environment is normal:
Seeing the following output indicates a successful installation: