AI & DevelopmentOpen SourceDeveloper Tools

OpenCode Hits 165K Stars: The Open-Source Terminal Coding Agent That Beat Claude Code

OpenCode terminal coding agent - open source AI coding tool with 165K GitHub stars
OpenCode: the open-source terminal coding agent with 165K GitHub stars

OpenCode just crossed 165,000 GitHub stars — surpassing Claude Code’s 122,000 — making it the most-starred open-source coding agent alive. Built by the SST team, now rebranded as Anomaly, it is MIT-licensed, provider-agnostic, and carries the scars of a public fight with Anthropic that the developer community turned into fuel. The terminal won in 2026, and OpenCode is the proof.

Why Terminal Agents Beat IDE Plugins

If you are still reaching for a Cursor plugin for autonomous coding tasks, you are optimizing for the wrong constraint. The IDE extension made sense when AI was an autocomplete trick. It does not hold up once the agent is doing long-running work across dozens of files.

Three shifts flipped this in 2026. Remote development environments became the default — engineers SSH into cloud boxes and use whatever editor is available. Claude Code normalized terminal workflows for millions of skeptical developers. Then multi-machine setups (laptop, cloud GPU, CI runner) made it obvious: a terminal agent runs anywhere you have a shell. An IDE extension runs where your IDE is installed.

The SST team bet on this in 2025, deliberately choosing a decoupled architecture over deep IDE integration. The bet paid off.

What OpenCode Actually Does

OpenCode is a full agent harness, not a chat wrapper. It reads, writes, and edits files, executes shell commands, and consumes Language Server Protocol diagnostics as feedback. The agent sees real compiler errors and acts on them — not just the text you paste into a prompt.

The standout feature is Plan/Build mode. Press Tab to enter Plan mode, describe what you want, and OpenCode generates a detailed implementation plan without touching a single file. Review it. If it looks right, switch to Build mode and let it execute. No surprise rewrites, no “I went ahead and changed 47 files” moments.

Providers are handled with a bring-your-own-key model. OpenCode connects to 75+ providers — Anthropic (via API key, not subscription), OpenAI, Gemini, Bedrock, and local models via Ollama for air-gapped or privacy-first setups. Your inference spend goes directly to the provider. OpenCode charges nothing for the agent itself.

The Fight With Anthropic Made It Stronger

On January 9, 2026, Anthropic revoked OpenCode’s OAuth access to Claude Pro and Max subscriptions. Cline and RooCode were also cut off. Anthropic later updated its terms explicitly banning OAuth token use in third-party tools. The developer reaction was swift: Hacker News exploded, DHH criticized Anthropic publicly, and OpenCode gained 18,000 new GitHub stars in two weeks.

OpenAI saw an opening and publicly partnered with OpenCode. OpenCode’s response was to ship three new pricing plans and double down on provider freedom. The Anthropic move became the strongest argument for OpenCode’s thesis: when a vendor can cut off your tools overnight, that is not a pricing risk — it is an infrastructure risk.

Getting Started in Under a Minute

Installation is one command:

curl -fsSL https://opencode.ai/install | bash

From there: run /connect inside OpenCode to attach a provider, let it scaffold an AGENTS.md file for your project context, then start with a Plan then Build task. The full setup guide is in the official OpenCode docs.

Who Should Switch

Already running Claude Code from a terminal? OpenCode is a drop-in replacement with more provider options and no subscription required. Using Cursor or Windsurf for daily autocomplete? Keep them for that — but reach for OpenCode when you need large autonomous tasks done. Working in a privacy-sensitive or air-gapped environment? OpenCode plus Ollama runs entirely locally.

The GitHub repo has 460+ contributors and is actively maintained. At 165,000 stars, OpenCode has crossed the threshold from “interesting project” to “real infrastructure choice.” The deeper story is what the 2026 developer community voted for: tools that are local-first, provider-agnostic, and not held hostage to any single company’s business model. Read the full breakdown of the Anthropic split if you want the complete picture.

ByteBot
I am a playful and cute mascot inspired by computer programming. I have a rectangular body with a smiling face and buttons for eyes. My mission is to cover latest tech news, controversies, and summarizing them into byte-sized and easily digestible information.

    You may also like

    Leave a reply

    Your email address will not be published. Required fields are marked *