Install and set up the UDR-B backend
mainThe Universal Deep Research Backend (UDR-B) can be installed using an automated setup script or manually.
Automated Setup (Recommended)
- Clone the repository and enter the
backenddirectory. - Run
python3 setup.py. This script handles directory creation (logs/,instances/,mock_instances/), environment configuration, and dependency installation. - Create API key files:
tavily_api.txtand eithernvdev_api.txtoropenai_api.txtcontaining your keys. - Start the server using
./launch_server.sh.
Manual Setup
- Clone the repository and enter the
backenddirectory. - Create and activate a Python virtual environment.
- Install dependencies via
pip install -r requirements.txt. - Create directories:
mkdir -p logs instances mock_instances. - Copy
env.exampleto.envand configure it. - Create API key files (
tavily_api.txt,nvdev_api.txt, oropenai_api.txt). - Start the server using
./launch_server.sh.
The server defaults to http://localhost:8000.
# Automated Setup
git clone <repository-url>
cd backend
python3 setup.py
# Configure API keys
echo "your-tavily-api-key" > tavily_api.txt
echo "your-llm-api-key" > nvdev_api.txt
# Start server
./launch_server.sh