Quick Start
Install, initialize, and start BioFlow AI locally
This guide walks through a local deployment of BioFlow AI with uv and Docker. If you prefer Podman, read Using Podman first.
Requirements
| Requirement | Purpose |
|---|---|
| Linux (recommended) | Recommended host environment for local deployment |
| Python 3.13+ | Backend runtime |
| uv | Python package and command runner |
| Docker + Docker Compose | Runs PostgreSQL, Redis, RabbitMQ, RustFS, Milvus, the Web UI, and tool containers (Podman + Podman Compose is also supported) |
A rootless container runtime is recommended so files produced by analysis tasks are not owned by the host root user.
Step 1 — Install BioFlow AI
You do not need to clone the repository. Create an empty deployment directory and install BioFlow AI with uv:
mkdir bioflow-ai && cd bioflow-ai
uv init --bare --python 3.13
uv add bioflow-aiWhen using Podman, include --extra podman (uv add --extra podman bioflow-ai).
Step 2 — Run automatic initialization
From the deployment directory, launch the interactive wizard:
uv run bioflow-ai auto-initThe wizard guides you through five stages:
- Configuration & port check — Sets up your network proxy, storage paths, default task limits, container runtime, and PDF parser in
config.toml, and automatically shifts any occupied host ports. - Deployment presets & containers — Copies editable Skills to
presets/skills/and database init files topresets/sql/, generatesdocker-compose.yml, starts infrastructure services and the Web UI, and waits for core services to become healthy. - Database preparation — Creates any missing database tables.
- Model configuration — Configures the embedding model together with chat/agent model providers (DeepSeek, OpenAI, or an OpenAI-compatible custom endpoint) and assigns system model roles.
- Data initialization — Creates the initial administrator account, imports preset tool catalogs, builds Milvus vector indexes, and optionally downloads the sample test dataset.
See Automatic Initialization for every prompt, default value, and rerun behavior.
Initialization downloads missing preset files and the optional test dataset from Hugging Face. If your network requires a proxy, enable it during the first step of the wizard.
Step 3 — Start backend services
The wizard starts the containerized infrastructure and Web UI, but leaves the Python backend processes for you to run. In the same deployment directory, start these three processes in separate terminals:
# Terminal 1 — API server (also hosts the workflow dispatcher)
uv run bioflow-ai api# Terminal 2 — Shared execution worker
uv run bioflow-ai execution-worker --concurrency 4# Terminal 3 — Agent worker
uv run bioflow-ai agent-workerDefault URLs:
| Service | Default URL |
|---|---|
| Web UI | http://localhost:3000 |
| FastAPI | http://localhost:8000 |
If a default port was already in use, open the replacement port shown by the wizard.
Step 4 — Sign in
Open the Web UI in your browser and sign in with the administrator email and password you created during initialization. You can manage model providers, update role assignments, and add pricing for custom models anytime from the Web UI model settings page.

Next steps
Workflow Connections
Connect nodes, configure subgraphs and ForEach, and resolve validation errors
Automatic Initialization
Review every wizard stage, prompt, and rerun behavior
Configuration
Explore config.toml fields and defaults
CLI Reference
Commands for running services and maintaining databases and vector indexes