You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/copilot/how-tos/copilot-cli/use-copilot-cli-agents/delegate-tasks-to-cca.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
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.
5
5
allowTitleToDifferFromFilename: true
6
6
product: '{% data reusables.gated-features.copilot-cli %}'
7
7
versions:
@@ -13,9 +13,13 @@ docsTeamMetrics:
13
13
- copilot-cli
14
14
---
15
15
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:
17
17
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
19
23
20
24
There are two ways to use autopilot mode:
21
25
@@ -26,9 +30,7 @@ For more information, see [AUTOTITLE](/copilot/concepts/agents/copilot-cli/autop
26
30
27
31
## Delegate tasks to {% data variables.copilot.copilot_cloud_agent %}
28
32
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:
32
34
33
35
```shell
34
36
/delegate complete the API integration tests and fix any failing edge cases
0 commit comments