OpenCode v2.2.1
OpenCode v2.2.1 adds a /goal command that keeps a session working until a reviewer confirms the objective is met, opt-in scheduled prompts and an opt-in image generation tool, plus a redesigned default model picker in the desktop app.
Why it matters
For developers using the open-source OpenCode coding agent, it can now keep chasing a goal or run prompts on a schedule without being re-prompted, and it can make images inside the same session. Anyone importing the @opencode/ai package directly needs to check the breaking changes.
What's new
- /goal keeps the session going until a reviewer confirms the goal is met, with /goal pause, /goal resume and /goal clear.
- Opt-in scheduled prompts through /schedule, agent tools and the experimental.schedules setting.
- Opt-in image_generate tool (enable experimental.image_generate) for creating and editing images; GPT Image 2 is offered after Codex sign-in, with MiniMax and Meta Muse support added.
- Desktop: click a running shell to see its live output and stop it; the redesigned model picker is now the default.
- Breaking for @opencode/ai users only: the fal, Black Forest Labs, Replicate and Stability providers and five legacy entry points were removed; the CLI, Desktop and HTTP API are unaffected.
Taken from the project's own release notes. Claims about speed or accuracy are the maker's unless stated otherwise.
Worth knowing: Scheduled prompts and image generation are opt-in experimental settings.
Quick facts
| Pricing | Free; you pay your own model providers |
|---|---|
| Free or paid | Free (open source) |
| License | MIT |
| Language | TypeScript |
| Platform | Terminal (TUI), desktop app and HTTP API |
| GitHub stars | ★ 222,937 (as of 2026-10-29) |
| Maker | Anomaly (anomalyco on GitHub) |
Links
- Official site: https://opencode.ai
- Repository: https://github.com/anomalyco/opencode
- Release notes: https://github.com/anomalyco/opencode/releases/tag/v2.2.1
- Docs: https://opencode.ai/docs
Related ranking
See how established tools compare in Best AI Coding Tools for Developers. New releases aren't scored until we review them against the rubric.
Checked 2026-10-29 from the release notes's own pages. Prices and star counts change, so confirm on the official site. Listing here is not a ranking or an endorsement.
One email a week on AI that saves business owners time
Every Friday: one tool pick with the business use case, what changed in tools you already use, and the week's AI news in plain English. No spam.
Free. Unsubscribe any time. See our privacy policy.