Comparison

Gemini CLI vs OpenCode

How the two compare on the things that decide whether your setup carries over: open standards, license, models and where they run.

Gemini CLIOpenCode
MakerGoogleAnomaly (SST)
LicenseApache-2.0MIT
ModelsGoogle Gemini models75+ providers, including local models
Runs inTerminalTerminal, IDE, Desktop
MCPMCP: supportedMCP: supported
Agent SkillsAgent Skills: supportedAgent Skills: supported
AGENTS.mdAGENTS.md: supportedAGENTS.md: supported
ACPACP: supportedACP: supported

Key differences

  • Both are open source (Apache-2.0 and MIT), so you can inspect and self-host either.
  • Models: Gemini CLI runs Google Gemini models; OpenCode runs 75+ providers, including local models.
  • OpenCode also runs in IDE, Desktop.
  • Both support MCP, Agent Skills, AGENTS.md, ACP, so MCP servers, skills and repo instructions you set up carry over if you switch.

In their own words

Gemini CLI

Google's open-source terminal agent for Gemini models, with MCP servers, extensions, Skills and AGENTS.md support.

OpenCode

Provider-agnostic open-source coding agent for terminal, IDE and desktop. Works with 75+ model providers, including local models.

FAQ

Is Gemini CLI or OpenCode open source?
Gemini CLI is open source under Apache-2.0. OpenCode is open source under MIT.
Do Gemini CLI and OpenCode support MCP servers?
Gemini CLI: yes. OpenCode: yes.
Can I reuse Agent Skills between Gemini CLI and OpenCode?
Yes. Both read the open Agent Skills (SKILL.md) format, so the same skill folder works in both.

Set up MCP servers in either one

More comparisons

Reviewed Oct 5, 2026.