Metadata-Version: 2.5
Name: bioflow-ai
Version: 1.0.0b1
Summary: A Graph-based Intelligent BioAnalysis Platform
Project-URL: Homepage, https://github.com/QIBEBT-SCC/bioflow-ai
Project-URL: Documentation, https://bioflow-ai-doc.vercel.app/
Project-URL: Repository, https://github.com/QIBEBT-SCC/bioflow-ai
Project-URL: Issues, https://github.com/QIBEBT-SCC/bioflow-ai/issues
Project-URL: Web, https://github.com/QIBEBT-SCC/bioflow-ai-web
Author-email: Aye10032 <aye10032@gmail.com>
License-Expression: AGPL-3.0-only
License-File: LICENSE
Keywords: ai-agent,bioinformatics,containers,fastapi,langgraph,workflow
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Requires-Python: >=3.13
Requires-Dist: aiofiles>=24.1.0
Requires-Dist: anyio>=4.11.0
Requires-Dist: apply-patch-py>=0.4.1
Requires-Dist: argon2-cffi>=25.1.0
Requires-Dist: bcrypt>=5.0.0
Requires-Dist: boto3>=1.40.0
Requires-Dist: bs4>=0.0.2
Requires-Dist: celery[librabbitmq,redis]>=5.6.0
Requires-Dist: click>=8.0.0
Requires-Dist: crawl4ai>=0.8.0
Requires-Dist: cryptography>=46.0.3
Requires-Dist: ddgs>=9.10.0
Requires-Dist: defusedxml>=0.7.1
Requires-Dist: docker>=7.1.0
Requires-Dist: fastapi>=0.130.0
Requires-Dist: firecrawl-anydoc<0.3,>=0.2.4
Requires-Dist: hictkpy[numpy]<2,>=1.4
Requires-Dist: httpx[socks]>=0.28.1
Requires-Dist: huggingface-hub>=1.4.0
Requires-Dist: jinja2>=3.1.6
Requires-Dist: langchain-anthropic>=1.4.0
Requires-Dist: langchain-community>=0.4.0
Requires-Dist: langchain-core>=1.3.0
Requires-Dist: langchain-deepseek>=1.1.0
Requires-Dist: langchain-google-genai>=4.0.0
Requires-Dist: langchain-model-profiles>=0.0.5
Requires-Dist: langchain-openai>=1.2.0
Requires-Dist: langchain>=1.3.0
Requires-Dist: langgraph-checkpoint-postgres>=3.0.0
Requires-Dist: langgraph>=1.2.0
Requires-Dist: loguru>=0.7.3
Requires-Dist: markdown-it-py>=4.0.0
Requires-Dist: nanoid>=2.0.0
Requires-Dist: orjson>=3.11.4
Requires-Dist: pillow>=12.0.0
Requires-Dist: polars>=1.39.0
Requires-Dist: psycopg[binary,pool]>=3.2.9
Requires-Dist: pyarrow>=21.0.0
Requires-Dist: pybigwig<0.4,>=0.3.24
Requires-Dist: pydantic-settings>=2.12.0
Requires-Dist: pydantic>=2.12.4
Requires-Dist: pymilvus>=3.0.0
Requires-Dist: python-frontmatter>=1.1.0
Requires-Dist: python-multipart>=0.0.20
Requires-Dist: pyyaml>=6.0.3
Requires-Dist: questionary>=2.1.1
Requires-Dist: resvg-py<1.0,>=0.5.0
Requires-Dist: rich>=14.2.0
Requires-Dist: sqlalchemy>=2.0.44
Requires-Dist: tiktoken>=0.12.0
Requires-Dist: tinycss2>=1.4.0
Requires-Dist: tomli-w>=1.2.0
Requires-Dist: tqdm>=4.67.1
Requires-Dist: uuid7>=0.1.0
Requires-Dist: uvicorn>=0.40.0
Requires-Dist: websockets>=15.0.1
Provides-Extra: podman
Requires-Dist: podman>=5.6.0; extra == 'podman'
Description-Content-Type: text/markdown

