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: docs/4-copilot-agent-mode-vscode.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,10 @@ Even the simplest of updates to an application typically require updates to mult
7
7
8
8
This is where Copilot Agent Mode comes into play.
9
9
10
-
Copilot Agent Mode is built to act more autonomously. It behaves in a similar fashion to a developer, starting by exploring the existing project structure, performing the necessary updates, running tasks like tests, and automatically fixing any discovered mistakes. Let's explore how we can use Agent Mode to introduce new functionality to our site.
10
+
Copilot Agent Mode is built to act more autonomously in your IDE. It behaves in a similar fashion to a developer, starting by exploring the existing project structure, performing the necessary updates, running tasks like tests, and automatically fixing any discovered mistakes. Let's explore how we can use Agent Mode to introduce new functionality to our site.
11
+
12
+
> [!NOTE]
13
+
> While the names are similar, agent mode and coding agent are built for two different types of experiences. Agent mode performs its tasks in your IDE, allowing for quick feedback cycles and interaction. Coding agent is designed as a peer programmer, working asynchronously like a member of the team, interacting with you via issues and pull requests.
11
14
12
15
In this exercise, you will learn how:
13
16
@@ -47,7 +50,7 @@ To make running the website easier, we have provided a script that will start bo
47
50
> [!NOTE]
48
51
> If a dialog box opens prompting you to open a browser window for http://localhost:5100 close it by selecting the **x**.
49
52
50
-
4. Open the website by using <kbd>Ctrl</kbd>-**Click** (or <kbd>Cmd</kbd>-**Click** on a Mac) on the client address (http://localhost:4321) in the terminal.
53
+
4. Open the website by using <kbd>Ctrl</kbd>-**Click** (or <kbd>Cmd</kbd>-**Click** on a Mac) on the client address `http://localhost:4321` in the terminal.
51
54
52
55
> [!NOTE]
53
56
> When using a codespace, selecting a link for the localhost URL from the Codespace terminal will automatically redirect you to `https://<your-codespace-name>-4321.app.github.dev/`. This is a private tunnel to your codespace, which is now hosting your web server!
@@ -111,7 +114,7 @@ In addition, the tests need to run (and pass) before we merge everything into ou
111
114
5. Prompt Copilot to implement the functionality based on the issue we created earlier by using the following prompt:
112
115
113
116
```plaintext
114
-
Please update the site to include filtering by publisher and category based on the requirements from the related GitHub issue in the backlog.
117
+
Please update the site to include filtering by publisher and category based on the requirements from the related GitHub issue in the backlog. The server is already running, so you do not need to start it up.
115
118
```
116
119
117
120
6. Watch as Copilot begins by exploring the project, locating the files associated with the desired functionality. You should see it finding both the API and UI definitions, as well as the tests. It then begins modifying the files and running the tests.
0 commit comments