Yesterday I wrote about Automations in the GitHub Copilot app as a hands-on example of Continuous AI — recurring, event-triggered AI tasks running in the background instead of you kicking them off by hand every time.
The inkt is not evey dry, or the same concept landed in the latest VSCode release: the VS Code Agents window now has its own Automations feature (still in preview at the moment of writing this post). Let's take it for a spin.
Turning it on
Automations live in the Agents window sidebar. Two prerequisites:
- Have the Agents window set up with an available agent.
- Enable the
chat.automations.enabledsetting.
Creating one
- In the Agents window sidebar, select Automations, then Create Automation — or start from one of the templates under Start with a template, which pre-fills a prompt and schedule for you.
- Give it a Name and write the Prompt. Be specific about scope and expected output. Straight from the docs, a solid example:
Review all the commits I did the last time I worked on this repository. Summarize them by feature and present them in a nice overview. Do not modify files.
- Choose the workspace the agent should work in, or No workspace for a task that doesn't touch project files. For Git workspaces, you can select New Worktree with a base branch if the agent supports isolation. That worktree option is a nice touch: your recurring automation gets its own branch to work in instead of poking at whatever you happen to have checked out.
- Pick an agent and review the Session configuration: model, permissions, and session mode (Interactive, Autopilot, Plan).
- Set Schedule to Manual first and Create.
Check before you schedule
Click Run now on the automation card. It starts a session, and the run shows up under History. Open it, read the response, check any changes before you trust it.
Only once that first run looks right do you go back in, pick a real Schedule, and save. Compared to the Copilot app, the schedule options here are simpler: Manual, Hourly, Daily, or Weekly with a day and time. No CRON expression, no issue or pull request triggers, this is time-based only, at least for now in preview.
A few operational details are mentioned in the documentation that are worth knowing before you rely on this:
- The machine (or Agent Host process) running the automation needs to stay available. Don't assume a local automation survives you closing VS Code.
- Miss a scheduled run because your machine was off? You might get a catch-up run, but don't count on every missed occurrence being replayed.
- One automation runs one session at a time. A new scheduled tick doesn't stack a parallel run on top of one still going.
Managing them
Editing, disabling, and deleting are all on the automation card or its name:
- Edit the prompt, target, session config, or schedule anytime.
- Disable by clearing Enabled. The automation stays, just stops firing, until you flip it back on.
- Stop a run in progress from History. Disabling doesn't stop something already running.
- Delete removes the automation and its run history for good.
Where this sits
This is the same Continuous AI shape I wrote about with the Copilot app, just moved one layer closer to where the code actually lives. No context switch to a separate app; the automation and the session it produces both live right there in the Agents window, next to the worktree it worked in.
It's still preview, the trigger model is narrower than the Copilot app's, and the docs are upfront that things might change before general availability. Worth trying on something low-stakes first (e.g. a daily commit summary is a good, safe place to start) before you hand it anything that touches production code unattended.