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
|[← Previous lesson: Custom agents][previous-lesson]|[Next lesson: Iterating on coding agent's work →][next-lesson]|
3
+
|[← Previous lesson: Custom agents][previous-lesson]|[Next lesson: Iterating on Copilot's work →][next-lesson]|
4
4
|:--|--:|
5
5
6
-
As the number of agents assigned to various tasks grows you need a centralized location to monitor and guide your agents. [The agents page][agents-page] in Copilot HQ is built to support your agents.
7
-
8
-
From this mission control you can see all sessions, past and present. You can explore the operations performed, and even steer an in-progress session to help guide it.
9
-
10
-
## Scenario
6
+
In the last couple of exercises you asked Copilot coding agent to take on three separate tasks focused on improving the user experience and adding functionality. While coding agent is built to operate asynchronously and autonomously, the ability to monitor these tasks is still important.
11
7
12
-
After assigning the agent to create a high-contrast mode, the team realized it would be a good time to add a light mode as well. Since work was already being done to update the style of the site and add toggle functionality, it seemed logical to include this functionality. You want to update the agent's work to ensure it introduces this update.
8
+
There are numerous tools available to you to manage tasks assigned to coding agent, including [the agents page][agents-page] on GitHub.com. From this mission control you can see all agent tasks with open pull requests (PRs). You can explore the operations performed, and even steer an in-progress session to help guide it.
13
9
14
10
In this lesson you will:
15
11
16
-
- explore the agents page to monitor coding agent sessions.
12
+
- explore the agents page to monitor coding agent tasks.
17
13
- steer an in-flight session to request additional functionality.
18
14
19
-
## Review Copilot coding agent sessions
15
+
## Scenario
16
+
17
+
After assigning the agent to create a high-contrast mode, the team realized it would be a good time to add a light mode as well. Since work was already being done to update the style of the site and add toggle functionality, it seemed logical to include this functionality. You want to steer the agent's work to ensure it adds a light mode as well as high contrast.
18
+
19
+
## Review Copilot coding agent tasks
20
20
21
-
Let's start by seeing the tasks we've already assigned to GitHub Copilot coding agent in mission control.
21
+
Let's see the current status of all tasks assigned to Copilot coding agent.
22
22
23
23
1. Navigate to agents page at [https://github.com/copilot/agents](https://github.com/copilot/agents).
24
-
2. Note the list of sessions, both on the main pane and on the left pane. You should see the list of the tasks you've assigned to Copilot, including:
24
+
2. Note the list of tasks, both on the main pane and on the left pane. You should see the list of the tasks you've assigned to Copilot, including:
25
25
- Updating documentation for your codebase.
26
26
- Generating APIs for modifying products.
27
27
- Adding a high contrast mode for the website.
28
-
3. Select one of the running sessions. Review the tasks which have been performed by Copilot. These can include:
28
+
3. Select one of the running tasks. Review the tasks which have been performed by Copilot. These can include:
29
29
- Checking out the code from the repository.
30
30
- Creating the environment for Copilot to work.
31
31
- Setting up MCP servers.
@@ -38,36 +38,37 @@ Let's start by seeing the tasks we've already assigned to GitHub Copilot coding
38
38
39
39
## Steering coding agent
40
40
41
-
Now that you've seen the sessions which are active, let's request Copilot include the light mode toggle while it works on the high-contrast mode.
41
+
Now that you've seen the tasks which are active, let's request Copilot include the light mode toggle while it works on the high-contrast mode.
42
42
43
43
1. Select the session which refers to adding a high contrast mode. The exact title will vary depending on the name Copilot uses and the current state of work.
44
44
45
45

46
46
47
47
2. Watch the session for a few of minutes, until it indicates it's completed the setup and begun its work. You'll know this has happened when you start seeing messages similar to the ones below.
48
-
49
-
50
-
51
48
3. In the **Steer active session while Copilot is working** dialog, add the following prompt:
52
49
53
50
```
54
-
While we are working on a high contrast mode, let's also add a light mode.
51
+
While we are working on a high contrast mode, let's also add a light mode. There should be a switch for this mode as well where users can select their desired display mode.
55
52
```
56
53
54
+

55
+
57
56
4. Press <kbd>Enter</kbd> to send the prompt.
58
57
5. Notice how Copilot acknowledges the prompt and includes it in its flow.
59
58
60
59
## Let Copilot do its work
61
60
62
-
From here, Copilot will get to work on the updated task! This will take several minutes, so it's a good time to relax and reflect on everything you've learned and explored thus far.
61
+
Just like before, Copilot will get to work on the updated task! It will incorporate the new request into its flow after it completes the particular step it's working on when you sent the message.
62
+
63
+
As before, this will take several minutes, so it's a good time to pause and reflect on everything you've learned and explored thus far.
63
64
64
65
## Summary and next steps
65
66
66
-
This lesson explored Copilot HQ and the agents page, your central hub for monitoring and guiding GitHub Copilot coding agent sessions. With this mission control you can track all active and completed sessions, review the work being performed, and even redirect in-flight sessions to adjust scope or provide additional guidance.
67
+
This lesson explored the Copilot agents page, your central hub for monitoring and guiding GitHub Copilot coding agent tasks. With this mission control you can track all active and completed tasks, review the work being performed, and even redirect in-flight tasks to adjust scope or provide additional guidance.
67
68
68
69
You explored these concepts:
69
70
70
-
- explored Copilot HQ and the agents page to monitor coding agent sessions.
71
+
- explored Copilot HQ and the agents page to monitor coding agent tasks.
71
72
- redirected an in-flight session to request additional functionality.
72
73
73
74
With Copilot completing its work on the accessibility features, we can now turn our attention to our next lesson, [iterating on the pull requests Copilot created][next-lesson]. Mission control provides visibility into agent work and enables dynamic collaboration with coding agents as they work on tasks.
@@ -84,5 +85,8 @@ With Copilot completing its work on the accessibility features, we can now turn
0 commit comments