<p align="center">
  <img src="https://raw.githubusercontent.com/QIBEBT-SCC/bioflow-ai-web/refs/heads/master/public/logo_and_text.svg" alt="BioFlow AI" width="400" />
</p>

<p align="center">
  <a href="https://github.com/QIBEBT-SCC/bioflow-ai/actions/workflows/pr-ci.yml"><img src="https://github.com/QIBEBT-SCC/bioflow-ai/actions/workflows/pr-ci.yml/badge.svg?branch=master" alt="Backend CI" /></a>
  <a href="https://pypi.org/project/bioflow-ai/"><img src="https://img.shields.io/pypi/v/bioflow-ai" alt="PyPI version" /></a>
  <a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/python-3.13%2B-blue" alt="Python 3.13+" /></a>
  <a href="https://bioflow-ai-doc.vercel.app/"><img src="https://img.shields.io/badge/docs-bioflow--ai-informational" alt="Documentation" /></a>
  <a href="https://github.com/QIBEBT-SCC/bioflow-ai/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-AGPL--3.0-blue" alt="License: AGPL-3.0" /></a>
</p>

<p align="center">
  English | <a href="https://github.com/QIBEBT-SCC/bioflow-ai/blob/master/README.zh-CN.md">简体中文</a>
</p>

# BioFlow AI

BioFlow AI is a graph-driven intelligent bioinformatics analysis platform. It organizes analysis tools, data, and compute tasks into visual node-based workflows, while AI agents help manage samples, build workflows, diagnose execution problems, and repair analysis pipelines.

## System Requirements

- Linux (recommended)
- Python 3.13+
- [uv](https://docs.astral.sh/uv/)
- One of the following container runtimes:
  - Docker with the Docker Compose plugin
  - Podman with Podman Compose

A rootless container runtime is recommended to prevent files generated by analysis tasks from being owned by the host's root user.

## Installation and Initialization

In an empty deployment directory, install `bioflow-ai` from PyPI:

```bash
uv init --bare --python 3.13
uv add bioflow-ai
uv run bioflow-ai auto-init
```

To install a specific pre-release version, pin it explicitly (for example, `uv add 'bioflow-ai==1.0.0b1'`), or download the `.whl` from [GitHub Releases](https://github.com/QIBEBT-SCC/bioflow-ai/releases) for offline deployment and pass its path to `uv add` instead. Add `--extra podman` to the install command when using Podman. Run the initializer and backend processes from the same deployment directory. The initializer puts editable Skills in `presets/skills/` and prepares the database initialization files in `presets/sql/`. Re-running it fills in missing files and preserves existing copies.

### From a source checkout

```bash
git clone https://github.com/QIBEBT-SCC/bioflow-ai.git
cd bioflow-ai
```

With Docker:

```bash
uv sync
uv run bioflow-ai auto-init
```

With Podman:

```bash
uv sync --extra podman
uv run bioflow-ai auto-init
```

### Start the backend

The initializer prepares the services and database tables, then configures the embedding model and chat models together. The final stage creates the administrator account, imports system presets, builds the vector indexes, and offers the optional test dataset. See the [Automatic Initialization guide](https://bioflow-ai-doc.vercel.app/docs/configuration/initialization).

After initialization, start the API (which also hosts the workflow dispatcher), the shared execution worker, and the agent worker in separate terminals:

```bash
uv run bioflow-ai api
uv run bioflow-ai execution-worker --concurrency 4
uv run bioflow-ai agent-worker
```

Open `http://localhost:3000` in your browser. If a default port is already in use, the initializer selects an available port and displays it in the terminal.

## Contributing

See [CONTRIBUTING.md](https://github.com/QIBEBT-SCC/bioflow-ai/blob/master/CONTRIBUTING.md) for development setup, branch conventions, and the release workflow.

## License

BioFlow AI is licensed under the [GNU Affero General Public License v3.0 (AGPL-3.0)](https://github.com/QIBEBT-SCC/bioflow-ai/blob/master/LICENSE).
