Skip to content

OpenCode 2.2.1 adds goal-driven sessions and opt-in image generation

Updated OpenCode

Summary

Goal controls, scheduled prompts and background image tools arrive with direct-library breaking changes.

Date
Pricing
Not stated in the sources we cited.

OpenCode 2.2.1 adds /goal <objective> in the terminal and Desktop. A session can continue through progress reviews, with pause, resume and clear controls. This is a workflow mechanism, not a guarantee that an objective will be completed correctly.

Opt-in background work

Scheduled prompts are available through /schedule and experimental configuration. Image creation and editing use the opt-in experimental.image_generate tool, with automatic or configured model selection. Provider availability and billing remain separate from enabling the tool.

Desktop adds live output and a Stop action for background shells. Its redesigned model picker becomes the default, with favorites, recent models and provider search.

Direct-library users need a migration check

The release removes several provider entry points and renames configuration types in @opencode/ai. The notes explicitly distinguish these changes from the CLI, Desktop and HTTP API. Applications importing that library should review the listed replacements rather than assuming a patch-number upgrade is interface-compatible.

See the opencode hub.

More from OpenCode

View all

Questions

What is OpenCode?

OpenCode is an open-source coding agent. The GitHub repository anomalyco/opencode is MIT-licensed and describes the project as the open source coding agent. The website is opencode.ai.

What are OpenCode alternatives?

Cline, Aider, Goose, and Enter Code are the alternatives filed on this site. Cline and Aider are Apache-2.0. Goose is Apache-2.0. Enter Code's launch post describes an open-source Go SDK.

What is the latest OpenCode release covered here?

v2.2.6, published November 6, 2026. It adds MCP connection pooling with pool: true, opencode run --worktree and --archived, GUI plugin themes, and makes opencode run wait for background jobs with no time limit.

Is OpenCode free?

The software license is MIT, so the client itself has no license fee. You still need a model provider. This page does not quote a subscription price.

Filed on Agent Radar. Claims in this note are limited to the sources above.