Goose vs OpenCode

Goose is an open-source, general-purpose agent for coding, research and automation, founded by Block and now at the Linux Foundation, that works with many model providers and adds tools through MCP extensions; OpenCode is an open-source coding agent with a terminal interface, a desktop app and IDE extensions, which works with models from many providers. Side by side, with every command checked.

Updated November 23, 2026 · Checked against Goose 1.52.0 and OpenCode 1.18.32 in EnvHaven v1.9.0

GooseOpenCode
Made byAgentic AI FoundationAnomaly
KindCoding agentCoding agent
Open sourceYes, Apache-2.0Yes, MIT
ModelsMany providersMany providers
Installcurl -fsSL https://github.com/aaif-goose/goose/releases/download/stable/download_cli.sh | bashcurl -fsSL https://opencode.ai/install | bash
Full-access switchexport GOOSE_MODE=autoopencode --auto
Instructions fileAGENTS.md, .goosehintsAGENTS.md, ~/.config/opencode/AGENTS.md
Add an MCP serverConfig fileopencode mcp add
Headlessgoose run -topencode run
Version checked1.52.01.18.32

How to choose

  • If you already pay for a plan from Agentic AI Foundation, Goose is the natural start: ChatGPT Plus or Pro through its ChatGPT Codex provider, GitHub Copilot, and a Claude Code subscription through the claude-acp provider.
  • If you already pay for a plan from Anomaly, OpenCode is the natural start: ChatGPT Plus or Pro, GitHub Copilot, GitLab Duo and SuperGrok sign in from /connect, and OpenCode Go is OpenCode’s own plan.
  • Not sure? Run both on the same task. An EnvHaven workspace has both built in: sign in to each once from the Launch menu, give them the same prompt in two terminal windows side by side, and compare, so the comparison costs one prompt each.

Goose in detail

An open-source, general-purpose agent for coding, research and automation, founded by Block and now at the Linux Foundation, that works with many model providers and adds tools through MCP extensions. Goose starts in autonomous mode (auto) out of the box: it edits, deletes and runs commands without asking. On a machine without a keyring it stores keys in plain text in ~/.config/goose/secrets.yaml.

More: Goose setup and commands, its full-access mode.

OpenCode in detail

An open-source coding agent with a terminal interface, a desktop app and IDE extensions, which works with models from many providers. --auto auto-approves every permission that is not explicitly denied; its help marks it “dangerous!”. Deny rules still apply, and in 1.18 the default rules deny reading .env files.

More: OpenCode setup and commands, its full-access mode.