A functionality-first AI agent, distributed as a single Go binary.
README
A functionality-first AI agent, distributed as a single Go binary. Speaks two native API protocols — Anthropic Messages and OpenAI Chat Completions — and works against any compatible third party (DeepSeek, Kimi, Bailian, OpenRouter, vLLM, …). Aims for three equal interfaces: CLI, Web, and IM.
Pre-1.0. All three interfaces are live: the CLI (an interactive TUI in a terminal, a headless agentic one-shot everywhere else), a local web server (
octo serve), and an IM bridge (running insideocto serve; WeChat iLink, Feishu, DingTalk, WeCom, Discord, Telegram). On top of the agent loop there are skills, MCP clients, OS-level sandboxing, persistent memory, sub-agents, and a task graph for autonomous multi-step goals.
Prebuilt binary (no Go toolchain needed). Grab the archive for your OS/arch
from the latest release,
unpack it, and put octo on your PATH:
# macOS (Apple Silicon) example — swap the asset name for your platform
curl -sSL https://github.com/Leihb/octo-agent/releases/latest/download/octo_<version>_darwin_arm64.tar.gz | tar xz
sudo mv octo /usr/local/bin/
octo version
Archives ship for linux / darwin / windows on amd64 + arm64; checksums.txt
in each release verifies the download.
From Go:
go install github.com/Leihb/octo-agent/cmd/octo@latest
**Fro