Open-source Go port of Claude Code CLI released as claw-code-go

✍️ OpenClawRadar📅 Published: April 14, 2026🔗 Source
Open-source Go port of Claude Code CLI released as claw-code-go
Ad

Developer /u/dolm09 has released claw-code-go, an open-source Go port of the Claude Code CLI based on recent leaks. The project contains almost 10,000 lines of code and produces a single self-contained executable binary.

Key Features

  • Full CLI with TUI using bubbletea for terminal UI
  • Multi-provider support: Anthropic, OpenAI-compatible endpoints, Bedrock
  • MCP (Model Context Protocol) client
  • OAuth + API key authentication flows
  • Tool execution engine supporting bash, file read/write, search, and other operations
  • Permissions and safety layer
  • Conversation compaction
  • Session persistence
Ad

Technical Details

The original Node.js implementation requires approximately 300MB when including dependencies. The Go port compiles to a single binary that can be cross-compiled for Linux/ARM architectures, enabling it to run on Raspberry Pi devices, VPS instances, and GitHub Actions runners without requiring a runtime environment.

The developer notes this portability matters for headless operation within other tooling. Current implementation status: the project builds and runs with core tools functional. Not all original features are ported—specifically, Anthropic-proprietary cloud infrastructure components were intentionally omitted. However, the core agentic loop, tool use functionality, and TUI are reported as solid.

Project Status and Contribution

The repository is available at github.com/daolmedo/claw-code-go. The developer welcomes pull requests and issues, particularly around the MCP implementation and permission model, which they note could benefit from additional review.

📖 Read the full source: r/openclaw

Ad

👀 See Also