Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
B

BioClaw

> 数据库
Open source

AI-Powered Bioinformatics Research Assistant. Built on OpenClaw.

399 stars0 likes0 views
WebsiteGitHub

About

AI-Powered Bioinformatics Research Assistant. Built on OpenClaw.

Visit Our Homepage & Join WeChat Group

Technical Document

Contents

  • Overview
  • What's New
  • Quick Start
  • Beginner Guide
  • Messaging channels
  • Demo Examples
  • System Architecture
  • Skills & Skills Hub
  • Included Tools
  • Project Structure
  • Citation
  • License

Overview

The rapid growth of biomedical data, tools, and literature has created a fragmented research landscape that outpaces human expertise. Researchers frequently need to switch between command-line bioinformatics tools, visualization software, databases, and literature search engines — often across different machines and environments.

BioClaw addresses this by providing a conversational interface to a comprehensive bioinformatics toolkit. By messaging @Bioclaw in a WhatsApp group, researchers can:

  • Sequence Analysis — Run BLAST searches against NCBI databases, align reads with BWA/minimap2, and call variants
  • Quality Control — Generate FastQC reports on sequencing data with automated interpretation
  • Structural Biology — Fetch and render 3D protein structures from PDB with PyMOL
  • Data Visualization — Create volcano plots, heatmaps, and expression figures from CSV data
  • Literature Search — Query PubMed for recent papers with structured summaries
  • Image-based Wet-Lab Interpretation — Analyze gel/blot photos captured from camera or uploaded in chat (e.g., SDS-PAGE lane quality and target-band checks)
  • Workspace Management — Triage files, recommend analysis steps, and manage shared group workspaces

Results — including images, plots, and structured reports — are delivered directly back to the chat.

What's New

Recent updates make BioClaw feel much closer to a real multi-chat research workspace:

  • Multiple web chats, each with its own memory — the local web UI now lets you open separate threads like ChatGPT, so one chat can stay on literature search while another focuses on QC or plotting.
  • A built-in control layer in chat — you can now manage the current thread directly in chat with commands like /status, /doctor, /threads, /new, /use, /rename, /archive, /workspace, /provider, and /model.
  • Host-side SSH straight from chat — you can type ssh or ssh -- in the chat box and BioClaw will run it from the host using your configured SSH aliases.
  • Per-thread working directory — /dir lets each thread remember its own default folder inside the workspace, so different chats can work in different subdirectories without stepping on each other.
  • Reusable shortcuts for recurring workflows — /commands and /alias let you save common prompts as short commands, so repeated lab routines do not need to be typed from scratch every time.
  • Skill visibility and preference control — /skills shows the installed BioClaw skill modules and lets you mark preferred ones for the current thread or agent.
  • Better local web management — the browser UI now has a thread list, rename/archive controls, and a lightweight management panel for status and diagnostics.
  • Quick OpenRouter health check — npm run check:openrouter sends a tiny test request using your current .env so you can tell whether the key works before debugging the full app.

Quick Start

If you're not yet comfortable with Docker, .env, workspaces, allowlists, or mounts, start here instead:

  • docs/BEGINNER_GUIDE.md A step-by-step onboarding doc covering API/provider switching, what a workspace is, when you need an allowlist, how to configure extra mounts, and how to verify the results.

Beginner Guide

Zero-to-first-analysis walkthrough for non-technical users:

  • docs/BEGINNER_GUIDE.md

Prerequisites

  • macOS / Linux / Windows (Windows requires PowerShell 5.1+)
  • Node.js 20+
  • Docker Desktop
  • Anthropic API key or OpenRouter API key

Installation

One-command setup (recommended for first-time users):

macOS / Linux

bash
git clone https://github.com/Runchuan-BU/BioClaw.git
cd BioClaw
bash scripts/setup.sh

Windows (PowerShell)

powershell
git clone https://github.com/Runchuan-BU/BioClaw.git
cd BioClaw
powershell -ExecutionPolicy Bypass -File scripts\setup.ps1

The setup script will check prerequisites, install dependencies, build the Docker image, and walk you through API key configuration interactively.

Manual setup:

bash
git clone https://github.com/Runchuan-BU/BioClaw.git
cd BioClaw
npm install
cp .env.example .env        # Edit with your API keys (see model section below)
docker build --no-cache -t bioclaw-agent:latest container/ # uncomment Dockerfile image source if you meet 100 errors.
npm start

Model Provider Configuration

BioClaw now supports two provider paths:

  • Anthropic — default, keeps the original Claude Agent SDK flow
  • OpenRouter / OpenAI-compatible — optional path for OpenRouter and similar /chat/completions providers
  • OpenAI Codex login — reuse a local codex login / ChatGPT sign-in, no API key required

Create a .env file in the project root and choose one of the following setups.

Option A — Anthropic (default)

bash
ANTHROPIC_API_KEY=your_anthropic_key

Option B — OpenRouter (Gemini, DeepSeek, Claude, GPT, and more)

bash
MODEL_PROVIDER=openrouter
OPENROUTER_API_KEY=sk-or-v1-your-key
OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
OPENROUTER_MODEL=deepseek/deepseek-chat-v3.1

Popular model IDs: deepseek/deepseek-chat-v3.1, deepseek/deepseek-v4-pro, google/gemini-2.5-flash, anthropic/claude-3.5-sonnet. Full list: openrouter.ai/models

