What shipped in OpenCodePage 2 of 2
OpenCode is an open-source coding agent for the terminal. You run it against a repo and connect a model. Use it when you want an alternative to Aider or Claude Code that stays local and open, and you are willing to check the docs for the current provider list.
OpenCode scores 7.4 in Coding and CLI agents. Best for: A local open-source terminal agent. 18 releases, newest first.
OpenCode review · The best AI coding agent in 2026 · Free AI coding tools · Open-source AI coding tools · The best CLI coding agents in 2026 · Weekly archive
Releases
OpenCode 2.2.2
Released October 29, 2026. When a connected provider supports image models, agents can use experimental_image_generate without extra configuration. Set a preferred model with experimental.image_generate.model. On the Desktop new-session screen, clicking the current Git branch opens that project's "Run session in" worktree picker. Timeline quotes, terminal quotes, and browser annotations share a compact optional-comment editor, and source highlights stay attached to local drafts. Classic question cards are the default again. Settings, Experimental, New question UI turns on the redesigned keyboard-oriented dock. The SDK adds if and until inputs for client.experimental.schedule.create, plus schedule check results and output fields.
Source for OpenCode 2.2.2 (opens in a new tab)OpenCode 2.2.1
Released October 29, 2026. Run /goal with an objective in the TUI or Desktop and the session continues until a reviewer confirms the objective is met. /goal pause, /goal resume, and /goal clear control it. Enable experimental.image_generate so agents can create or edit images with the image_generate tool, and optionally set experimental.image_generate.model. Opt-in scheduled prompts are available through /schedule, agent tools, and experimental.schedules. In Desktop, selecting a running shell in the activity pill shows its live output and can stop it, and a redesigned model picker that searches favorites, recent models, providers, and variants is now the default. Codex sign-in can offer GPT Image 2, and MiniMax and Meta Muse image generation are supported. OpenRouter, DigitalOcean, and Venice gain Responses API support, including freeform tools. Breaking changes affect code that imports @opencode/ai directly, not the CLI, Desktop, or HTTP API: the fal, Black Forest Labs, Replicate, and Stability providers and their entry points are removed; five legacy provider entry points are removed in favor of the nested paths 2.2.0 already exports; and each provider's configure() input type is named Config.
Source for OpenCode 2.2.1 (opens in a new tab)OpenCode 1.19.5
Released October 28, 2026. Failed TUI worker requests now return an error instead of leaving the caller hanging.
Source for OpenCode 1.19.5 (opens in a new tab)OpenCode 2.2.0
Released October 27, 2026. Experimental Desktop plugins can be created, installed, and shared, and managed from Settings, Extensions, Plugins. Plugins can attach and update keyed session instructions with ctx.session.instructions.entry.put, list, and remove; each change is added as a small update at the next step instead of editing the system prompt, and the entries survive compaction and reverts without starting an extra model turn. Experimental image and decision generation APIs are available to plugins and the SDK. Prompt-cache TTLs can be set per provider and model, and the Todo tool is restored in the desktop app as an opt-in. Breaking changes: the @opencode/ai package root exports the Promise API and the Effect API moves to @opencode/ai/effect, @opencode/ai/promise is removed, the OpenCode GitHub Action is no longer published, and TUI plugins require OpenTUI 0.7.0. Sign in with ChatGPT adds GPT-6.1 Terra and GPT-6.1 Terra Fast. The release also refreshes the desktop app.
Source for OpenCode 2.2.0 (opens in a new tab)OpenCode 2.1.4
Released October 23, 2026. When an MCP server asks for input during a tool call, the form shows up instead of the call waiting until it times out. Desktop and web can show these forms too, including text, number, choice, multiselect, boolean, and URL requests. Set experimental.background_compaction to true to prepare a summary in the background as a session nears its compaction threshold, so automatic compaction does not wait for it. Summaries that are never used still cost tokens. ChatGPT sign-in context caps are a documented built-in plugin; add "-opencode.provider.openai-context-caps" to plugins to turn them off. An experimental TUI tools option lets agents open and type into the session terminal through tui_open_terminal and tui_write_terminal without taking keyboard focus. SDK clients can call connectClientMcp() to host MCP tools over the experimental client MCP WebSocket transport.
Source for OpenCode 2.1.4 (opens in a new tab)OpenCode 1.19.4
Released October 22, 2026. Upgrades the bundled Bun runtime to 1.4.4. OpenCode says that runtime includes security fixes for Brotli, TLS, HTTP/1.1, HTTP/2, HTTP/3, WebSocket, and fetch, and updates root certificates to NSS 3.131.1.
Source for OpenCode 1.19.4 (opens in a new tab)
Updated