Routines
You can now replace the Deck agent with your own Playwright code for a task on a specific source. Your team owns each step as code, and Deck still handles login and MFA before it hands your code a logged-in browser. Sources without a routine keep using the agent, so you choose per task and source.
- Let Deck build it: pick a credential and an example input, and Deck works through the task and writes the routine. Start a build from the task’s Routines tab in the Console, with the Deck CLI, or with
POST /v2/routines/{routine_id}/build. - Write it yourself: run the task once, then work against the logged-in browser yourself or with a coding agent. Save the routine in the Console, with the Deck CLI, or with
POST /v2/routines. - Every change is versioned: each save creates a new version, and retrieving a task run with
include=routinesshows which version ran.