Skip to content
OpenCode logo

OpenCode

Open-source coding agent for the terminal, IDE, and desktop, with bring-your-own models.

OpenCode is an open-source coding agent you can run in a terminal, an IDE extension, or a desktop app on macOS, Windows, and Linux. The project says you can use included models or connect Claude, GPT, Gemini, GitHub Copilot, ChatGPT, local models, and 75-plus providers through Models.dev. It also states that it does not store your code or context, which matters for privacy-sensitive environments. Confirm the current license, telemetry, and star counts on the GitHub repository before you treat marketing figures as facts.

License
Open SourceFree
Category
AI Agents
Platforms
MacWindowsLinux
  • 360 likes
  • 4.5(540)
  • 5 alternatives
  • reviews

Features

Key capabilities
Open-source agent runtimeLSP-aware contextParallel sessions on one projectShareable session linksGitHub Copilot and ChatGPT login optionsLocal and third-party model routing

Use cases

Self-hosted or air-gapped coding agentsModel-agnostic agent experimentsTeams that want inspectable source

Research notes

OpenCode is an open-source coding agent for terminal, IDE, and desktop. The project says you can bring your own models, log in with GitHub Copilot or ChatGPT, and that it does not store your code or context. Verify license, telemetry, and current community metrics on the repository before you repeat homepage figures.

Strengths

  • Open source, so you can inspect the agent
  • Model-agnostic routing, including local models
  • Useful escape hatch from a single vendor’s IDE

Tradeoffs

  • You still pay the model provider unless you run local weights
  • Homepage metrics should be checked against GitHub
  • Support and enterprise controls are thinner than Cursor or Copilot
Ideal for: Teams that want an inspectable coding agentIdeal for: Privacy-sensitive environments that reject hosted IDEsIdeal for: Engineers comparing open agents with Claude Code

FAQ

What is OpenCode?

OpenCode is an open-source AI coding agent that runs in the terminal, as an IDE extension, and as a desktop app. You can connect Claude, GPT, Gemini, Copilot, ChatGPT, or local models.

Is OpenCode free?

The agent is advertised as open source and free to install. Model usage follows whatever provider you connect. Confirm the license on the project repository.

What are alternatives to OpenCode?

Claude Code, Cursor, OpenAI Codex, Aider, and GitHub Copilot. OpenCode is the bring-your-own-model, inspectable option on that list.

Alternatives to OpenCode

What is OpenCode?

OpenCode is an open-source coding agent you can run in a terminal, an IDE extension, or a desktop app on macOS, Windows, and Linux. The project says you can use included models or connect Claude, GPT, Gemini, GitHub Copilot, ChatGPT, local models, and 75-plus providers through Models.dev. It also states that it does not store your code or context, which matters for privacy-sensitive environments. Confirm the current license, telemetry, and star counts on the GitHub repository before you treat marketing figures as facts. Teams often evaluate it alongside Claude Code and Cursor when comparing pricing, features, and fit for self-hosted or air-gapped coding agents.

Reviews

Sign in to like this product and leave a review.

  • No written reviews yet — be the first to share a research note.

Related tools