What is BioFlow AI
A graph-driven intelligent bioinformatics analysis platform
Overview
BioFlow AI is a graph-driven bioinformatics workflow platform. It organizes analysis tools, datasets, and compute tasks into visual node-based workflows, paired with AI agents that help manage samples, build pipelines, diagnose failures, and configure tools—letting researchers focus on scientific questions rather than environment setup and glue scripts.
Key Capabilities
Visual Workflow Editor
Workflows are built as Directed Acyclic Graphs (DAGs) on a drag-and-drop canvas (React Flow). Each node represents a concrete step in the pipeline, and edges define data dependencies and execution order.
Supported node types:
| Type | Description |
|---|---|
| Tool | Bioinformatics tools executed inside containers |
| Resource | Input datasets: sample files, reference genomes, and databases |
| Processor | Built-in file and data operations (copy, compress, transform, etc.) |
| Code | Custom script nodes |
| Value | Inline parameters and constant values |
AI-Assisted Workflow Design
A LangGraph-based agent system supports multiple ways to build and refine pipelines:
- Autonomous Design — Describe your analysis goal in natural language; the agent plans the steps and builds an editable workflow.
- Tool Expansion — Pick a core tool; the agent fills in upstream and downstream steps such as QC, alignment, and post-processing.
- Literature Reproduction — Upload a paper; the agent extracts the methods section and reconstructs an executable workflow.
Agents combine the Milvus tool knowledge base with web search to identify suitable tools, container images, and parameters, and can help diagnose and repair failed runs.
Containerized Tool Execution
Every analysis tool runs inside an isolated Docker or Podman container:
- Eliminates dependency conflicts between tools
- Keeps executions reproducible across environments
- Supports GPU passthrough for accelerated workloads
Input and output paths are resolved and mounted automatically without hand-crafting container commands.
Flexible LLM Providers and Role Assignment
BioFlow AI supports DeepSeek, OpenAI, and any OpenAI-compatible endpoint (including self-hosted models) through a unified model layer. Models can be assigned to dedicated system roles:
| Role | Purpose |
|---|---|
AGENT | Workflow design and agent planning |
CHAT | General interactive chat |
CODING | Code and script generation |
SIMPLE | Lightweight helper tasks |
VISION | Image and figure analysis |
LONG_CONTEXT | Long-document and paper processing |
HIGH_PERFORMANCE | Complex reasoning tasks |
Projects, Samples, and Live Monitoring
Work is organized around three core concepts:
- Projects — Group related samples and workflow runs.
- Samples — Individual biological datasets (sequencing reads, spectra, images, etc.).
- Workflows — Reusable graph templates that can be imported into any project.
Running a workflow across N samples creates N independent RunInstances. Each TaskInstance streams live status (pending, running, success, failed), logs, and output paths through Redis, and failed nodes can be retried individually.
Tool Knowledge Base
Milvus indexes tool documentation, container images, and usage knowledge to power agent tool discovery and search-assisted parameter configuration in the UI.
Architecture Overview
┌─────────────────────────────────────────────────────┐
│ Frontend (React) │
│ Visual Workflow Editor (React Flow) │
└────────────────────────┬────────────────────────────┘
│ REST API
┌────────────────────────▼────────────────────────────┐
│ Backend (FastAPI) │
│ Auth · Projects · Workflows · Tools · Chat · ... │
└──────┬────────────────────────────────┬─────────────┘
│ Celery tasks │ LangGraph agents
┌──────▼──────────┐ ┌─────────▼─────────────┐
│Execution Workers│ │ Agent Workers │
│ (Docker/Podman) │ │ (Workflow Designer, │
│ │ │ Tool Creator, etc.) │
└──────┬──────────┘ └───────────────────────┘
│
┌──────▼─────────────────────────────────────────────┐
│ Infrastructure │
│ PostgreSQL · Redis · RabbitMQ · Milvus · RustFS │
└────────────────────────────────────────────────────┘Tech Stack
| Layer | Technology |
|---|---|
| Backend | FastAPI, Python 3.13+, SQLModel |
| Task Queue | Celery, RabbitMQ |
| Database | PostgreSQL |
| Cache / State | Redis |
| Vector Store | Milvus |
| Object Storage | RustFS / S3-compatible storage |
| Containers | Docker / Podman |
| AI Framework | LangChain, LangGraph |
| Package Manager | uv |