Coding agents & CLIs
OpenCode
Provider-agnostic, open-source coding agent for the terminal.
- npm weekly downloads
- 2.3M/ week
Install
npm i -g opencode-aiWhy OpenCode over the others
vs Codex & Claude Code — both lock you to one vendor (OpenAI or Anthropic). OpenCode is provider-agnostic: 75+ LLM providers, including Claude, GPT, Gemini, and local models — switch models per task without changing tools. Free models are included, so you can start with zero subscriptions.
vs Cursor — Cursor is an editor you switch into; OpenCode is an agent that runs in your terminal and the editor you already use. Cursor is closed-source and subscription-gated; OpenCode is open-source and free.
The one thing only OpenCode has — bring both your GitHub Copilot and your ChatGPT Plus/Pro subscriptions into one tool. Neither Codex nor Claude Code accepts a Copilot login.
When it's not the right pick
- You want a polished all-in-one editor with inline AI — Cursor fits better.
- You're all-in on OpenAI and want tight cloud-run integration — Codex's
chatgpt.com/codexis more seamless. - You prefer Anthropic's reasoning and don't need other models — Claude Code is simpler.
Quick start
Install it, run opencode, pick a model (free ones included) or sign in with GitHub Copilot / ChatGPT — no API key required to start. Works on macOS, Linux, and Windows.
Privacy-first: OpenCode stores none of your code or context, so it fits privacy-sensitive environments where vendor-hosted agents can't.
More in Tools
View all(10)
AdalAn agentic coding agent by SylphAI that runs specialist worker agents (research, coding, browser use) across your codebase with per-step model switching and sub-agent delegation.Claude CodeAnthropic's coding agent in the terminal — reads the repo, edits files, runs commands, and works with git.
CodexOpenAI's open-source coding agent — runs in the terminal, with IDE, desktop, and cloud surfaces.
CursorAn AI-first code editor, forked from VS Code.
AmpSourcegraph's frontier coding agent for terminal & editor.
herdrTerminal multiplexer for coding agents — panes, detach, and multi-agent sessions.