OpenCode v2.2.6
OpenCode v2.2.6 adds shared MCP connection pooling, opencode run --worktree and --archived, a mobile composer dock, GUI plugin themes/slots, and waits for background jobs before noninteractive runs exit.
Why it matters
For developers using the open-source OpenCode agent who want fewer MCP processes across projects, scripted runs in git worktrees, and more reliable CI exits.
What's new
- Opt-in MCP pooling (pool: true) shares one connection across projects with the same setup.
- opencode run -w/--worktree starts the session in a new git worktree; --archived creates sessions already archived so CI runs stay out of inbox and session lists.
- Noninteractive opencode run waits for background shell/subagent/image jobs and prints waiting for N background job(s); SIGTERM cancels and exits 143.
- Desktop: mobile composer dock for touch; GUI plugins can add themes, code-block actions, and native settings/menu components.
- Security-minded fixes: sandboxed file/media downloads from the server API; webfetch and Code Mode fetch reject credentialed URLs and check redirects against webfetch rules.
Taken from the project's own release notes. Claims about speed or accuracy are the maker's unless stated otherwise.
Worth knowing: Background wait has no time limit—jobs that never exit (dev servers) keep the run open until Ctrl+C/SIGTERM; set a CI timeout.
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 | ★ 225,182 (as of 2026-11-07) |
| 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.6
- 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-11-07 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.