OpenCode: the open-source AI coding agent that reached 178,000 GitHub stars

OpenCode has become the dominant open-source alternative to Claude Code and Cursor — a terminal-based agent supporting 75+ model providers with full privacy control. 178K GitHub stars and 7.5 million monthly users make it worth understanding.

Most discussion about AI coding tools in 2025 and 2026 has centred on a short list of commercial products: Claude Code, Cursor, GitHub Copilot, Windsurf. But a project called OpenCode has quietly become the most starred open-source alternative — reaching 178,000 GitHub stars, 7.5 million monthly users, and 900 contributors by mid-2026 — and it’s worth understanding what that popularity reflects.

What OpenCode actually is

OpenCode is a terminal-based AI coding agent. It’s closer in spirit to Claude Code than to Cursor: it runs in a terminal user interface, operates as a full agent harness with tool loops, language server protocol integration, and session management, and ships as both a terminal tool and a desktop application for macOS, Windows, and Linux.

The defining feature is model flexibility. OpenCode supports 75+ LLM providers — Claude, GPT, Gemini, Mistral, local Ollama models — and lets you swap providers mid-session. It also runs entirely on your local machine with no code or context data sent to OpenCode’s servers, which matters significantly for teams in regulated industries or working with sensitive codebases.

Why the popularity makes sense right now

OpenCode’s growth reflects something real: a significant market of technical teams who want AI coding assistance without vendor lock-in. The events of June 2026 — Google shutting down Gemini CLI and replacing it with a closed-source alternative — have made that concern more concrete. Teams that built workflows around a single vendor’s free CLI now face either migration or a new payment obligation.

OpenCode’s approach — model-agnostic, privacy-preserving, open-source — is the opposite of that risk profile. If one provider’s pricing changes or their model falls behind, swapping it out is a configuration change, not a migration project.

What it means if you’re commissioning development

For founders and product leads evaluating development partners, this is worth asking about. A team that’s locked into a single AI vendor’s toolchain is making a bet the vendor’s pricing and policies won’t change. A team that works across providers is more resilient as the landscape continues to shift.

The practical implication: the quality of AI-assisted development in 2026 is less about which specific tool a team uses and more about whether they have the expertise to use those tools well and the flexibility to adapt when the tools change. OpenCode’s reach is a signal that serious technical teams are prioritising that adaptability.

We cover our approach to AI tooling and what it means for client projects on our AI-assisted development page.

← All research

More research.

VS Code 1.145 lets Copilot run local automations on a schedule with custom agents

GitHub's 6 November 2026 Copilot weekly release adds cron-scheduled local automations with custom agents in VS Code 1.145, alongside Copilot in JetBrains Air and a unified Copilot CLI settings dashboard.

Read ›

@GitHub in Slack and Teams is generally available: from a chat message to a pull request

GitHub's 6 November 2026 release makes @GitHub in Slack and Teams generally available, letting teams investigate bugs, create issues and open pull requests with an AI coding agent from a chat conversation.

Read ›

GitHub secret scanning cuts false alarms for AWS, Google and Alibaba cloud keys and adds a SpaceX detector

GitHub's 5 November 2026 secret scanning update tightens detectors for AWS, Google Cloud and Alibaba keys, relevant to teams building software with AI coding tools that can paste credentials into code.

Read ›

GitHub's Copilot code review can now be managed by API, with review effort levels and AI credit costs shown

GitHub's 6 November 2026 update lets organisations manage Copilot code review by API and see the review effort and AI credits each AI code review used, a sign AI-assisted development is becoming auditable.

Read ›

GitHub's Copilot impact dashboard now counts chat and VS Code agent use, and drops the 'passive users' label

On 6 November 2026 GitHub added Copilot Chat and the VS Code Agents window to its Copilot impact dashboard, bringing it to nine tracked experiences, and renamed 'Passive users' to 'Chat-first users'.

Read ›

Claude Code 2.1.319: a setting that denies permission prompts so AI agent runs don't stall

Claude Code 2.1.319 (6 November 2026) adds a permissions.denyInsteadOfPrompting setting and moves long MCP tool calls to the background, a sign AI-assisted development is being built for unattended runs.

Read ›

Start a project

Building with AI? Let's talk.

Tell us what you are building. We'll give you an honest view of the right approach.

Start a projectSee our work