OpenCode 2.4: Power-User Guide to Automations, Browser and Video

Last updated: November 25, 2026

OpenCode 2.4, released on November 23, 2026, lets the agent schedule its own work with automations, adds a built-in desktop browser that keeps you signed in, and can generate videos. It also renames the image tool, changes the default TUI theme and stops reading GITHUB_TOKEN for Copilot.

Contents

What changed in OpenCode 2.4

Anomaly, the company behind the open-source OpenCode coding agent, published OpenCode v2.4.0 on GitHub on November 23, 2026, at about 4:22 a.m. ET. A patch, v2.4.1, followed at about 10:57 a.m. ET. OpenCode runs as a terminal interface (TUI), a desktop app and a web app, according to the OpenCode documentation.

This release follows the one covered in our OpenCode 2.3 background subagents guide. Our earlier OpenCode 2.2 guide covers the /goal command and desktop plugins.

Feature What it does
Automations Runs a prompt, Code Mode script or shell command once, on an interval, on a cron schedule or on an MCP event
Built-in desktop browser One saved profile with imported sign-ins, history and Chromium extensions
generate_video Creates videos through a connected provider’s video model
New TUI look New designs on by default; opencode theme is the new one
Windows taskbar status Shows session progress and flashes when a permission or question waits
Self-updating plugins Plugins pinned to @latest, a range or a Git branch update every 24 hours

Automations and MCP events

Automations are the headline change. According to the v2.4.0 release notes, agents can schedule prompts, Code Mode scripts or fixed shell commands to run once, on an interval, on a cron schedule or when a connected MCP server pushes an event. You manage them with the /automation command or the automation tools.

A shell action asks for approval once, when you create it, and every run records its exit code and output. If you do not want this feature, set "automations": false in your config.

Event-driven automations rely on MCP Events. OpenCode follows the MCP Events beta for push delivery, with argument checks, heartbeats and automatic reconnects. If an event is too large for its prompt, OpenCode skips it and the automation keeps running.

The built-in desktop browser

The desktop app now has a browser pane that keeps one persistent profile. You can import sign-ins and browsing history from Chrome, Edge, Firefox or Safari, and add extensions from Chromium browsers or the Chrome and Edge stores after reviewing what they can access. Your tabs survive restarts, and the agent can read and drive the same pages.

Links in the chat now open beside the conversation. Modifier-click a link to open it in your system browser instead. A browser deny in your permission rules refuses every agent browser call, so you can block agent browsing entirely.

Video and image generation

When a connected provider has a video model, the agent can make videos with generate_video. The job runs in the background, survives a server restart, saves the finished files into the workspace and wakes the agent with their paths. Set a default model with experimental.video_generate.model.

The image tool was renamed from experimental_image_generate to generate_image. Permission rules using the old name are mapped automatically, but saved “always allow” approvals are not, so OpenCode asks once more.

Upgrade notes and breaking changes

The release notes list these upgrade notes:

  • GitHub Copilot token. Copilot no longer reads GITHUB_TOKEN. Set COPILOT_GITHUB_TOKEN or sign in with OAuth.
  • MCP protocol. Servers without a protocol setting are probed on the newest protocol before falling back to the legacy handshake. Set protocol: "legacy" on a server that misbehaves.
  • Plugin auto-updates. Plugins written as name@latest, a version range, a Git branch or a Git semver: range update on startup and every 24 hours. Exact versions and commit hashes do not.
  • OpenCode Go. Connect dialogs and opencode auth login now list one OpenCode option that includes Go models. Saved Go keys keep working.

The MCP servers documentation lists the accepted protocol values as legacy, auto and 2026-07-28.

How to install or upgrade to OpenCode 2.4

The installation instructions offer a script, Homebrew, npm and other package managers.

  1. Install or update the CLI. Run curl -fsSL https://opencode.ai/v2/install | bash, or npm install -g @opencode/cli, or brew install anomalyco/tap/opencode-v2.
  2. Update the desktop app. Download the latest OpenCode Desktop build for macOS, Windows or Linux from the documentation page.
  3. Fix Copilot sign-in. If you used GITHUB_TOKEN, set COPILOT_GITHUB_TOKEN or sign in with OAuth.
  4. Review plugins. Pin an exact version for any plugin you do not want to update on its own.
  5. Decide on automations. Leave them on, or set "automations": false in your config.
  6. Choose a theme. Keep the new opencode theme or select opencode-classic.

The themes documentation says theme selection belongs in ~/.config/opencode/cli.json, for example {"theme": {"name": "opencode-classic"}}, not in opencode.json.

OpenCode 2.4 vs. 2.3

Area OpenCode 2.3 OpenCode 2.4 (Nov. 23)
Scheduling No built-in automations Automations on timers, cron and MCP events
Media tools experimental_image_generate generate_image and generate_video
Default TUI theme Previous theme (now opencode-classic) New opencode theme and designs
Copilot token GITHUB_TOKEN read COPILOT_GITHUB_TOKEN or OAuth
MCP handshake Legacy handshake Newest protocol first, legacy fallback

The 2.3 column reflects what the 2.4 notes describe as the previous behavior. For other agents updated this week, see our Claude Code 2.1.332 guide, Codex CLI 0.172 guide and goose 1.61 guide. If you run local models, our Ollama 0.40.17 guide pairs well with the 2.4.1 fix below.

What the 2.4.1 patch fixes

The v2.4.1 notes list three main fixes. Assistant messages save again on macOS 12, whose system SQLite lacked a JSON operator used in 2.4.0. Providers set up only in your config, such as Ollama, now show their models in /models without a /connect login. Compaction no longer keeps more history than keep.tokens allows.

The patch also adds an experimental experimental.model_speeds option that shows model service tiers as speeds in /speed and /fast.

Limitations

Video generation works only when a connected provider offers a video model, and any generation costs come from that provider. Desktop voice shows as unavailable against a server older than 2.4. OpenCode itself is open source; the documentation lists OpenCode Go as an optional $10 per month subscription for model access.

Frequently asked questions

What is the latest version of OpenCode?

As of November 25, 2026, the latest OpenCode release on GitHub is v2.4.1, published on November 23, 2026. It is a patch for v2.4.0, which shipped earlier the same day with automations, a built-in desktop browser and video generation.

How do I turn off automations in OpenCode 2.4?

Set “automations”: false in your OpenCode config. Automations are on by default in 2.4. When they are on, a shell automation asks for approval once, when it is created, and each run records its exit code and output.

Can OpenCode generate videos?

Yes, from version 2.4. The agent can call the generate_video tool when a connected provider offers a video model. The job runs in the background, survives a server restart and saves finished videos into your workspace.

How do I get the old OpenCode theme back?

Choose opencode-classic as your theme. In 2.4 the theme named opencode is the new design. To also restore the previous TUI layouts, turn off New designs in the Experiments dialog or set experimental new-designs to false in your TUI config.

Why did GitHub Copilot stop working in OpenCode 2.4?

OpenCode 2.4 no longer reads GITHUB_TOKEN for GitHub Copilot, because that variable is often set by git tools without Copilot access. Set COPILOT_GITHUB_TOKEN or sign in with OAuth instead.

Sources

Featured image: “Colorful code” by Markus Spiske via Unsplash, Wikimedia Commons, CC0. Generic photo, not an OpenCode screenshot. FreeAnswers is not affiliated with Anomaly or OpenCode.

Related answers

Leave a Comment