Skip to main content
Browse docs

Automate work with an agent

Rehearse a recurring job and review the pull requests it produces.

On this page

Describe the recurring job

Open an app's Automations tab, select New automation, then choose Do the work and open a pull request. You can also ask a coding agent to repeat a task on a schedule and save the proposal it offers.

Describe one job, such as checking the app's dependencies every Monday and updating the ones that pass tests. Use Done means to define what you expect to see in the pull request. Tell the agent what to do when there is nothing to update, then choose the schedule and Most runs a month.

Rehearse before turning it on

Select Check this automation, then Save and go to rehearsal. Choose Rehearse to run the work once and inspect the task and any pull request it produces. When the rehearsal passes, select Turn on. If you change what the agent is asked to do, rehearse the updated job again.

Review the result of a run

Open Activity to see whether a run completed, had nothing to do, or needs your attention. When it makes changes, review the pull request and decide when to merge it. If the agent gets stuck on a question, a permission prompt, or a conflict, use Open the task to see where it stopped.

For reports, app schedules, and automation permissions, see the automation overview.