codex
AI coding assistants
Terminal coding agent from OpenAI that runs locally, for developers using OpenAI models
136k 22k today Active Apache-2.0
Replaces Claude Code
Open source terminal coding agent that works with many model providers
Listed by Alston Antony, founder & editor
Health
ThrivingStars
228,888
Last commit
today
Nov 2026
Repository age
1 year
since Apr 2025
Latest version
v1.19.6
Nov 2026
Contributors
–
18 active in 90 days
Releases
25
last 12 months
Language
TypeScript
OpenCode is an AI coding agent that runs in your terminal. It is written in TypeScript, MIT licensed, and works with many model providers instead of tying you to one. A desktop app is available in beta for macOS, Windows and Linux.
It includes two built-in agents you switch between with the Tab key. The build agent has full access for development work. The plan agent is read-only, denies file edits by default and asks before running bash commands, which suits exploring unfamiliar code. A general subagent handles complex searches and multistep tasks.
You can install it with a script, npm, Homebrew, pacman, mise or Nix. It is a direct alternative to Claude Code, OpenAI Codex and GitHub Copilot. It does not offer inline completion as you type, cloud background agents that open PRs, or automated PR code review. A hosted plan exists.
Build and plan agents give you an edit mode and a read-only mode in one tool.
Skip if: You want inline completion while typing.
It is not tied to one vendor's models.
Skip if: You want one vendor's tightly integrated cloud agents.
The plan agent reads code without editing files.
Skip if: You need automated pull request review.
Coding agents from model vendors usually lock you to their models and licenses. OpenCode gives you a terminal agent under the MIT license that works with many providers.
curl -fsSL https://opencode.ai/v2/install | bash From the project's own install instructions. Check the docs for production settings.
Yes, it is MIT licensed. A hosted plan is also offered.
Linux and macOS in the terminal. The beta desktop app also covers Windows.
Use the install script, npm, Homebrew, pacman, mise or Nix.
For agent-style work in the terminal, yes. It has no inline completion as you type.
AI coding assistants
Terminal coding agent from OpenAI that runs locally, for developers using OpenAI models
136k 22k today Active Apache-2.0
Replaces Claude Code
AI coding assistants
Open source AI coding agent for IDE, terminal and desktop, usable with any model
72k 8k yesterday Thriving Apache-2.0
Replaces Claude CodeCursor
AI coding assistants
Terminal coding agent you extend with packages, skills and prompt templates
124k 16k today Thriving MIT
Replaces Claude Code
AI coding assistants
Open source AI agent with desktop app and CLI that works with 85+ model providers
57k 6.7k today Thriving Apache-2.0
Replaces Claude CoworkClaude Code
AI coding assistants
Terminal AI pair programmer that commits its edits to git, for use with any LLM
50k 5.2k 6 months ago Dormant Apache-2.0
Replaces Claude Code
AI coding assistants
Desktop, web and phone interface for running Claude Code, Codex and other coding agents
76k 13k today Active MIT