OpenCode

Terminal-based open-source AI coding agent from the SST team with LSP support and many model providers.

Open SourceSelf HostedOffline Capable
0.0 (0)

About

The SST team built opencode as a provider-agnostic coding agent that lives in the terminal, and it has become one of the most popular projects in the category with roughly 190,000 GitHub stars. A responsive TUI handles the interactive session, an embedded LSP layer gives the agent real language intelligence about the codebase, and a client-server design lets the interface attach to sessions running elsewhere, including from a desktop app or IDE extension. It is not tied to any one vendor: models come from Anthropic, OpenAI, Google, local runtimes such as Ollama, or the optional OpenCode Zen service, a curated hosted model endpoint that forms the paid tier on top of the MIT-licensed core. Installation is a one-line curl script, npm, Homebrew, Chocolatey, or Scoop, and configuration lives in plain JSON with support for custom agents, themes, and keybinds. Developers who prefer terminal workflows use it as an open alternative to Claude Code with the freedom to swap providers per task.

Should you use OpenCode?

Pick it when

Pick it if you live in the terminal and want a Claude Code style agent that is MIT licensed and lets you switch between Anthropic, OpenAI, Google, or local Ollama models per task, with LSP context and the option to attach from a desktop app or IDE.

Look elsewhere when

Skip it if you want an editor-first workflow, where Cursor's Tab completion or Zed's native editor fit better, or if you would rather use the agent your model vendor builds, such as Claude Code with its @claude GitHub workflow on an Anthropic plan.

Alternatives to OpenCode

  • Crush

    Also a polished Go TUI with LSP context, 20+ providers, and mid-session model switching, but under FSL-1.1-MIT, which only becomes MIT after two years.

  • Claude Code

    Anthropic's own agent with GitHub @claude integration and a plugin system, but proprietary and requires a paid Anthropic subscription or API access.

  • Aider

    Lands every edit as a git commit with a generated message, so review and undo are plain git, in a simpler pip package without a full TUI or client-server design.

  • Codex CLI

    Apache-2.0 Rust agent with sandboxed command execution and approval modes, but built around OpenAI sign-in rather than any provider you choose.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!