Install
docker run -d --name octopus -v /path/to/data:/app/data -p 8080:8080 bestrui/octopusclaude mcp add octopus -- docker run -d --name octopus -v /path/to/data:/app/data -p 8080:8080 bestrui/octopus{
"mcpServers": {
"octopus": {
"command": "docker",
"args": [
"run",
"-d",
"--name",
"octopus",
"-v",
"/path/to/data:/app/data",
"-p",
"8080:8080",
"bestrui/octopus"
]
}
}
}Install command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →Octopus
A Simple, Beautiful, and Elegant LLM API Aggregation Service for Individuals
English | 简体中文
✨ Features
- 🔀 Multi-Channel Aggregation - Connect multiple LLM provider channels with unified management
- 🔄 Protocol Conversion - Seamless conversion between OpenAI Chat / OpenAI Responses / Anthropic API formats
- 💰 Price Sync - Automatic model pricing updates
- 🔃 Model Sync - Automatic synchronization of available model lists with channels
- 🛡️ Automatic Failover - Automatically switches to an available channel when an upstream channel fails
- 🔍 Real-Time End-to-End Request Visualization - Watch the complete request path in the frontend from the moment the client sends it
- 🚧 Upstream Error Shielding - Intercept all upstream errors to keep agent tasks running without interruption
- 📊 Analytics - Comprehensive request statistics, token consumption, and cost tracking
- 🎨 Elegant UI - Clean and beautiful web management panel
- 📦 Lightweight Single-Binary Deployment - Run as a single binary with no external runtime dependencies
- 🗄️ Multi-Database Support - Support for SQLite, MySQL, PostgreSQL
🚀 Quick Start
🐳 Docker
Run directly:
docker run -d --name octopus -v /path/to/data:/app/data -p 8080:8080 bestrui/octopus
Or use docker compose:
wget https://raw.githubusercontent.com/bestruirui/octopus/refs/heads/master/docker-compose.yml
docker compose up -d
📦 Download from Release
Download the binary for your platform from Releases, then run:
./octopus start
🛠️ Build from Source
Requirements:
- Go 1.24.4
- Node.js 18+
- pnpm
# Clone the repository
git clone https://github.com/bestruirui/octopus.git
cd octopus
# Build frontend
cd web && pnpm install && pnpm run build
# Start the backend service
go run main.go start
💡 Tip: The frontend build artifacts are embedded into the Go binary, so you must build the frontend before starting the backend.
Development Mode
cd web && pnpm install && pnpm run dev
## Open a new terminal, start the backend service
go run main.go start
## Access the frontend at
http://localhost:5173
🔐 Default Credentials
After first launch, visit http://localhost:8080 and log in to the management panel with:
- Username:
admin - Password:
admin
⚠️ Security Notice: Please change the default password immediately after first login.
📝 Configuration File
The configuration file is located at data/config.json by default and is automatically generated on first startup.
Complete Configuration Example:
{
"server": {
"host": "0.0.0.0",
"port": 8080
},
"database": {
"type": "sqlite",
"path": "data/data.db"
},
"log": {
"level": "info"
}
}
Configuration Options:
| Option | Description | Default |
|---|---|---|
server.host |
Listen address | 0.0.0.0 |
server.port |
Server port | 8080 |
database.type |
Database type | sqlite |
database.path |
Database connection string | data/data.db |
log.level |
Log level | info |
Database Configuration:
Three database types are supported:
Similar plugs
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Bash is all you need - A nano claude code–like 「agent harness」, built from 0 to 1
Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro,…
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini…