Bioflow AI

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

RequirementPurpose
Linux (recommended)Recommended host environment for local deployment
Python 3.13+Backend runtime
uvPython package and command runner
Docker + Docker ComposeRuns 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-ai

When 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-init

The wizard guides you through five stages:

  1. 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.
  2. Deployment presets & containers — Copies editable Skills to presets/skills/ and database init files to presets/sql/, generates docker-compose.yml, starts infrastructure services and the Web UI, and waits for core services to become healthy.
  3. Database preparation — Creates any missing database tables.
  4. 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.
  5. 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-worker

Default URLs:

ServiceDefault URL
Web UIhttp://localhost:3000
FastAPIhttp://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.

Home page

Next steps

On this page