AI/TLDR

Anomaly · 2026-04-18 · major

OpenCode — open-source terminal AI coding agent crosses 146k GitHub stars

OpenCode — the open-source, provider-agnostic terminal coding agent — has crossed 146k GitHub stars, now the largest open-source AI coding agent on GitHub. Go + Bubble Tea TUI, 75+ LLM providers, desktop app, client/server mode.

OpenCode GitHub social card — open-source terminal AI coding agent

The largest open-source AI coding agent on GitHub — terminal-first, provider-agnostic, and a viable swap for Claude Code if you want fully open infra.

Key specs

GitHub stars146,000+
Provider count75+
Primary languageGo

What is it?

OpenCode is an open-source AI coding agent that lives in your terminal, written in Go with a Bubble Tea TUI. It has grown from roughly 60k stars in early March 2026 to 146k+ by mid-April — the largest open-source AI coding agent on GitHub, overtaking Claude Code on star velocity. Desktop apps exist for macOS, Windows, and Linux; a client/server mode lets you drive an OpenCode session from a different device.

How does it work?

Two built-in agents ship with the binary: 'build' has full read/write/exec permissions, 'plan' is read-only analysis for review work. The core is provider-agnostic — Claude, OpenAI, Google, or local models via Ollama — so you can route a Claude Max subscription through it or run Qwen 3.6 locally behind the same UI. Native LSP integration means the agent reasons over real language-server diagnostics. Install paths include npm, Homebrew, Scoop, Pacman, and a curl installer.

Why does it matter?

A lot of coding-agent adoption in 2026 is quietly driven by teams that cannot ship client-side integrations with closed CLIs (Claude Code, Cursor) because of data or procurement constraints. OpenCode hitting 146k stars is the clearest signal yet that the open-source track has the traction to keep up with Anthropic on features. For solo devs, being able to swap providers behind one UI is the bigger deal.

Who is it for?

Developers who want a Claude Code / Cursor-style experience without a closed vendor lock; teams running local models.

Try it

npm i -g opencode-ai && opencode

Sources · 2 outlets

Tags

  • opencode
  • coding-agent
  • open-source
  • terminal
  • go
  • tui
  • bubble-tea
  • claude-code-alternative
  • multi-provider
  • trending

← All releases · Learn AI