daewoochen/claude-code-go
A terminal-native coding agent runtime in Go, powered by Eino.
Platform-specific configuration:
{
"mcpServers": {
"claude-code-go": {
"command": "npx",
"args": [
"-y",
"claude-code-go"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
[](https://go.dev/) [](./LICENSE) [](https://github.com/daewoochen/claude-code-go/stargazers)
A terminal-native coding agent runtime in Go, powered by Eino.
claude-code-go is an opinionated Go implementation of the core runtime ideas behind modern coding agents:
It is designed for people who want the Claude Code style architecture in a Go-first, hackable, open-source codebase.
If you want to build your own terminal agent, internal engineering copilot, or remote coding worker in Go, this repo is meant to save you weeks.
$ go run ./cmd/ccgo run --provider mock "hello from ccgo"
[system] calling model
mock: hello from ccgo$ go run ./cmd/ccgo print --provider mock "use echo from stream mode"
{"type":"system","message":"calling model", ...}
{"type":"tool_result","tool_name":"echo", ...}
{"type":"assistant_delta","delta":"Tool echo returned: ...", ...}
{"type":"result","reason":"completed", ...}| Capability | Status | | --- | --- | | Go-native CLI runtime | Yes | | Eino graph orchestration | Yes | | Multi-turn agent loop | Yes | | Tool registry + permission policy | Yes | | Session transcript + snapshot resume | Yes | |
Loading reviews...