← In the News

opencode agents can now schedule their own runs

opencode v2.4.0 · opencode · GitHub release notes, November 23, 2026

Machine-readable Download Markdown

The release notes say: "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." Automations are managed with the /automation command or the automation tools, and "automations": false in the config turns them off. A shell action asks for approval once, when it is created, and each run's exit code and output are recorded. The event trigger uses the MCP Events beta, which opencode says it now follows "with argument checks, heartbeats and automatic reconnects."

The desktop app also gets a browser pane that imports sign-ins and browsing history from Chrome, Edge, Firefox or Safari into one persistent profile. The notes say: "The agent can read and drive the same signed-in tabs." A browser deny in the permission rules refuses every agent browser call. Two upgrade notes can break existing setups: GitHub Copilot no longer reads GITHUB_TOKEN and now wants COPILOT_GITHUB_TOKEN or OAuth, and MCP servers with no protocol setting are now tried on the newest protocol first, with protocol: "legacy" for a server that misbehaves.

Why it matters: The scheduler now lives inside the agent. An opencode session can create its own recurring runs, and a shell automation is approved once, at creation, not on each run. Before letting it run unattended, decide which shell commands you are willing to approve on those terms, and whether an agent that runs on a timer should also hold your signed-in browser tabs. The release gives one switch for that: a browser deny rule.