The verifiable bioinformatics workflow engine for AI-native science — declarative TOML compiled to a static DAG, machine-checkable evidence at every gate, and an AI companion whose generated pipelines must pass those gates.
| Build & status | |
| Install | |
| Adoption | |
| Community |
Documentation · Workflow Gallery · Community · Roadmap · Contributing · Security
oxo-flow is a high-performance bioinformatics pipeline engine built in Rust. It compiles workflows into Directed Acyclic Graphs and orchestrates execution with native concurrency, per-rule environment isolation, and AI assistance grounded in engine APIs — all from a single binary.
🧬 Community: browse curated, rated, ready-to-run workflows — ports of popular nf-core & Snakemake pipelines, original designs, and community submissions — at oxo-flow-community.
- 🤖 AI Companion & Scientist Team — Grounded on deterministic engine APIs: engine-validated pipeline generation and refinement, 31 domain diagnostic patterns, experimental repair proposals, and an opt-in Scientist Team multi-agent review profile. Powered by Claude, OpenAI, DeepSeek, or local Ollama.
- 🔀 DAG-first engine — Full static planning before compute: automatic dependency resolution, topological ordering, cycle detection, and target-driven (
-t) minimal rule scheduling. - 🛡️ Physical resource & disk guards — Multi-stage runtime disk-pressure guard (
min_free_disk/reclaim_free_diskwith cascade tombstone reclamation), global scratch directory isolation (tmp_dir/OXO_FLOW_TMPDIR), concurrency-aware CPU/memory scheduling, and declared GPU/disk requirements validated and translated for cluster backends. - 📦 8 isolated environment backends — conda, mamba, pixi, docker, singularity, venv, system, and HPC modules — with per-rule isolation and an opt-in content-addressable store (
OXO_FLOW_ENV_STORE) reclaimed explicitly viaoxo-flow env gc. - 🔒 Provenance and integrity controls — With
--provenance, run evidence records SHA-256 output checksums on both the local and cluster execution paths, alongside configuration fingerprints, environment identities, and protected data tree audits (protected_data_trees); recorded checksums take precedence, with file modification timestamps (mtime) used only as a bounded fallback. - ⚡ Rust performance & safety — Compiled native binary with no embedded Python or JVM runtime, fast startup, Tokio concurrency, and
#![forbid(unsafe_code)]in every workspace crate; bioinformatics tools, containers, and environment managers remain explicit external dependencies. - 🌐 Modern Web Studio & Desktop shell — Embedded React 19 SPA with interactive DAG canvas (React Flow + d3-dag), CodeMirror 6 TOML editor, and native desktop app (
oxo-flow-desktop, wry + tao). - 🧩 First-party VS Code IDE —
traitome.oxo-flowextension published on both Open VSX and the VS Code Marketplace: schema-driven completion, background diagnostics, canonical formatting, and one-click run/dry-run/graph/resume actions. - 📊 Reporting designed for clinical review — Deterministic HTML, JSON, Markdown, and PDF reports generated from checkpoint data; real tool QC metric parsing (fastp, STAR, bcftools, etc.), R-friendly TSV export (
--r-data), and automated run snapshots. Clinical qualification is a separate evidence and governance process. - 🗄️ Checkpoint resume — JSON-persisted execution state; resume interrupted workflows from the last checkpointed rule, with reuse governed by recorded freshness and provenance checks.
- 🚀 Three deployment modes — Personal workstation, team server with OAuth2 (ORCID/GitHub), or HPC cluster submit panel — all from the exact same binary.
┌────────────────────────────────────────┐
│ Interaction Layer │
│ CLI (38 subcommands) │ Web (React 19) │
│ VS Code Extension │ Desktop (Wry) │
└──────────────────┬─────────────────────┘
│
┌─────────────────────────┼─────────────────────────┐
▼ ▼ ▼
┌───────────────────────┐ ┌───────────────────────┐ ┌───────────────────────┐
│ oxo-flow-ai │ │ oxo-flow-core │ │ oxo-flow-web │
│ Multi-backend LLMs │ │ Static DAG Engine │ │ Axum REST API (100+) │
│ Embedded Bio-KBs │◄─►│ Wildcard Expansion │◄─►│ SSE Realtime Bus │
│ Agent Orchestrator │ │ Checkpoint/Provenance │ │ SQLite / PostgreSQL │
│ Scientist Team Loop │ │ 8 Environment Backends│ │ Diagnostics (31) │
└───────────────────────┘ └───────────┬───────────┘ └───────────────────────┘
│
▼
┌───────────────────────────┐
│ Execution Layer │
│ Local Process (Tokio) │
│ HPC: Slurm/PBS/SGE/LSF │
│ k8s / AWS Batch / GCP │
│ S3 / GCS Staging Engine │
└───────────────────────────┘
The same engine serves both audiences — an agent calls the same gates a person does and gets the same evidence back. There is no shadow API and no "AI-only" execution path.
For people
- One engine, four first-party surfaces: the CLI (with an embedded web server), the React 19 Web Studio (interactive DAG canvas + TOML editor), the VS Code extension, and a native desktop shell.
- Guided static gates —
validate→dry-run→lint— with stableE/Wdiagnostic codes and remediation suggestions, before any compute. - Readable execution: checkpoint resume, provenance records (
--provenance,provenance verify), and HTML/JSON/Markdown/PDF reports generated from checkpoint data. - Physically grounded runtime: 8 environment backends, disk-pressure guard (
min_free_disk/reclaim_free_disk), scratch isolation (tmp_dir), and content-addressed invalidation.
For agents
oxo-flow agent-docsscaffoldsAGENTS.md,CLAUDE.md, and the fullSKILL.mdoperating manual into a project — the manual ships inside the binary, so it works offline from the same single file you run.- Deterministic contract: every gate supports
--jsonwith stable diagnostic codes and exit codes; errors use the structured{code, message, detail, suggestion}shape. - AI-generated pipelines are compiler-validated, not trust-me:
template --aiand the web copilot run the samePipelineGenAgentthrough an orchestrator whose output must pass the engine's own schema/validate gates. - Safety by construction: the skill's data-safety contract (inputs read-only, scratch confined to the project, append-only operation journal),
[engine] protected_data_treesdrift detection, and an explicitOXO_FLOW_AI_PROVIDER=disabledpin that no persisted tier can override. - Self-contained knowledge: Bioconda, bio.tools, nf-core module, and pipeline-graph indexes are embedded in the binary; no network round-trip is required to validate a workflow.
See AGENTS.md for the contributor/agent context and docs/guide/src/SKILL.md for the canonical operating manual.
| Feature | oxo-flow | Snakemake | Nextflow |
|---|---|---|---|
| Language | Rust — compiled, type-safe, #![forbid(unsafe_code)] in the core, AI, CLI, and web crates |
Python | Groovy/JVM |
| Startup & runtime | Native binary — no interpreter or JVM to start | Python interpreter startup | JVM startup |
| Workflow format | TOML (.oxoflow) — declarative, composable |
Snakefile (Python DSL) | Nextflow DSL (Groovy) |
| Execution planning | Pure DAG compiled & verified before compute; target-driven (-t) minimal subgraphs |
Dynamic DAG evaluated by Python runtime | Dataflow channels dynamically wired at runtime |
| Reproducibility model | SHA-256 output checksums with --provenance (local and cluster runs), config fingerprints, protected data tree audits; recorded checksums take precedence over file timestamps |
File modification timestamp (mtime), sensitive to clock/NFS drift |
Task hash cache (.nextflow/cache) built primarily from input content hashes |
| Disk & scratch safety | Built-in runtime disk-pressure guard (Hold/Reclaim ladder) + global tmp_dir scratch isolation |
No engine-level disk-pressure guard; tools use the system temp directory by default | Disk monitoring via Wave/Tower; no engine-level cascade reclamation |
| Environment support | 8 backends — conda, mamba, pixi, docker, singularity, venv, system, modules — per-rule | conda, singularity, docker | conda, docker, singularity, modules |
| Web interface | Built-in React 19 SPA + 100+ OpenAPI operations + SSE live events | External Snakemake-UI / panoptes | Nextflow Tower / Seqera Platform (commercial) |
| Editor & IDE | First-party VS Code IDE (Open VSX + VS Code Marketplace) & native desktop shell | Community editor plugins | Community editor plugins |
| Reporting | Built-in HTML/JSON/Markdown/PDF reports from checkpoint data + domain QC parser + --r-data TSV |
Via MultiQC | Via Nextflow Tower / MultiQC |
| Cluster backends | SLURM, PBS, SGE, LSF, k8s, AWS Batch, GCP Batch | SLURM, PBS, SGE, LSF | SLURM, PBS, SGE, LSF, k8s, AWS Batch |
| Security | Shell sanitization, path traversal prevention, rate limiting; no OS-level tenant boundary yet | No built-in web auth/rate limiting | No built-in web auth/rate limiting (Tower adds commercial auth) |
| AI Companion | Architectural citizen — unified agent, 31 domain diagnostic patterns, Scientist Team | Not built-in | Not built-in |
| Testing | Rust unit/integration suites, schema-drift checks, and deterministic AI-eval harness + gold gates in CI; provider-backed benchmark runs record git SHA and content hashes per capture | pytest-based | Spock / varied |
Comparison statements describe architectural defaults, not measured benchmarks; performance and generation quality are evaluated separately in the eval/ harnesses.
The dominant workflow engines were designed for humans writing code by hand — and that is precisely where they strain in an AI-authored pipeline world. Snakemake embeds arbitrary Python; Nextflow wires data through Groovy channel operators. Both are expressive for people, but in both the DAG is whatever the script computes at runtime: fully verifying dependencies, data contracts, or resources means executing the script itself, so a model's hallucination surfaces as a 3 a.m. failure on node 400 instead of a rejected file.
| Dimension | Nextflow (Groovy DSL2) | Snakemake (Python-embedded) | oxo-flow |
|---|---|---|---|
| AI generation difficulty | High — closures, channel operators, runtime deadlocks | Medium–high — embedded Python, hidden side effects | Low — schema-validated declarative TOML with a hard syntax boundary |
| Static verification before compute | Hard — graph is whatever Groovy evaluates | Hard — input/output sets require executing Python | Native — validate → dry-run → lint compile the static DAG before any job runs |
| Machine-readable failure contract | Runtime stack traces | Python tracebacks | Stable E/W/SCI-*/TYPE-* codes, --json on every gate, structured {code, message, detail, suggestion} errors |
These are structural comparisons, not measured benchmarks; generation quality and cost are tracked separately in the deterministic eval/frontier/ harness.
oxo-flow's answer runs in three moves: collapse the input side (natural language in, engine-validated .oxoflow out — template --ai output must pass the engine's own gates), standardize the intermediate representation (.oxoflow is a deterministic, schema-gated IR from which the DAG, environment plan, and evidence record are all derived), and raise the output side (biological type contracts, scientific preflight, structured diagnostics, cryptographic provenance — the engine carries the checkable part of correctness, not the user's scientific judgment).
The trade-off is stated honestly: dynamic DSLs remain unmatched for free-form programmatic logic, and the ecosystem's domain knowledge (nf-core, community rules) is real. The full paradigm analysis, the scientific thesis behind these moves, and their explicit maturity labels live in the Vision page.
Four design bets anchor the research program. Each is labeled by maturity: what ships today, and what evidence is still missing (details and exit criteria in the Vision page and ROADMAP Phase 12):
- BioTypes — biological semantics on DAG edges. Files crossing DAG edges carry contracts (format, sort order, reference build, index, read groups). Shipped:
[types.*]declarations checked statically byvalidate/preflight;TYPE-001–TYPE-010diagnostics (TYPE-008/TYPE-009/TYPE-010advisory) carry remediation hints and synthesize ready-to-run coercion commands where the fix is mechanical (e.g.samtools sortfor a sort-order mismatch). Outstanding: broad truth-set validation. A first measured truth set now exists and has been broadened (#1163,docs/superpowers/audits/biotype-truth-set-2026-11-20.md; first set N=18 in...2026-11-19.md) — 54 independently-authored cases through the realvalidate --jsonsurface scored 32 true-accept / 0 false-accept / 22 true-reject / 0 false-reject (diagnostic codes 54/54) against a report-local operational zero-false-accept criterion, so it passes that operational criterion (a report-local sanity check; under the frozen pre-registrationdocs/superpowers/preregistration/PR-06-publication-decision-rule.mdthe governed thresholdτ_FAis still undecided, so no governed POSITIVE/NEGATIVE decision is claimed). A real typed pipeline now also exists in the repo —examples/gallery/17_typed_variant_calling.oxoflowdeclares a[types.*]/[rules.types]contract on every crossing edge, is accepted byvalidate, and is shown load-bearing (a one-sided edit failsTYPE-001) (#1272,typed-pipeline-evidence-2026-11-20.md) — closing the prior "no[types.*]usage in the repo" gap, but the breadth claim stays open (N=54 is still small; the governedτ_FAcampaign remains out of scope — the driven formats and thetransform/[[include]]-contributed-type constructs are enumerated in the report). The two former false-accepts shared one root cause (a multi-channel typed producer with a typed consumer formed no channel pair and was silently skipped) and are now closed by advisoryTYPE-010(#1254), alongside the format-implied-compression fix for the former false-reject (#1255); the breadth wave surfaced one further defect, a documentation overstatement (the reference claimed CRAM implies BGZF; only BAM does), corrected in theworkflow-format.mdcompressionrow — the checker was right. - Autonomous self-healing runtime. Shipped: 31 domain diagnostic patterns, 51 curated
SCI-*scientific preflight rules (VQSR cohort size, Mutect2 tumor-only pitfalls, …),--ai-recoversafety-gated repair proposals, and a seeded-failure interpretation benchmark (report --ai,eval/interpretation/, three providers: GLM, DeepSeek, Qwen). Outstanding: applied-repair verified by successful reruns at scale — in the seeded fault-injection campaign the verified-repair loop currently closes 6/13 cases end-to-end (all 6 repairable infra faults, the original three plus three held-out classes added in #1278; the other 7 are blocked upstream of the loop — measured evidence ineval/frontier/PILOT_FINDINGS.md), and the roadmap tracks the path to broader coverage. - Universal ecosystem transpiler. Shipped:
oxo-flow importfor a deterministic Nextflow DSL2 / Snakemake subset — anything outside the documented subset is a hard error that names the construct, never a silent mistranslation (seeimportand LIMITATIONS.md) — and, as of #1319, the reverse lane:oxo-flow export-dslemits a parsed workflow back to Nextflow DSL2 over the same subset (export-dsl), with the fixture-corpus round trip measured at the declared-artifact level (see below). Coverage is still prototype-grade. A measured corpus now exists at the declared-artifact level: over all 25tests/fixtures/import/**fixtures the real importer matched 6/6 accepted workflows (rules, DAG edges, resources, environments, declared I/O) and rejected 19, each naming a documented out-of-subset construct. Since the 2026-11-20 addendum the corpus includes real community-derived fixtures — an nf-core DSL2 module and a community-Snakefile rule import cleanly, while two very common nf-core shapes (a dynamic per-moduleconda "${moduleDir}/environment.yml"and bare-idmetadata) are hard-rejected rather than mistranslated (seeimport-equivalence-2026-11-19.md, harnessscripts/import-equivalence.sh). A first execution-equivalence triplet now exists too: three intents written natively in oxo-flow, Nextflow and Snakemake, each run on one host over the same inputs and one pinned container digest, produced byte-identical declared outputs (matched 3 / drifted 0 / skipped 0;docs/superpowers/audits/execution-equivalence-2026-11-21.md, harnessscripts/execution-equivalence.sh). Still outstanding: a corpus-wide, real-tool, multi-host execution-equivalence campaign (N=3 so far). The export round trip is measured in-tree (tests/transpile_roundtrip.rs): over all 25tests/fixtures/import/**fixtures the real importer matched 6/6 accepted workflows; the 3 accepted Nextflow workflows export and re-import byte-identically, and the 3 accepted Snakemake workflows are export-refused naming the constructs the Nextflow DSL cannot carry back ([wildcard_constraints], rulebenchmark, rulelog) — 19 importer-rejected fixtures have no parsed model to export. - Cryptographic provenance. Shipped:
--provenanceSHA-256 output checksums on both the local and cluster run paths, config fingerprints, environment identities, a workflow-identity quadruple (HEAD SHA +sha256content digest of the executed workflow bytes + dirty-tree marker, so two runs of the same uncommitted workflow stay distinguishable, plus an override-awareworkflow_resolved_hashfingerprint so two runs of the same file under different--argoverrides stay distinguishable too — #1350), andprotected_data_treesdrift audits, auditable viaoxo-flow provenance verify --json(which re-hashes the workflow file against the recorded digest; a post-run workflow edit is a verification finding) and the web API. Outstanding: cross-architecture reproduction measurement. A first field observation now exists (#1166,docs/superpowers/audits/cross-arch-provenance-2026-11-19.md) — the same pinned workflow on macOS-arm64 and Linux-x86_64 at one commit produced SHA-256-identical pure-text,gzip -ncompressed, and IEEE-754 float artifacts, with the one differing derived report attributed to BSD-vs-GNUwc/sorttool behavior; it is an OS-confoundedsystem-backend observation. A non-OS-confounded two-architecture run now also exists (#1166,docs/superpowers/audits/cross-arch-provenance-container-2026-11-20.md) — one sharedpython:3.12-slimmanifest-list digest, nativelinux/amd64vs qemu-emulatedlinux/arm64, produced 8/8 SHA-256-identical declared outputs across pure-text, derived-text,gzip -ncompressed, raw-binary, IEEE-754 float, and checksum-manifest classes (the emulated arm is stated as a caveat). Both remain report-local operational measurements: the governed thresholdsτ_ARCH/n_minare still undecided andNis small, so the governed preregistered cross-architecture claim remains outstanding. Maturity & evidence. None of this is peer-reviewed evidence. BioTypes check declared contracts, not biological truth; generation is engine-validated; diagnosis is model-authored and advisory; repair is experimental; provenance records declared-output checksums plus configuration and environment fingerprints — it does not by itself establish bitwise reproducibility across architectures. Per-capability maturity labels live in the Vision page and ROADMAP Phase 12.
oxo-flow rests on six architectural pillars:
- DAG as Pure Declarative Data — A workflow is mathematically a directed acyclic graph of pure data transformations, not an imperative script. All dependencies, wildcards, environments, and resource requirements are declared statically in
.oxoflowTOML and validated before any job starts. - Content-Addressed Evidence over File Timestamps — Reproduction requires evidence, not a timestamp convention. oxo-flow anchors checkpoint state on content evidence — SHA-256 output checksums (recorded with
--provenance), configuration fingerprints, content-addressable environment hashes, and protected data tree audits (protected_data_trees); recorded checksums take precedence, withmtimedemoted to a bounded fallback. This detects declared state changes but does not by itself prove biological correctness or bitwise reproducibility across all tools. - Hard Physical Boundaries & Resource Guards — Real-world bioinformatics computation is constrained by physical limits: CPUs, GPUs, RAM, and finite disk volumes. oxo-flow enforces CPU and memory limits as first-class scheduling constraints, validates declared GPU/disk requirements, isolates scratch spaces via
tmp_dir, and guards runs against out-of-space aborts through a multi-stage runtime disk-pressure ladder (Normal → Reclaim → Hold → Abort). - Environment Isolation — Every rule names its execution environment across 8 supported backends (conda, mamba, pixi, docker, singularity, venv, system, modules), with optional content-addressable deduplication. Environment isolation reduces tool conflicts; it is not a complete host or tenant security boundary.
- Rust-Native Performance & Safety — Zero-cost abstractions, fearless concurrency with Tokio, and
#![forbid(unsafe_code)]in every workspace crate ensure instant startup, minimal memory footprint, and reliable orchestration of large rule graphs without JVM or Python interpreter overhead. - AI as an Architectural Citizen — AI assistance is integrated into the engine's feedback loop through machine-readable errors, canonical TOML synthesis, domain diagnostics, and the multi-agent Scientist Team. Generation output is engine-validated; diagnosis is model-authored and advisory. Repair is experimental: a proposed patch requires independent semantic verification and a successful rerun before it can be called fixed.
Learn oxo-flow incrementally with curated, validated example workflows — from a one-rule hello-world to reference-scale pipelines. Every workflow passes oxo-flow validate and is tested in CI. See the Workflow Gallery for the full catalog with detailed explanations, DAG visualizations, and CLI output.
Download the latest release for your platform from GitHub Releases:
# Linux (x86_64)
curl -LO https://github.com/Traitome/oxo-flow/releases/latest/download/oxo-flow-latest-x86_64-unknown-linux-gnu.tar.gz
tar xzf oxo-flow-latest-x86_64-unknown-linux-gnu.tar.gz
sudo mv oxo-flow /usr/local/bin/
# macOS (Apple Silicon)
curl -LO https://github.com/Traitome/oxo-flow/releases/latest/download/oxo-flow-latest-aarch64-apple-darwin.tar.gz
tar xzf oxo-flow-latest-aarch64-apple-darwin.tar.gz
sudo mv oxo-flow /usr/local/bin/cargo install oxo-flow-cliconda install -c bioconda oxo-flow-cliVersion caveat — the bioconda recipe can lag a freshly cut release while the bot recipe update lands. Check
conda search -c bioconda oxo-flow-clifor the currently delivered version; if it is behind the release notes you need, install from the pre-built binaries above orcargo install oxo-flow-cli(crates.io).
Pre-built images are published to GitHub Container Registry on every release (and every push to main). Release images are multi-arch (linux/amd64 + linux/arm64, so Apple silicon and ARM servers pull a native image). :latest moves only after the release image passes a health smoke test; a rolling :<major.minor> tag (e.g. :0.32) tracks the newest patch of each minor line, and :main is a multi-arch dev build from source:
# Web UI at http://localhost:3000 (CLI is inside the same image)
docker run -d --name oxo-flow -p 3000:3000 ghcr.io/traitome/oxo-flow:latest
# Pin a release (or track a minor line)
docker run -d -p 3000:3000 ghcr.io/traitome/oxo-flow:0.32.0
docker run -d -p 3000:3000 ghcr.io/traitome/oxo-flow:0.32
# CLI one-shot usage (workflow files mounted from the host)
docker run --rm -v "$PWD:/work" -w /work ghcr.io/traitome/oxo-flow:latest \
oxo-flow run my-pipeline.oxoflowHealth endpoint: GET /api/health returns "status":"ok" when the database is reachable.
Container configuration is env-only: the image sets OXO_FLOW_MODE=team, OXO_FLOW_HOST=0.0.0.0, and OXO_FLOW_PORT=3000 as defaults, and the CMD carries no CLI flags — so docker run -e OXO_FLOW_PORT=9090 … changes the actual bind port (the built-in healthcheck follows it). Note the published image is built without the postgres compile feature: pointing DATABASE_URL at a postgres:// URL makes the container exit at startup (see the docker-compose.yml comment for how to build a feature-enabled image).
git clone https://github.com/Traitome/oxo-flow.git
cd oxo-flow
cargo build --release --workspace
# Build the web SPA so `oxo-flow serve` has assets to serve
# (the committed index.html references gitignored build output):
make frontend-build # or: cd frontend && npm install && npm run build
# Install the CLI to your local cargo bin directory:
cargo install --path crates/oxo-flow-cli
# Binaries are in target/release/
# - oxo-flow (CLI, includes `oxo-flow serve` for web UI)
# - oxo-flow-web (Standalone web server)Skipping the frontend build is safe: oxo-flow serve detects the missing
SPA assets and shows an actionable "SPA not built" page instead of a blank
screen.
# Create a new pipeline project (creates my-pipeline/ directory and my-pipeline.oxoflow)
oxo-flow init my-pipeline
cd my-pipeline
# Validate the workflow
oxo-flow validate my-pipeline.oxoflow
# Preview execution plan
oxo-flow dry-run my-pipeline.oxoflow
# Execute with 8 parallel jobs
oxo-flow run my-pipeline.oxoflow -j 8
# Visualize the DAG (use -f dot for Graphviz DOT output)
oxo-flow graph my-pipeline.oxoflow -f dot > dag.dot
dot -Tpng dag.dot -o dag.png
# Export a transit-map-style diagram via nf-metro
oxo-flow graph my-pipeline.oxoflow -f metro -o pipeline.mmd
# Render locally (requires nf-metro) or paste the .mmd content into the
# online playground: https://seqeralabs.github.io/nf-metro/latest/playground/
nf-metro render pipeline.mmd -o pipeline.svg
# Generate an HTML report
oxo-flow report my-pipeline.oxoflow -f html -o report.htmloxo-flow supports job submission to HPC and cloud batch schedulers including SLURM, PBS/PBS Pro, SGE/UGE, LSF, Kubernetes, AWS Batch, and GCP Batch. The oxo-flow cluster subcommand manages the full submission lifecycle.
# Submit a workflow to a SLURM cluster
oxo-flow cluster submit workflow.oxoflow --backend slurm --queue short -o jobs/
# Per-instance status for a `run --profile` deployment (newest run dir by default)
oxo-flow cluster status
oxo-flow cluster status --run-dir .oxo-flow/runs/2026-01-01T12-00-00-000 --json
# Raw scheduler view (no ids: lists the user's jobs; --backend optional)
oxo-flow cluster status --all
oxo-flow cluster status --backend slurm <job-id>
# Logs for an id or rule instance: captured output, then accounting, then scontrol
oxo-flow cluster logs <job-id-or-instance> --tail 50
# Cancel a submitted job
oxo-flow cluster cancel --backend slurm <job-id>Supported backends: slurm, pbs, sge, lsf, kubernetes/k8s, aws-batch, gcp-batch. Cluster submissions are configured inline via oxo-flow cluster submit flags.
run --profile <name> is the everyday cluster path: jobs submit as native scheduler arrays, terminal verdicts fold into the checkpoint as each job settles (a crashed driver loses no completion state), and a restarted run re-queues interrupted rules instead of trusting their partially written outputs. [engine] dispatch_order = "sample" orders equal-priority ties by sample so each sample's stages run adjacent instead of in global phases (priority aging still applies). See Running on a cluster.
Workflows can also carry reusable config supplements (e.g. per-cluster thread
and memory defaults) in profiles/<NAME>.toml next to the workflow:
# Run a workflow with a config supplement profile
oxo-flow run workflow.oxoflow --profile slurmoxo-flow uses a TOML-based workflow format that is human-readable, composable, and declarative:
[workflow]
name = "variant-calling"
version = "1.0.0"
[config]
reference = "/data/ref/GRCh38.fa"
[[rules]]
name = "fastp"
input = ["raw/{sample}_R1.fastq.gz", "raw/{sample}_R2.fastq.gz"]
output = ["trimmed/{sample}_R1.fastq.gz", "trimmed/{sample}_R2.fastq.gz"]
threads = 8
shell = "fastp -i {input[0]} -I {input[1]} -o {output[0]} -O {output[1]}"
[rules.environment]
conda = "envs/fastp.yaml"
[[rules]]
name = "bwa_align"
input = ["trimmed/{sample}_R1.fastq.gz", "trimmed/{sample}_R2.fastq.gz"]
output = ["aligned/{sample}.bam"]
threads = 16
memory = "32G"
shell = "bwa-mem2 mem -t {threads} {config.reference} {input[0]} {input[1]} | samtools sort -o {output[0]}"
[rules.environment]
docker = "biocontainers/bwa-mem2:2.2.1"Wildcards like {sample} expand automatically via input file discovery. Features include reference directory conventions, environment groups, optional rules, and directory inputs. See the full Workflow Format Specification for details.
The first-party oxo-flow Pipeline extension (traitome.oxo-flow) makes VS Code a full .oxoflow IDE — and it is released in lockstep with the engine (VSIX with checksum attached to every GitHub release):
Note — the extension is published to both marketplaces: Open VSX (searched by default by VSCodium, Cursor, Windsurf and most forks) and the VS Code Marketplace (stock VS Code, live since v0.31.0). Install from either, or grab the release VSIX offline:
codium --install-extension traitome.oxo-flow # Open VSX (forks)
code --install-extension oxo-flow-vscode-v<version>.vsix # offline VSIX (any VS Code)It provides [[rules]]-aware syntax highlighting (wildcards and {input[0]} placeholders), completion and hover docs generated from the canonical workflow JSON Schema, background validate/lint diagnostics anchored to the failing rule, canonical formatting, and one-click run / dry-run / graph / resume / AI-generate commands. See the VS Code Extension reference, or Editor Setup for other editors (Zed, Helix, Neovim, JetBrains, …).
The oxo-flow binary provides 38 subcommands covering the complete workflow lifecycle. See the full CLI Reference for details.
| Category | Commands |
|---|---|
| Execution | run, resume, dry-run (alias plan), test, batch |
| Development | init, agent-docs, validate, format, lint, debug, template, import, export-dsl |
| Inspection | graph, info, report, status, wait, config, diff, provenance, schema, verify-data, diagnostics |
| Knowledge | knowledge (embedded Bioconda / nf-core / skills query) |
| Environment | env, runs, export, clean, touch |
| Deployment | serve, cluster, publish, pull |
| AI & System | ai, completions, license |
oxo-flow config stats (alias oxo-flow config check) summarizes a workflow's configuration.
See the full CLI Reference for detailed usage of each subcommand.
The oxo-flow serve command starts an axum-powered REST server with 100+ documented operations across 9 domains (workflow, execution, dag, AI, auth, collaboration, observability, chat, clusters). Full API reference at the Web API reference (GET /api/openapi.json serves the live OpenAPI 3.1 spec).
oxo-flow is organized as a Cargo workspace with four crates, plus a fifth
(oxo-flow-desktop) that lives in crates/ but is excluded from the
workspace so headless builds never need GUI toolchains:
oxo-flow/
├── crates/
│ ├── oxo-flow-core/ # Core library: DAG engine, executor, environment mgmt,
│ │ # config parsing, scheduler, wildcard expansion, reporting
│ ├── oxo-flow-ai/ # AI companion: provider abstraction, skill system, agents
│ ├── oxo-flow-cli/ # CLI binary ("oxo-flow") — Clap-based, 38 subcommands
│ ├── oxo-flow-web/ # Web server ("oxo-flow-web") — axum REST API + frontend
│ └── oxo-flow-desktop/ # Native desktop shell ("oxo-flow-desktop", wry + tao) —
│ # excluded from the workspace (own Cargo.toml)
├── editors/
│ └── vscode/ # First-party VS Code IDE extension (traitome.oxo-flow)
├── frontend/ # Modern React 19 + TypeScript + Vite web workspace
├── examples/ # Example .oxoflow workflows
├── tests/ # Integration tests
└── docs/ # Documentation (MkDocs)
| Crate | Type | Binary | License |
|---|---|---|---|
oxo-flow-core |
Library | — | Apache-2.0 |
oxo-flow-ai |
Library | — | Apache-2.0 |
oxo-flow-cli |
Binary | oxo-flow |
Apache-2.0 |
oxo-flow-web |
Binary | oxo-flow-web |
Dual Academic / Commercial |
oxo-flow-desktop |
Binary | oxo-flow-desktop |
Apache-2.0 |
| Module | Crate | Responsibility |
|---|---|---|
dag.rs |
core | DAG construction, validation, topological sort |
executor/ |
core | Task execution (local, cluster, cloud), checkpointing, staging |
environment.rs |
core | Environment management (conda, mamba, pixi, docker, singularity, venv, system, modules) |
config/ |
core | Workflow configuration and .oxoflow file parsing |
rule.rs |
core | Rule/step definitions with inputs, outputs, shell, resources |
scheduler.rs |
core | Job scheduling with resource constraints |
wildcard.rs |
core | Wildcard pattern expansion ({sample}, {chr}, etc.) |
report.rs |
core | Modular report generation (HTML, JSON, PDF via wkhtmltopdf) |
format.rs |
core | Workflow formatting and linting |
diagnostics.rs |
core | 31 failure-pattern diagnostics over stderr signatures and exit codes |
plugin.rs |
core | Plugin manifests with keyed-integrity checks (tamper detection, not an adversarial signature); a plugin runtime is future work — the workflow-level [plugins] section is parsed but inert |
ai_provider.rs |
web | Multi-provider AI abstraction (Claude, OpenAI, DeepSeek, Ollama) |
domains/ai/ |
web | AI translation, chat SSE streaming, agent orchestration |
domains/execution/ |
web | Run lifecycle, diagnostics, pause/resume, retry |
domains/workflow/ |
web | Pipeline CRUD, validation, DAG building, templating |
provider.rs |
ai | Multi-provider AI client abstraction with auto-detection |
skill.rs |
ai | Skill registry and discovery system |
agent/ |
ai | Agent orchestration and tool-calling framework |
mcp.rs |
ai | MCP (Model Context Protocol) server integration |
oxo-flow serve starts the web interface with an embedded REST API and React SPA. Run it without arguments for local experimentation:
# Mode 1: Personal workstation (default) — SQLite, localhost:8080, no auth
oxo-flow serve
# → Open http://127.0.0.1:8080 in your browser
# Mode 2: Team server — multi-user (env-var passwords + optional ORCID/GitHub OAuth2)
oxo-flow serve --mode team --host 0.0.0.0
# Mode 3: HPC submit panel — the scheduler (SLURM/PBS/SGE/LSF) is probed at
# startup when the server itself runs on a cluster login node
oxo-flow serve --mode hpcServe flags: --mode (personal | team | hpc), --host (default
127.0.0.1), -p/--port (default 8080), --base-path, and --open
(open the browser on startup). Each flag also has an OXO_FLOW_*
environment-variable form, plus a platform config file layer — see
Deployment Modes.
PostgreSQL: both oxo-flow serve and the standalone oxo-flow-web
binary read the DATABASE_URL environment variable — a postgres:// URL
(on a build with the postgres feature) enables the PostgreSQL backend for
storage-backed web domains; the default (sqlite://oxo-flow.db in the
working directory) stays SQLite. Note that the published Docker image is
built WITHOUT the postgres feature — rebuild with
cargo build --features postgres to enable it. Run execution and lifecycle
bookkeeping route through the unified StorageBackend trait. PostgreSQL code
paths exist, but live parity, concurrency, crash recovery, and multi-instance
behavior are unproven; do not treat the presence of a trait implementation as
production-parity evidence.
Full documentation is available at traitome.github.io/oxo-flow/latest/.
| If you are... | Recommended Start |
|---|---|
| New to oxo-flow | Quick Start · First Workflow |
| A Bioinformatician | Workflow Gallery |
| A Pipeline Engineer | Workflow Format Specification · CLI Reference |
| A DevOps/Cloud Admin | Environment Management · Running on Cluster |
| A Bioinformatics Core | Workflow Gallery · Environment Management |
MkDocs source lives under docs/guide/src/.
# Build all workspace crates
cargo build --workspace
# Run all tests (unit + integration)
cargo test --workspace
# Run the full CI suite (fmt + clippy + build + test + schema-drift + skill-drift + version-check + audit + deny + aws-legacy-tripwire + issue-id-tripwire + npmmirror-tripwire + secrets + docs + frontend-lint + eval-tests + eval-lint + extension-test)
make ci
# Individual CI steps
cargo fmt -- --check # Check formatting
cargo clippy --workspace --all-targets -- -D warnings # Lint (zero warnings)
cargo build --workspace # Compile
cargo test --workspace # Test
# Format code
cargo fmtA bare
cargo buildat the repo root builds only the rootoxo-flowlibrary package (the integration-test crate) — not the CLI or web binaries. Pass--workspacewhenever you wanttarget/*/oxo-flowandtarget/*/oxo-flow-web.
| Component | Technology |
|---|---|
| Language | Rust (2024 edition) |
| Async runtime | tokio |
| CLI framework | clap (derive) |
| Web framework | axum |
| Serialization | serde + TOML |
| Graph library | petgraph |
| Templating | tera |
| Error handling | thiserror (lib) / anyhow (bin) |
| Logging | tracing |
This project uses a split licensing model:
| Crate | License | Details |
|---|---|---|
oxo-flow-core |
Apache-2.0 | Free and open-source |
oxo-flow-ai |
Apache-2.0 | Free and open-source |
oxo-flow-cli |
Apache-2.0 | Free and open-source |
oxo-flow-web |
Academic / Commercial | Free for academic and non-commercial use; commercial use requires a separate license |
The core library, AI companion, and CLI are licensed under the Apache License 2.0 — you are free to use, modify, and distribute them without restriction.
The web interface (oxo-flow-web) is available under a dual license: free for academic and non-commercial use under the Academic License, and requiring a commercial license for commercial deployments. See LICENSE-ACADEMIC and LICENSE-COMMERCIAL for details.
Contributions are welcome! Please see:
- CONTRIBUTING.md — Contribution guidelines
- ROADMAP.md — Project roadmap and areas where help is needed
- CODE_OF_CONDUCT.md — Community standards
- GOVERNANCE.md — Project governance and decision-making
- SECURITY.md — Security vulnerability reporting
Before submitting a PR, ensure all checks pass:
make ciIf you use oxo-flow in academic research, please cite:
Shixiang Wang, oxo-flow: compiled, memory-safe bioinformatics workflow orchestration, bioRxiv, 2026, https://doi.org/10.64898/2026.06.11.731578
Jia Ding, Yun Peng, Ruochen Wei, Boquan Wang, Jian-Guo Zhou, Shixiang Wang, BLIT: an R package for seamless integration of command-line bioinformatics tool universe, Bioinformatics Advances, Volume 6, Issue 1, 2026, vbag088, https://doi.org/10.1093/bioadv/vbag088
- Bug reports — GitHub Issues (use bug report template)
- Feature requests — GitHub Issues (use feature request template)
- Documentation — traitome.github.io/oxo-flow/latest/
- Questions — Ask DeepWiki
oxo-flow aims to work reliably across diverse computing environments — laptops, HPC clusters, GPU nodes. We cannot replicate every deployment scenario in CI. If you use oxo-flow, please share your experience (success or failure) as a GitHub Issue with the prefix [Real-World Testing]. Your feedback directly shapes our priorities.
- LIMITATIONS.md — Known limitations and constraints
- REPRODUCIBILITY.md — Reproducibility controls, provenance, and evidence boundaries
- RELEASING.md — Release process and versioning policy
- TRADEMARK.md — Trademark usage guidelines
- docs/CHANGE_CONTROL.md — Change control for regulated environments
- docs/VALIDATION_PROTOCOL.md — IQ/OQ/PQ validation protocol
Built with 🧬 by Traitome
Thanks goes to these wonderful people:
Run
make contributorsto refresh the contributor list from git history.


