<img src="pages/assets/banner-en.svg" alt="AgentBoot — One command. Agent ready." width="880">
AgentBoot
Minimal, fast, ready-to-run AI Agent launcher
   
One command to install, mainstream agents to choose from a menu (not a bundle); a built-in fallback agent that always works; verified slim offline and custom-built packages; China-network adaptive out of the box. CLI UI in Chinese by default, English switchable.
Primary entry: boot.ide.pub · Mirror: GitHub Pages
语言 / Language: 中文 README | English (this file)
One-command install#
Linux / macOS
curl -fsSL https://boot.ide.pub/install.sh | sh
Windows (PowerShell)
powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object Net.WebClient).DownloadString('https://boot.ide.pub/install.ps1'))"
Fallback source (GitHub Pages, when ide.pub is unavailable)
curl -fsSL https://bit-cook.github.io/AgentBoot/install.sh | sh
powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object Net.WebClient).DownloadString('https://bit-cook.github.io/AgentBoot/install.ps1'))"
The fallback source is published from the same tree as the primary entry (both/AgentBoot/and/agentboot/spellings work); the installer falls back across Worker → Pages → jsDelivr mirror → GitHub Release download sources, so any single domain going away still completes the install. If every custom domain expires, this domain-free entry still works:curl -fsSL https://github.com/bit-cook/AgentBoot/releases/latest/download/install.sh | sh.
Two commands after install:
| Command | Purpose |
|---|---|
agentboot | Console menu (install/uninstall agents, models, mirrors, offline builds) — Chinese UI, English switchable via agentboot lang en |
ab | Built-in fallback agent — free Agnes model, zero config |
The one-liner installs AgentBoot itself only — which third-party agents to install is always your choice in the menu.
Features#
| 📦 Choose what to install | 16 mainstream agents, multi-select in the menu |
| 🛟 Built-in fallback agent | ab: zero third-party dependencies, Agnes by default, offline Linux knowledge base, tool calling, host spec query (ab sys), session persistence |
| 🧠 Model provider manager | Named custom providers, Ollama/LM Studio presets, failover order, connectivity test |
| 🇨🇳 China network adaptive | Switchable npm mirrors (npmmirror/Tencent/Huawei) & GitHub accelerators (gh-proxy etc.); multi-mirror Node runtimes; Tsinghua PyPI; four-source fallback; proxy support |
| 📴 Verified offline packages | Releases provide Codex and OpenCode slim packs tested through install/run/uninstall; menu [7] builds other Agents on their target platform |
| ➕ Custom agents | Add anything beyond the registry (npm / pip / script), stored in your home dir |
| 🧹 Safe uninstall | Menu [9] or agentboot uninstall <id>; removes owned program files and preserves user data by default |
| 🔐 Verified install | Enforced SHA-256, atomic app switching, rollback; custom scripts require HTTPS and avoid shell interpolation |
| ⚡ Measured performance | TLS connection reuse, pre-indexed KB, and an on-device /bench for current network/model conditions |
Supported agents (16)#
| # | Agent | Command | Vendor | Offline |
|---|---|---|---|---|
| 1 | CoCo Agent | coco | BitCook | Linux/macOS |
| 2 | OpenCode | opencode | opencode.ai | ✓ (v2 native binary from @opencode/cli; x64 baseline fallback) |
| 3 | Hermes Agent | hermes | Hermes | ✓ (needs Git) |
| 4 | Cline CLI | cline | Cline | ✓ |
| 5 | CodeBuddy CLI | codebuddy | Tencent | ✓ |
| 6 | Pi Coding Agent | pi | Earendil Works | ✓ |
| 7 | Claude Code | claude | Anthropic | ✓ |
| 8 | OpenAI Codex CLI | codex | OpenAI | ✓ (optional preset model configuration) |
| 9 | Qwen Code | qwen | Alibaba | ✓ (optional preset model configuration) |
| 10 | MiMo Code | mimo | Xiaomi | ✓ |
| 11 | OpenClaw | openclaw | OpenClaw | ✓ |
| 12 | Gemini CLI | gemini | ✓ | |
| 13 | iFlow CLI | iflow | iFlow | ✓ |
| 14 | Aider | aider | Aider AI | online only (pip) |
| 15 | Cursor | cursor | Anysphere | online only (official signed desktop app in an AgentBoot-owned user directory) |
| 16 | FreeBuff | freebuff | FreeBuff | online only (free ad-supported coding agent; npm launcher fetches its binary on first run) |
Package names verified on the npm registry. ✓ = offline payload bundled.
Built-in fallback agent (ab)#
Works when everything else fails — a Python standard-library core shipped with i18n and knowledge-base resources:
ab # interactive (Agnes free model by default)
ab run "check disk usage" # one-shot task
ab linux 查看端口占用 # query offline Linux knowledge base
ab doctor # environment check
ab bench # performance benchmark
ab model # provider manager
- Tools: run commands (dangerous blocked/confirmed), read/write/edit files,
search_files, fetch pages - Offline Linux knowledge base: 9 topics, usage / operations / troubleshooting
- Session persistence (
ab -c), streaming output, context auto-trimming
Offline packages#
Download a platform-and-Agent-specific verified pack from Releases. The pipeline runs on a self-hosted runner and verifies install, --version, and uninstall on Linux before uploading; Windows/macOS packs are built on demand via the release-platforms workflow. Build other Agents on their target platform with menu [7] or:
python core/menu.py build-offline win-x64 claude-code,pi
Details: Installation Guide (EN) · 安装指南 (中文)
Models#
- Agnes free model (
agnes-2.5-flash) built-in — zero config; - Custom OpenAI-compatible providers (named), local models (Ollama / LM Studio), failover order;
- Config:
~/.agentboot/config.json; switch language:agentboot lang en.
Uninstall Agents#
Open agentboot and choose [9] Uninstall Agents, or use the CLI:
agentboot uninstall codex
agentboot uninstall codex,qwen-code # batch uninstall
agentboot uninstall coco --purge # also remove CoCo user data
AgentBoot records install ownership and will not remove an unrelated command merely because it has the same name. Normal uninstall removes the program, offline payload, and AgentBoot-owned shim while keeping model config, credentials, and sessions. --purge currently applies to CoCo and removes its user data as well; AgentBoot does not guess at other projects' data directories. Legacy v1.0.0 installs are removed automatically only when their AgentBoot ownership can be proven.
Performance (measured via ab bench)#
ab bench measures KB cold/warm queries and first-token latency for a fresh TLS connection versus a reused connection on the current machine and provider. Results vary by network, model, and region and are not a fixed product guarantee.
Links#
- Installation Guide (EN) · 安装指南 (中文)
- Primary entry: boot.ide.pub · Mirror: GitHub Pages
Security#
- The free Agnes model credentials are built in by design; remove
PRESETS["agnes"]["api_key"]incore/agent.pyif you fork; smartinspects every command-chain segment, blocks dangerous operations, and requires interactive confirmation for ordinary mutations; non-interactive runs never silently approve writes;safepermits read-only commands/tools only. Automation that intentionally mutates the machine must explicitly setconfirm=always.- Online tar/zip archives are fetched with same-origin
.sha256sidecars and verified before an atomic app-directory switch; failed upgrades preserve or restore the previous version.
License#
MIT