Skip to main content

OpenCode vs Goose

Both are free, open source agents that run almost any model and act without asking by default. OpenCode is built for coding in the terminal. Goose is a general agent with a desktop app first.

OpenCode and Goose are open source coding agents that you pay nothing for. You bring a model provider or sign in with a subscription you already have. OpenCode is an MIT-licensed agent from Anomaly with a terminal UI and a desktop app in beta. Goose is an Apache 2.0 agent with a desktop app and a CLI, and it is part of the Agentic AI Foundation at the Linux Foundation. Facts on this page were checked against each tool's own docs and repository as of December 4, 2026.

Decision Table​

OpenCodeGoose
LicenseMITApache 2.0
OwnerAnomalyAgentic AI Foundation, Linux Foundation
PriceFree. Optional OpenCode Go at $10 per monthFree
Main surfaceTerminal UI, plus a desktop app in betaDesktop app for macOS, Linux and Windows, plus a CLI
Default permissionsAllows every action except reading .env filesAutonomous mode, which runs tools without asking
Best forCoding in the terminal with fine-grained rulesA general agent across desktop, CLI and other apps

At a Glance​

OpenCodeGoose
ModelsAny provider in the models.dev catalog, local models through Ollama, LM Studio or vLLMOver 85 providers, local models through Ollama, LM Studio and others
Subscription sign-inChatGPT Plus or Pro, GitHub Copilot, a Claude plan through a local Claude Code loginChatGPT Plus or Pro, GitHub Copilot, Claude Code and Codex through ACP, Cursor through cursor-agent
PermissionsOrdered allow, ask and deny rules per action and resourceModes: Autonomous, Manual Approval, Smart Approval, plus per-tool Always allow, Ask before or Never allow
OS sandboxNoneNot documented
Built-in agentsbuild, read-only plan, general subagentNot documented
MCPYesYes
Project instructionsAGENTS.md, falling back to CLAUDE.mdAGENTS.md, then .goosehints
Skills.opencode/skills, .claude/skills, .agents/skills.agents/skills, plus .goose/skills and .claude/skills
Reusable tasksCustom agentsRecipes
Headless and CIopencode rungoose run, with -t for a prompt or --recipe for a file

Models and Subscriptions​

Both agents connect to almost any provider, and both can reuse a plan you already pay for. OpenCode reads its provider list from models.dev. It signs in with a ChatGPT Plus or Pro plan, a GitHub Copilot account, or a Claude plan through a local Claude Code login, which needs Claude Code 2.1.248 or later.

Goose lists over 85 providers. It also signs in with ChatGPT Plus or Pro and GitHub Copilot. Its ACP providers drive Claude Code or Codex as a subprocess, and its Cursor Agent provider drives the cursor-agent CLI on your Cursor subscription.

OpenCode also sells OpenCode Go, a $10 monthly subscription to a curated list of models tested for agentic coding, such as Kimi K3, GLM-5.4 and DeepSeek V4 Pro. Go Plus raises the limits for $40. Goose has no subscription of its own. Best Open-Weight Coding Models covers the open models you can run in either.

Permissions​

Both agents trust the model out of the box. OpenCode's base policy allows every action, including edits and shell commands outside the project, and asks only before reading .env files. Its docs warn that shell commands run with your user's filesystem, process and network access.

Goose applies Autonomous mode by default, so it edits and deletes files and runs extensions without asking. Switch with /mode approve to ask before every tool, or /mode smart_approve to ask only for higher-risk actions. For headless runs, Goose's docs set GOOSE_MODE=auto because nothing can answer a prompt.

The difference is granularity. OpenCode rules match an action and a resource, such as deny for one shell command or ask for files outside the project. Goose sets a mode, then lets you override single tools. Neither documents an OS sandbox, so run unattended work in a container or a cloud sandbox.

When to Pick Which​

  • Pick OpenCode if you code in the terminal, want deny and ask rules per command or path, or want a curated model subscription.
  • Pick Goose if you want a desktop app first, an agent for work beyond code, a vendor-neutral foundation project, or reusable recipes.
  • Pick both if your repository has an AGENTS.md and .agents/skills. Both read them.

Alternatives​

Running Several Agents at Once​

To run OpenCode and Goose on the same task, give each its own git worktree so their edits never collide. In Treq, each agent runs in its own workspace, and you review the results side by side.

Sources​

Checked December 4, 2026:

Next Steps​