· Harness/ Head to head

Codex CLI vs Goose

The deciding difference is operational: Goose can run on infrastructure you control, Codex CLI cannot. If that constraint is real for you, it settles the choice before anything else is considered.

Codex CLI

OpenAI's terminal coding agent.

Open source · paid · hosted service only

Goose

Block's open-source on-machine agent with an extension system.

Open source · can be self-hosted

· Side by side/ 4 of 6 differ
Codex CLIGoose
LicenceOpen sourceOpen source
Pricingpaidopen source
Self-hostableNoYes
LanguagesAny languageAny language
Installnpm install -g @openai/codexbrew install block-goose-cli
Keys requiredOPENAI_API_KEYNone
· Common questions/ FAQ

What is the difference between Codex CLI and Goose?

The deciding difference is operational: Goose can run on infrastructure you control, Codex CLI cannot. If that constraint is real for you, it settles the choice before anything else is considered. Codex CLI: OpenAI's terminal coding agent. Goose: Block's open-source on-machine agent with an extension system.

Can Codex CLI and Goose be self-hosted?

Codex CLI is a hosted service only. Goose can run on your own infrastructure.

Are Codex CLI and Goose open source?

Codex CLI is open source (paid). Goose is open source (open source).

Build a stack with Codex CLIAll harness options
· For agents/ This page, machine-readable

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/codex-cli-vs-goose