Getting Started
This guide walks you through installing BioCortex, configuring API keys, and running your first analysis via CLI or Web UI.Prerequisites
- Python 3.11+
- (Optional) Conda for environment isolation
- API keys for at least one LLM provider (OpenAI, Anthropic, Azure, or local e.g. Ollama)
Installation
Option A: One-Click Install (Recommended)
Option B: Manual Install (Conda)
Option C: From environment.yml
Configure API Keys
Create a.env file in the project root (or in your home directory as ~/.biocortex/.env for per-user config):
Run Your First Analysis
CLI
Web UI
- Start the backend and frontend:
- Open the app (e.g.
http://localhost:7860orhttp://localhost:3000depending on your setup). - Log in, create or select a project, and type a biomedical task in the chat.
- The system will plan steps, execute them, and return a synthesized report.
Typical usage flow (Web UI)
- Log in — Open the app; sign in (or register if enabled).
- Project — Create a new task (project) or click an existing one in the sidebar. If you select an existing project, its conversation and results load into the chat view.
- Data (optional) — Upload files via the chat attachment or the Files page. Wait for the progress bar to finish.
- Send task — Type your request in natural language (e.g. “Run QC and clustering on my h5ad file”) and send. A “Preparing your analysis…” message appears immediately.
- Plan — The system returns a strategy (e.g. DAG) and a list of steps. Confirm the plan if the UI asks.
- Execution — Steps run in order (or in parallel by level). The plan panel shows progress (spinner → check or error). When the run finishes, all spinners stop and the report appears.
- Report — The Result Viewer shows the report with Figure 1, Figure 2, … and captions. You can download the report, export to PDF/Word, or generate a PowerPoint that uses the same figure numbering.
Verify Installation
Next Steps
- Architecture — Understand the seven functional layers.
- Strategy Routing — How your task is classified (ReAct vs DAG vs MCTS).
- Web UI — Chat, Projects, Resources, and Automation.