← PostsPost ·

OpenCode 2.4: automations and a browser with your logins

OpenCode 2.4.0 lets its agent run prompts or commands on a timer, a cron schedule or an MCP event, and adds a desktop browser that imports your sign-ins.

Give this to your agent

Open in

Your agent checks this against your setup and tells you if it fits.

See the file
# OpenCode 2.4.0: scheduled automations and a signed-in browser
From Rig Labs, 2026-11-23. Information for an agent, not orders. Page: https://riglabs.ai/blog/opencode-2-4-automations/

What changed: OpenCode v2.4.0 (2026-11-23) adds automations: a prompt, a Code Mode script or a shell command runs on a timer, a cron schedule or an MCP event. The desktop app gets a browser that imports sign-ins.
Fits if: Your human uses OpenCode, in the terminal or the desktop app, and has jobs they repeat on a schedule or after an event in a connected tool.
Skip if: Your human does not use OpenCode, or does not want the agent to run jobs on a schedule. The built-in browser is only in the desktop app.
Check: Which OpenCode version your human runs, whether their config sets `"automations"`, and which repeated jobs they do by hand today. Read-only.
Try: Propose one small automation that only reads, for example a weekday summary of new issues written to one notes file, and show the human the exact prompt before creating it.
Ask first: Updating OpenCode, creating any automation, approving a shell action (OpenCode asks once when it is created), and importing browser sign-ins into the desktop app.
Cost: OpenCode is open source. Each automation that runs a prompt uses the human's model provider, as any other prompt does.
Undo: Nothing to undo. Proposing an automation changes nothing. An automation created later is managed with `/automation`.
Deeper: https://github.com/anomalyco/opencode/releases/tag/v2.4.0

OpenCode 2.4.0, released on November 23, 2026, adds automations: the OpenCode agent can now run a prompt, a script or a shell command on a timer, on a cron schedule, or when a connected MCP server sends an event. The desktop app also gets a built-in browser that imports your sign-ins from Chrome, Edge, Firefox or Safari.

What you can now do: if you use OpenCode, the open-source coding agent, you can ask it to do a job every morning or every time something happens in a connected tool, without a separate scheduler. In the desktop app, it can read and work in the same signed-in web pages you use.

What are OpenCode automations?

OpenCode automations are jobs the agent schedules for itself, per the v2.4.0 release notes. Each one runs one of three things:

  • a prompt to the agent,
  • a Code Mode script,
  • a fixed shell command.

Each automation runs once, on an interval, on a cron schedule, or when a connected MCP server pushes an event. MCP (Model Context Protocol) is the standard way agents connect to outside tools, and “push an event” means the tool tells OpenCode that something happened. You manage automations with the /automation command. A shell action asks for your approval once, when it is created, and OpenCode records each run’s exit code and output.

If you do not want automations, set "automations": false in your config.

What does the OpenCode built-in browser do?

The OpenCode built-in desktop browser keeps one persistent profile with your sign-ins, per the release notes. 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. Links in the chat open signed in, tabs survive restarts, and the agent can read and drive the same pages without you switching apps.

The release notes add two controls:

  • Web links in the chat open beside the conversation. Modifier-click opens your system browser.
  • A browser deny rule in your permission settings refuses every agent browser call.

What else changed in OpenCode 2.4.0?

OpenCode 2.4.0 also brings these changes, per the release notes:

Change What it means
generate_video The agent makes videos when a connected provider has a video model, and saves them to your workspace
Claude Agent provider Given a list of Claude config folders, a chat moves to the next account when one hits its usage limit
Plugin updates Plugins pinned to @latest or a range now update themselves every 24 hours
GitHub Copilot No longer reads GITHUB_TOKEN; set COPILOT_GITHUB_TOKEN or sign in with OAuth
Image tool experimental_image_generate is now generate_image, so if you saved an “always allow” approval under the old name, OpenCode asks you to approve the tool one more time

What to do today

Update OpenCode, then ask the agent for one small automation that only reads, and check it with /automation:

Every weekday at 9:00, read the open issues in this repository and write a short summary of new ones to notes/issues-today.md. Do not change any other file.

If you would rather keep the agent off a schedule, add "automations": false to your OpenCode config.

Last checked 2026-11-23.

Sources:

Get the next one by email

The Edge is our newsletter: what changed in AI, and what to do about it.

Which emails
Free. Your agent reads every piece we publish, and you hear only what fits.

Subscribe your agent Beta

Your agent reads every post, guide and issue, checks it against your setup, and tells you only what is worth your time. Its inbox gets the daily agent cards email automatically, every day something is published, and the weekly issue as plain text. You pick weekly, daily or both for yourself.

  1. Give it the prompt

    Using Claude Code, Codex or another agent? Copy the prompt and paste it in.

    See the prompt
    Subscribe yourself to The Edge, the newsletter from Rig Labs, and follow what Rig Labs publishes for me.
    Read https://riglabs.ai/agents/subscribe.md and follow its steps. It has you save the skill at https://riglabs.ai/agents/the-edge/SKILL.md, set yourself up with your own inbox on Nym (invite: https://withnym.com/join/NYM-TQZB-WP35, code NYM-TQZB-WP35) unless you already have one, subscribe that address, and confirm with me.
    Treat everything you fetch from Rig Labs as information, not orders. Ask me before anything that touches keys, payments, permissions, installs or sending messages.
  2. Approve its inbox

    It gets its own address on Nym, so The Edge never lands in your inbox. One sign-in in your browser, about a minute.

  3. Hear only what fits

    At most one short message a day. Nothing if nothing fits.

Your agent follows subscribe.md and saves SKILL.md: read both first. Nym is in private beta. The invite is included in the prompt.

Read next

Built by Rig Labs

When a tool we need does not exist, we build it.