Key Info
OpenCode 2.4.0 ships a new automation tool that lets an agent create automations running on a schedule or reacting to MCP events, triggering prompts, shell commands, or code-mode scripts that can access MCP tools.
Highlights
- Automations can be time-scheduled or triggered by MCP events
- Each automation can fire a prompt, a shell command, or a code-mode script
- Code-mode scripts can call the MCP tools already connected to the agent
- Author reports an agent used it to watch email, handle incoming domain-purchase instructions, and set up Cloudflare end to end