Skip to content
Esc
↑↓navigate↵open⌘Jpreview
Start
On this page

Automations, goals, and parallel work

Schedule prompts, wake a thread on a loop, set a goal for long-running work, and follow many tasks on Kanban.

Create an automation

Open Automations in the navigation rail and choose New automation.

Automations page with the message 'No automations yet. Schedule a prompt to run on its own, or wake an existing thread on a loop.' and a New automation button.Automations page with the message 'No automations yet. Schedule a prompt to run on its own, or wake an existing thread on a loop.' and a New automation button.
The Automations page before any automation exists. New automation is at the top right.
  1. Enter an Automation title and an Automation prompt, or start from Suggested templates.
  2. Choose the project and where it runs. With a worktree, read Worktree cleanup to see whether generated checkouts and branches are kept. Auto fallback may use local checkout lets a run fall back to your project folder if a worktree cannot be created; leave it off if the task must stay isolated.
  3. Set the Schedule: Manual, Once, Hourly, Daily, Weekdays, Weekly, Custom, or Cron. Check Run at and the Timezone.
  4. Choose the Run mode:
    • Standalone: each run starts its own thread.
    • Dedicated thread: runs continue in one thread.
    • Heartbeat: wakes an existing Target thread on a loop. Set Stop when (for example, “PR is ready to merge”), Max iterations, and what happens On failure.
  5. Choose Notify (All runs or Failed runs only), Permissions (Approval required or Full access), and the agent, model, and account.
  6. Create the automation.

Start with a read-only task:

Inspect this repository for TODOs added since the last run. Group them by
file and report actionable items. Do not edit, commit, push, or deploy.

Automations run in Desktop, so the app needs to be running, and the agent signed in, when a run is due. A run with Approval required can stop and wait for you. Open an automation to see its runs and their threads. Multi-step automations show their steps as a workflow with live status, and let you retry a failed step without losing earlier results.

Settings > Automations controls how Desktop suggests automations for your projects. Turn off or delete an automation you no longer need.

Set a goal for long-running work

For a long investigation or build, choose + > Goal in the composer and describe the outcome, the constraints, when to stop, and how to verify it. The agent keeps working toward the goal across turns; the thread shows when it is pursuing the goal or paused.

A goal does not bypass permissions or guarantee success. Keep important decisions in files and check the result yourself.

Run tasks in parallel

Give each task that edits the same repository its own worktree, and make shared services and ports explicit. Review each task’s evidence before you merge its branch. To run work away from your machine, use a cloud sandbox or connected host.

Kanban shows every task as a card, grouped by project, with the agent, branch, age, and status.

Kanban board titled '2 tasks' with a harbor-web card marked Done on main and a Chats card marked Pending Approval and Awaiting approval.Kanban board titled '2 tasks' with a harbor-web card marked Done on main and a Chats card marked Pending Approval and Awaiting approval.
Kanban with one finished task in harbor-web and one chat waiting for approval.
  • Attention puts tasks that need you first; Classic shows the familiar column layout.
  • Needs review filters to tasks waiting for your review.
  • New task, or + on a column, starts a task in that project.

Open a card’s thread when it needs input. Do not expect local agents to keep working after you quit Desktop.

A useful completion request

Finish this task only after the focused tests and project build pass.
Report the files changed, commands run, their results, and any remaining
limitations. Stop and ask if an external deployment or new account access
is needed. Do not commit or push.

See sessions and context for keeping context, and review and delivery for the final checks.

Last updated on

Was this helpful?

Send Feedback

Help us improve this documentation page. Your feedback is valuable.

We'll only contact you if we need clarification