AI AgentsOpen_source
OpenCode logo

OpenCode

Open source AI coding agent for the terminal, IDE or desktop

Overview

About OpenCode

OpenCode is an open source coding agent that runs where you already work: a terminal interface, a desktop app for macOS, Windows and Linux, or an extension inside your editor. It plans the work, edits files, runs terminal commands, checks the result and debugs itself, which is a different shape of tool from an autocomplete that suggests the next few lines and leaves the rest to you.

The part that matters most is what it is not tied to. OpenCode is model-agnostic, reaching 75+ providers through Models.dev, so you can point it at Claude, GPT, Gemini or a model running on your own machine without changing tools. Most coding agents are a front end for one vendor's model, which means your agent choice and your model choice are the same decision. Here they are separate. It also loads the right language servers automatically, so the model sees real type information and diagnostics rather than guessing from raw text. The licence is MIT, and the project offers a paid layer called Zen for people who would rather not manage provider accounts.

Pricing

Usage based, no flat monthly plan

Free tier
  • Open Source$0/mo
  • Zen (Pay as you go)Not listed

From the vendor pricing page, 2026-09-19

Details

GitHub Stars 204,043
Forks 26,627
Data from: GitHub • Website•Updated: Sep 4, 2026
code-generationsoftware-engineeringopen-sourcedebugging