Project README

Everything you need to install, configure, and troubleshoot AgentBoot.

<img src="pages/assets/banner-en.svg" alt="AgentBoot — One command. Agent ready." width="880">

AgentBoot

Minimal, fast, ready-to-run AI Agent launcher

![Platform](#one-command-install) ![Agents](#supported-agents) ![Model](#models) ![License](LICENSE)

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:

CommandPurpose
agentbootConsole menu (install/uninstall agents, models, mirrors, offline builds) — Chinese UI, English switchable via agentboot lang en
abBuilt-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 install16 mainstream agents, multi-select in the menu
🛟 Built-in fallback agentab: zero third-party dependencies, Agnes by default, offline Linux knowledge base, tool calling, host spec query (ab sys), session persistence
🧠 Model provider managerNamed custom providers, Ollama/LM Studio presets, failover order, connectivity test
🇨🇳 China network adaptiveSwitchable npm mirrors (npmmirror/Tencent/Huawei) & GitHub accelerators (gh-proxy etc.); multi-mirror Node runtimes; Tsinghua PyPI; four-source fallback; proxy support
📴 Verified offline packagesReleases provide Codex and OpenCode slim packs tested through install/run/uninstall; menu [7] builds other Agents on their target platform
➕ Custom agentsAdd anything beyond the registry (npm / pip / script), stored in your home dir
🧹 Safe uninstallMenu [9] or agentboot uninstall <id>; removes owned program files and preserves user data by default
🔐 Verified installEnforced SHA-256, atomic app switching, rollback; custom scripts require HTTPS and avoid shell interpolation
⚡ Measured performanceTLS connection reuse, pre-indexed KB, and an on-device /bench for current network/model conditions

Supported agents (16)#

#AgentCommandVendorOffline
1CoCo AgentcocoBitCookLinux/macOS
2OpenCodeopencodeopencode.ai✓ (v2 native binary from @opencode/cli; x64 baseline fallback)
3Hermes AgenthermesHermes✓ (needs Git)
4Cline CLIclineCline✓
5CodeBuddy CLIcodebuddyTencent✓
6Pi Coding AgentpiEarendil Works✓
7Claude CodeclaudeAnthropic✓
8OpenAI Codex CLIcodexOpenAI✓ (optional preset model configuration)
9Qwen CodeqwenAlibaba✓ (optional preset model configuration)
10MiMo CodemimoXiaomi✓
11OpenClawopenclawOpenClaw✓
12Gemini CLIgeminiGoogle✓
13iFlow CLIiflowiFlow✓
14AideraiderAider AIonline only (pip)
15CursorcursorAnysphereonline only (official signed desktop app in an AgentBoot-owned user directory)
16FreeBufffreebuffFreeBuffonline 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

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#

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.

Security#

License#

MIT