Note: Use models that support tool calling (e.g. DeepSeek, Gemini, Claude). Session history is preserved within a container session; after idle timeout, a new container starts with a fresh context.

Generic OpenAI-compatible setup

bash
MODEL_PROVIDER=openai-compatible
OPENAI_COMPATIBLE_API_KEY=your_api_key
OPENAI_COMPATIBLE_BASE_URL=https://your-provider.example/v1
OPENAI_COMPATIBLE_MODEL=your-model-name

Option C — Reuse local Codex CLI login

bash
MODEL_PROVIDER=openai-codex
OPENAI_CODEX_MODEL=gpt-5.4

Requirements:

  • codex is installed on the host and already signed in
  • ~/.codex/auth.json exists and is valid

BioClaw will reuse the host Codex login and keep Codex thread state inside the group session directory so GPT sessions can resume across messages.

After updating .env, restart BioClaw:

bash
npm run dev

When a container starts, docker logs will show which provider path is active.

Usage

In any connected chat, simply message:

@Bioclaw 

Messaging channels

Supported platforms include WhatsApp (default), Feishu (Lark), WeCom, Discord, Slack (Socket Mode), WeChat (fully supported), QQ and optional local web (browser) chat. Full setup steps, env vars, and disabling channels are in docs/CHANNELS.md (简体中文:docs/CHANNELS.zh-CN.md).

WhatsApp Integration Example

BioClaw supports WhatsApp group workflows for conversational task requests and in-chat delivery of analysis results.

Feishu (Lark) Integration Example

BioClaw also supports Feishu/Lark conversations for interactive task requests and result delivery in chat.

WeCom Integration Example

BioClaw also supports WeCom conversations for team collaboration and in-chat analysis result delivery.

Discord Integration Example

BioClaw supports Discord channel workflows. Screenshot example will be added in a future update.

Slack (Socket Mode) Integration Example

BioClaw supports Slack (Socket Mode) workflows. Screenshot example will be added in a future update.

WeChat Integration Example

BioClaw supports one-click WeChat onboarding and in-chat file handoff workflows (send docs/images, then continue analysis in the same thread).

QQ Integration Example

BioClaw also supports QQ-based conversations for task requests and chat-native result delivery.

Local Web UI (Dashboard) Example

The local web channel includes both chat and the built-in dashboard (Lab trace) for timeline observability.

Lab trace (SSE timeline, workspace tree) is built into the local web UI — no extra config needed. See docs/DASHBOARD.md.

SSH From Chat

BioClaw can execute host-side SSH commands directly from the chat control plane. This is designed for cases like checking a remote login node, tailing a result file, or running a short diagnostic command on another server without leaving the conversation.

Configure host aliases in ~/.ssh/config, for example:

sshconfig
Host lambda-cloud-54-140
  HostName 192.222.54.140
  User ubuntu
  IdentityFile ~/.ssh/zaixi_lambda.pem
  IdentitiesOnly yes

Then use these commands in chat:

/ssh list
ssh lambda-cloud-54-140
ssh lambda-cloud-54-140 -- hostname
/ssh run lambda-cloud-54-140 -- ls -la ~

By default BioClaw reads simple aliases from ~/.ssh/config. To restrict it further, set BIOCLAW_SSH_ALLOWED_HOSTS in .env.

Second Quick Start

Just send the message to OpenClaw:

install https://github.com/Runchuan-BU/BioClaw

See the ExampleTask document for 6 ready-to-use demo prompts with expected outputs.

Demo Examples

Below are live demonstrations of BioClaw handling real bioinformatics tasks across mainstream channels (WhatsApp, QQ, WeCom, WeChat, Feishu/Lark, and local web UI).

1. Workspace Triage & Next Steps

Analyze files in a shared workspace and recommend the best next analysis steps.


2. FastQC Quality Control

Run FastQC on paired-end FASTQ files and deliver the QC report with key findings.


3. BLAST Sequence Search

BLAST a protein sequence against the NCBI nr database and return structured top hits.


4. Volcano Plot Generation

Create a differential expression volcano plot from a CSV file and interpret the results.


5. Protein Structure Rendering

Fetch a PDB structure, render it in rainbow coloring with PyMOL, and send the image.


6. PubMed Literature Search

Search PubMed for recent high-impact papers and provide structured summaries.


7. Hydrogen Bond Analysis

Visualize hydrogen bonds between a ligand and protein in PDB 1M17.


8. Binding Site Visualization

Show residues within 5Å of ligand AQ4 in PDB 1M17.


9. SDS-PAGE Gel Photo Review (WhatsApp Camera/Upload)

Capture or upload a gel image in WhatsApp, then ask BioClaw to assess lane quality and whether major bands match expected targets.


System Architecture

BioClaw is built on the NanoClaw container-based agent architecture, extended with biomedical tools and domain knowledge from the STELLA framework.

…

Key design principles (inherited from NanoClaw):

Component Description
Container Isolation Each conversation group runs in its own Docker container with pre-installed bioinformatics tools
Filesystem IPC Text and image results are communicated between the agent and orchestrator via the filesystem
Per-Group State SQLite database tracks messages, sessions, and group-specific workspaces
Channel Agnostic Channels self-register at startup; the orchestrator connects whichever ones have credentials

Biomedical capabilities (attributed to STELLA):

The bioinformatics tool suite and domain-specific skills — including sequence analysis, structural biology, lite

Issues· 8 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptai-agentsbioinformaticsopenclawpubmed

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库