O

Agent harnesses

OpenCode

AI coding agent for the terminal, desktop, and IDE

220,713 stars MIT last push 2026-10-24

OpenCode is an open-source AI coding agent available as a terminal UI, desktop app, and IDE extension. It ships built-in build/plan/explore agents and a permission system for edit, bash, and web fetch tools. OpenCode Go is a $5 first-month, $10/mo subscription for open coding models (GLM 5.x, Kimi K3, Qwen3.8 Max, DeepSeek V4, DeepSeek V4.1 Flash, GPT-5.6 Luna, and more) - it shipped V4.1 Flash day-zero.

GitHub stars

220,713

daily snapshots
2026-09-01 to 2026-10-24

What OpenCode is

OpenCode is an open-source coding agent that runs in your terminal, IDE, or as a desktop app. It emphasizes privacy: it does not store your code or context data.

Key features

  • Open source - full source available.
  • Privacy-first - no code or context stored by OpenCode.
  • 75+ LLM providers - connect Claude, GPT, Gemini, local models, and more.
  • LSP enabled - understands your codebase through language servers.
  • Multi-session - work on several tasks at once.
  • Share links - share conversation links with teammates.

Install

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

Use case

OpenCode is a good fit for privacy-conscious teams that want an open-source agent with broad provider support. The promise of not storing code is meaningful for companies with strict data policies.

License

Open source; check the repository for the exact license.

Honest caveat

OpenCode competes in a crowded space. Its privacy stance is the clearest differentiator; compare feature depth against Cline and Kilo Code before choosing.

At a glance

Who's behind it

SST

GitHub stars
https://github.com/sst/opencode
220,713 stars - updated 2026-10-24
License
MIT
Platforms
cli, desktop
Install
npm i -g opencode-ai
Model support
OpenCode Go subscription ($5 first month, $10/mo) plus bring your own key - Anthropic, OpenAI, OpenRouter, and more