Claude Code, but you can actually build and run it
An open-source rebuild of Anthropic's Claude Code that adds enterprise features, multi-instance orchestration, and a "poor mode" for the API-budget conscious.

What it does
Claude Code Best (CCB) is a reverse-engineered, buildable fork of Anthropic’s official Claude Code terminal agent. It replicates the core experience—natural language coding assistance in a TUI—while adding features locked behind Anthropic’s enterprise tier or account walls. You install it via npm (claude-code-best) or build from source with Bun.
The interesting bit
The project treats Claude Code as a spec to be reimplemented rather than a black box to be wrapped. The maintainers have added genuine infrastructure: Pipe IPC for multi-instance “swarm” coordination across LAN, Langfuse observability, Sentry error tracking, and a /teach-me interactive tutorial system that quizzes you on the codebase itself. The “Poor Mode” flag (/poor) is a blunt but honest admission that agentic loops burn API credits fast.
Key highlights
- Multi-instance orchestration via Unix domain sockets and LAN auto-discovery (
/pipespanel) - ACP protocol support for Zed, Cursor, and other IDE integrations
- Self-hosted remote control via Docker (use CC from your phone)
- Pluggable model providers: Anthropic, OpenAI, Gemini, Grok via
/login - Voice input, browser automation, web search, and external channel notifications (Slack/Discord/WeChat/Feishu)
- VS Code attach-mode debugging for the Bun runtime
Caveats
- Requires Bun ≥ 1.3.11; the README warns repeatedly that older Bun versions cause “weird bugs”
- npm install is recommended over Bun for global installation, which is slightly awkward for a Bun-centric project
- The build outputs ~450 chunk files; deployment simplicity is not the primary goal
Verdict
Worth a look if you want Claude Code’s UX without Anthropic’s account requirements, or if you need agent swarms and observability in a terminal-first workflow. Skip it if you just want a simple ChatGPT wrapper—this is a full application server dressed as a CLI.