Bioflow AI

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:

TypeDescription
ToolBioinformatics tools executed inside containers
ResourceInput datasets: sample files, reference genomes, and databases
ProcessorBuilt-in file and data operations (copy, compress, transform, etc.)
CodeCustom script nodes
ValueInline 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:

RolePurpose
AGENTWorkflow design and agent planning
CHATGeneral interactive chat
CODINGCode and script generation
SIMPLELightweight helper tasks
VISIONImage and figure analysis
LONG_CONTEXTLong-document and paper processing
HIGH_PERFORMANCEComplex 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

LayerTechnology
BackendFastAPI, Python 3.13+, SQLModel
Task QueueCelery, RabbitMQ
DatabasePostgreSQL
Cache / StateRedis
Vector StoreMilvus
Object StorageRustFS / S3-compatible storage
ContainersDocker / Podman
AI FrameworkLangChain, LangGraph
Package Manageruv

What's Next

On this page