Skip to content

Commit c00214c

Browse files
authored
Copilot CLI: Clarify difference between autopilot and delegate (#60888)
1 parent d5dffae commit c00214c

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

content/copilot/how-tos/copilot-cli/use-copilot-cli-agents/delegate-tasks-to-cca.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: Delegating tasks to {% data variables.copilot.copilot_cli %}
3-
shortTitle: Delegate tasks to Copilot
4-
intro: Use {% data variables.copilot.copilot_cli_short %}''s autopilot mode to hand off tasks and have {% data variables.product.prodname_copilot_short %} work autonomously on your behalf.
2+
title: Delegating tasks to {% data variables.product.prodname_copilot_short %}
3+
shortTitle: Delegate tasks to {% data variables.product.prodname_copilot_short %}
4+
intro: Use autopilot mode, or the `/delegate` slash command, to get {% data variables.product.prodname_copilot_short %} to work autonomously on your behalf.
55
allowTitleToDifferFromFilename: true
66
product: '{% data reusables.gated-features.copilot-cli %}'
77
versions:
@@ -13,9 +13,13 @@ docsTeamMetrics:
1313
- copilot-cli
1414
---
1515

16-
## Get {% data variables.product.prodname_copilot_short %} to work autonomously
16+
{% data variables.copilot.copilot_cli_short %} offers two ways to have {% data variables.product.prodname_copilot_short %} work autonomously: **autopilot mode** and the **`/delegate` command**. Both let you hand off tasks, but they differ in where the work happens:
1717

18-
You can tell {% data variables.product.prodname_copilot_short %} to use its best judgment to complete a task autonomously, rather than the CLI prompting you for input at each decision point within a task. You do this by using the CLI's autopilot mode.
18+
* **Autopilot mode** runs locally in your CLI session. You give autopilot full permissions and {% data variables.product.prodname_copilot_short %} then works on a task without stopping to prompt you for input. Your local machine does the work, and you can watch progress in real time. Use autopilot when you want hands-free local execution.
19+
20+
* **`/delegate`** pushes the task to {% data variables.copilot.copilot_cloud_agent %} on {% data variables.product.github %}. The work runs remotely: {% data variables.product.prodname_copilot_short %} creates a branch, opens a draft pull request, and works in the background. Use `/delegate` when you want to hand off a task entirely and continue running even if you shut down your local machine.
21+
22+
## Get autopilot to complete tasks autonomously on your local machine
1923

2024
There are two ways to use autopilot mode:
2125

@@ -26,9 +30,7 @@ For more information, see [AUTOTITLE](/copilot/concepts/agents/copilot-cli/autop
2630

2731
## Delegate tasks to {% data variables.copilot.copilot_cloud_agent %}
2832

29-
The delegate command lets you push your current session to {% data variables.copilot.copilot_cloud_agent %} on {% data variables.product.github %}. This lets you hand off work while preserving all the context {% data variables.product.prodname_copilot_short %} needs to complete your task.
30-
31-
You can delegate a task using the slash command, followed by a prompt:
33+
You can delegate a task to {% data variables.copilot.copilot_cloud_agent %} on {% data variables.product.github %} by using the `/delegate`slash command, followed by a prompt:
3234

3335
```shell
3436
/delegate complete the API integration tests and fix any failing edge cases

0 commit comments

Comments
 (0)