The deciding difference is operational: Goose can run on infrastructure you control, Claude Code cannot. If that constraint is real for you, it settles the choice before anything else is considered.
Anthropic's coding agent — terminal, IDE and SDK, with hooks, skills and MCP built in.
Configure via .claude/settings.json; drop reusable procedures in .claude/skills/.
Block's open-source on-machine agent with an extension system.
| Claude Code | Goose | |
|---|---|---|
| Licence | Proprietary | Open source |
| Pricing | paid | open source |
| Self-hostable | No | Yes |
| Languages | Any language | Any language |
| Install | npm install -g @anthropic-ai/claude-code | brew install block-goose-cli |
| Keys required | ANTHROPIC_API_KEY | None |
The deciding difference is operational: Goose can run on infrastructure you control, Claude Code cannot. If that constraint is real for you, it settles the choice before anything else is considered. Claude Code: Anthropic's coding agent — terminal, IDE and SDK, with hooks, skills and MCP built in. Goose: Block's open-source on-machine agent with an extension system.
Claude Code is a hosted service only. Goose can run on your own infrastructure.
Claude Code is proprietary (paid). Goose is open source (open source).
Every page here answers to Accept: text/markdown and returns the same content at roughly a tenth the tokens. No separate site, no toggle — same URL.
curl -s -H "Accept: text/markdown" https://newagent.build/compare/claude-code-vs-goose