01Watch & read
OpenCode 2.4 Adds a Browser and Scheduled Agents
25 Nov 2026 · 10:52
Watch on YouTube ↗OpenCode 2.4 adds browser control in its desktop app and automations triggered by a schedule or an MCP event. Here’s what those features do, what the docs leave open about unattended runs, and how to start with a small, reviewable task. Sources: https://github.com/anomalyco/opencode/releases/tag/v2.4.0 https://opencode.ai/changelog?area=extensions%2Ccore%2Cdesktop https://opencode.ai/docs/tools/ https://opencode.ai/docs/api https://x.com/opencode/status/2124880000000000000 https://x.com/search?q=%22OpenCode%202.4.0%22&src=typed_query
Chapters
Commands & links
Article
Away
An agent that works while you’re away sounds useful. The harder question is what it can do unsupervised. OpenCode version two point four point zero adds a desktop browser and automations that run prompts, scripts, or shell commands. Those actions can start on a schedule or an MCP event, instead of waiting for you to open a session.
That changes the question from how to summon an agent to how to supervise one that starts on its own. OpenCode’s changelog dates the release to November twenty-third, twenty twenty-six. It groups browser control, automations, and video generation in the same release. We’ll focus on the browser and automations because they change how and when work can happen.
A release note tells us what OpenCode says shipped. It doesn’t, by itself, settle how reliable unattended runs are. A coding agent usually waits for you to open it, give it context, and ask it to work. With automations, a clock or an event can start the task instead.
The agent is still doing a task you configured. The shift is that the start no longer needs your attention. That is useful for recurring checks, but it moves permissions, credentials, and follow-up into the design.
The loop
Think of an automation as three parts: a trigger, an action, and a run record. The trigger decides when work begins. The action says what OpenCode should do. The trigger might be time based, or it might respond to an MCP server event.
Then, for shell automations, the changelog says each run records its exit code and output. The first action is a prompt: ask the agent to inspect something or produce a result. The second is a Code Mode script. The third is a shell command.
These are different levels of control. A prompt describes a task, while a shell command directly invokes a command. Choose the smallest action that can do the job, especially while learning what unattended execution looks like. OpenCode’s announcement describes all three action types: prompts, shell commands, and Code Mode scripts.
That makes the feature broader than a recurring reminder. It can initiate actual work in your development setup. A prompt delegates a task to the agent. A shell action executes a command you specified.
Treat those as different permission surfaces, and make sure the task’s expected result is easy to inspect. A useful first task is narrow: ask for a status summary about one known project file. A summary is easier to review than an automated edit, because you can compare the answer with the source yourself. Avoid starting with a command that can modify production data or send messages.
The point is to learn the run behavior before increasing the task’s blast radius.
Triggers
The changelog describes three ways to start an automation. A timer can mean a specific time or a recurring interval. Cron gives you a schedule expression. An MCP server event can also trigger a run when that event happens.
These options answer different needs: a fixed time, repeated checks, or action in response to a signal. The API describes actions at a specific time, at intervals, or on a cron schedule. For an MCP event watch, the docs say creation requires the automation_create tool in a local session. That detail matters: event driven setup is not simply a URL you paste into a dashboard.
The API documents the trigger shapes, but it labels automations experimental and warns compatibility may change. To manage automations, the changelog points to the slash command slash automation. That gives you a place to create and manage them within the OpenCode workflow. The supplied research does not show every screen, setting, or failure path.
So keep the claim narrow: this is the documented management entry point, not proof of a full monitoring console. OpenCode describes automations as running on a schedule or reacting to MCP events. The design choice is whether work should start at a predictable time or when something changes. A scheduled summary may make sense at a regular interval.
An event watch is tied to a signal. Start with one trigger and one action, then inspect what the run actually did.
Browser
The browser addition is specifically for the desktop app. OpenCode says you can import sign-ins and browsing history from Chrome, Edge, Firefox, or Safari. The browser profile keeps tabs across restarts, so a future session can return to persistent browser state. That persistence may save setup, but it also makes the account and page state part of the automation story.
First, import the browser profile from one of the supported browsers. Next, the agent controls that browser through the browser namespace in Code Mode. The changelog says tabs persist across restarts, so the browser can retain useful context between sessions. But retained state is also consequential.
A signed in page can expose account access, not just a blank web view. The tools documentation describes browser control through the browser namespace in Code Mode. This is the interface the documentation names for controlling the desktop browser. It is not evidence that every OpenCode interface has the same browser feature.
The research ties this feature to desktop, so keep that boundary clear when evaluating it. There is a concrete constraint for file transfers: each transfer is limited to five mebibytes. The tools documentation also says screenshots require a focused, visible tab. That means a screenshot depends on browser state, not only on knowing a page address.
For a practical workflow, verify which tab is focused before treating a screenshot as evidence of the intended page. A sensible first browser task is to open a known page and summarize visible information. Do not infer from sign in import that every site flow will work unattended. A page can change, ask for a challenge, or depend on state the documentation does not promise.
Keep the first task observable: you should be able to compare its output with the page yourself.
Permissions
The changelog says shell automations ask for approval when they are created. That is approval at setup time. The same text says each run records its exit code and output. These are useful controls: one asks you to approve the automation, and one leaves a result to inspect.
The docs do not claim that each run gets fresh approval or that execution is exactly once. Here’s the useful distinction: creation approval is documented, while broader execution guarantees are not. The run record gives you evidence after execution, but it is not by itself a complete monitoring system. A recorded exit code and output can help you review a run after the fact.
Pair small tasks with a place you will actually check their output. The API labels automations experimental and says compatibility may change. That should shape how you use the feature: do not make a critical workflow depend on assumptions the documentation leaves open. A low impact pilot is easier to pause if behavior changes.
Keep the task reviewable, and check the result after each run.
Open questions
Replies to OpenCode’s announcement ask whether a scheduled run starts a fresh agent or resumes an existing session. Another question asks whose credentials an unattended run uses. Those are questions from developers, not confirmed answers from OpenCode in the supplied research. The discussion is limited, so it shows practical uncertainty rather than broad practitioner sentiment.
Before scheduling work, answer those questions for your own setup. Know which account the run can access, and where its output will appear. If session behavior is unclear, use a read only task and observe the result. Those checks make the first run informative without assuming undocumented behavior.
A developer asked whose credentials a three a.m. run would use. The supplied discussion does not establish the product’s answer to that question. Still, the question points to a practical issue: credentials can remain available after you launch a task.
Know which account is signed in before asking an automation to use the browser or run commands. A safe pilot should make the permissions legible before you schedule it. Pick a task with read only access, a clear result, and no external side effects. Decide where you will look for the output, and what a successful result should contain.
Then verify the output manually before allowing the automation to grow.
Small pilot
For example, schedule a prompt to inspect one project file and produce a short status summary. Choose a single trigger, so you know what caused the task to start. After the run, check the output and any recorded exit information. Only then consider adding a script or shell command, with the access those actions require.
Keep the pilot small enough that a missed run is harmless. Prefer a summary over a code change, and a single project over a whole workspace. A bounded task is easier to inspect when the result arrives later, without you watching the run. Then you can tell whether the agent understood the task and whether the schedule behaved as expected.
The changelog gives a direct configuration switch: set automations to false to disable them. That is useful to know before relying on schedules, because you can identify the documented setting that turns automations off. The release notes also mention a Copilot token variable change. That provider detail is separate from browser and automation behavior, so it does not answer the supervision questions.
The documented configuration switch is small and explicit. Set the automations field to false in your config when you need to disable the feature. This is the exact setting named in the changelog. The supplied docs do not specify a fuller rollout or rollback procedure.
There is also video generation in the release, if a connected provider has a video model. That feature is separate from scheduled work, and the research does not describe enough detail to judge its workflow. The main operational change here remains the ability to initiate agent actions on a trigger. That is where questions about unattended access and review matter most.
What changed
Before, the familiar pattern is opening the tool and asking it to work now. With automations, a time or MCP event can start a prompt, script, or shell action. The gain is convenience for recurring work, especially when the task has a clear output. The tradeoff is that supervision moves into setup, permissions, and checking results.
OpenCode 2.4 adds a persistent desktop browser and trigger based automations. The documentation explains creation approval and run output, but leaves guarantees and unattended run details open. Browser control is described for desktop, so do not assume the same feature in every interface. A careful pilot says more than a broad promise about agents working while you sleep.
Recap
By the end, keep three points in mind. First, triggers can start prompts, scripts, or shell commands. Second, approval and run records help, but they do not guarantee full monitoring. Third, start with a read only pilot and verify credentials, session behavior, and output before expanding access.
That is the practical way to judge the feature: small task, visible result, known permissions. Subscribe for more no hype AI breakdowns for builders.