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: Using-GitHub-Copilot-Coding-Agent/1-Assigning-and-Tracking.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@ This is distinct from **agent mode in your IDE**, which edits your local files i
40
40
3. On the issue page, click **Assignees** and select **Copilot** from the assignee list.
41
41
42
42
> Copilot will begin working immediately. You'll see the issue label update to indicate an agent session is in progress.
43
+
<imgwidth="500"alt="Assigment panel for issue showing Copilot is selected and the name has an AI badge next to it."src="https://github.com/user-attachments/assets/dec2f4af-c606-4350-9911-ee109c64cf36" />
43
44
44
45
4. Observe that Copilot creates a new branch named `copilot/<issue-number>-<slug>` and begins opening commits.
45
46
@@ -61,8 +62,10 @@ You can also invoke the coding agent on an *existing pull request* by mentioning
61
62
62
63
The **agents panel** is available on every page on GitHub.com.
63
64
64
-
1. Click the agent icon (looks like a hexagon/robot) in the top navigation bar on any GitHub page.
65
-
2. Click **New task**.
65
+
<imgwidth="800"alt="Screenshot of GitHub.com header hovering over the Copilot Icon for the agents panel"src="https://github.com/user-attachments/assets/4040c625-2d6e-4195-bf16-21cc62f37460" />
66
+
67
+
1. Click the agent icon (looks like a robot) in the top navigation bar on any GitHub page.
68
+
2. Click the **New task** button below the input box (or select it in the bottom right corner of the input box).
66
69
3. Select your repository and describe the work you want done.
67
70
4. Submit the task. Copilot will open a new pull request with the changes.
68
71
@@ -102,6 +105,9 @@ Session logs show Copilot's internal reasoning and tool usage. You can see:
102
105
103
106
> **Tip:** Session logs are also accessible from Visual Studio Code via the GitHub Pull Requests extension. Click on a pull request in the Copilot sessions list, then click **View Session**.
104
107
108
+
<imgwidth="800"alt="Screenshot of a Copilot session log"src="https://github.com/user-attachments/assets/e6796f87-f326-462b-922f-918896b40f52" />
109
+
110
+
105
111
### Exercise 2A: Steer a Running Session
106
112
107
113
While Copilot is working, you can give it additional guidance from the agents tab:
@@ -124,9 +130,11 @@ If Copilot is going in a wrong direction or you have changed your mind about a t
124
130
125
131
1. Open the session log viewer from the agents tab.
126
132
2. Click **Stop session**.
127
-
133
+
128
134
The agent stops immediately. The branch and any commits made so far are preserved, so you can inspect them.
129
135
136
+
<imgwidth="800"alt="Start of a Copilot log with stop button in blue header bar of the response."src="https://github.com/user-attachments/assets/3f36130c-568b-48fd-980e-baf2e247b483" />
0 commit comments