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/copilot/copilot-coding-agent.md
+28-3Lines changed: 28 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,8 @@ Ensure you are signed into the GitHub Pull Request extension with the correct Gi
46
46
47
47
**Optional**: Enable the experimental setting `setting(githubPullRequests.codingAgent.uiIntegration)` to show a **Delegate to coding agent** button in Copilot Chat for easier task delegation.
48
48
49
+
You can also manage coding agent sessions from a dedicated chat editor and view a **Chat Sessions** view by enabling the experimental setting `setting(chat.agentSessionsViewLocation)`.
50
+
49
51
> [!TIP]
50
52
> If you don't have Copilot access yet, you can sign up for the [Copilot Free plan](https://github.com/features/copilot/plans) to get a monthly limit of interactions.
51
53
@@ -91,7 +93,9 @@ You can also hand off work to Copilot coding agent directly from your chat conve
91
93
92
94

93
95
94
-
1. The agent will create a pull request and begin implementing the discussed changes
96
+
1. The agent will create a pull request and begin implementing the discussed changes. When you start a coding agent session (via `#copilotCodingAgent` or with the **Delegate to coding agent** action), the pull request is rendered as a card in the Chat view.
97
+
98
+

95
99
96
100
## Track agent progress
97
101
@@ -121,8 +125,26 @@ The GitHub Pull Requests extension provides a dedicated **Copilot on My Behalf**
121
125
122
126

123
127
124
-
> [!TIP]
125
-
> When working with pull requests created by the coding agent, the `#activePullRequest` tool is automatically enabled for your chat session. This gives chat context about your PR, including what files were changed, who's assigned, and the state (draft or ready for review). You can then ask about this PR and iterate further on it in chat.
128
+
### Manage sessions with dedicated chat editor (Experimental)
129
+
130
+
You can manage coding agent sessions from a dedicated chat editor that enables you to:
131
+
132
+
* Follow the progress of the coding agent in real-time
133
+
* Provide follow-up instructions directly from chat
134
+
* See the agent's responses in a dedicated environment
135
+
136
+
Enable the experimental setting `setting(chat.agentSessionsViewLocation)` to try this feature:
137
+
138
+
* When set to `view`, you'll see a **Chat Sessions** view in the VS Code Side Bar for managing local and coding agent sessions
139
+
140
+

141
+
142
+
* When set to `showChatsMenu`, coding agent sessions appear alongside local chat history
143
+
144
+

145
+
146
+
Pull requests created by the coding agent are also rendered as cards in the Chat view when you start a session, providing better visual integration.
147
+
126
148
127
149
### Cancel a running session
128
150
@@ -165,6 +187,9 @@ You can guide the agent's work through pull request comments. Make sure to tag `
165
187
166
188
The agent will respond to your feedback, make the requested changes, and update the pull request.
167
189
190
+
> [!TIP]
191
+
> When working with pull requests created by the coding agent, the `#activePullRequest` tool is automatically enabled for your chat session. This gives chat context about your PR, including what files were changed, who's assigned, and the state (draft or ready for review). You can then ask about this PR and iterate further on it in chat.
192
+
168
193
## Frequently asked questions
169
194
170
195
### What's the difference between Copilot coding agent and agent mode?
* [@adityavc (Aditya Chittari)](https://github.com/adityavc): #134898 - trimming whitespace when deleting new line character [PR #210870](https://github.com/microsoft/vscode/pull/210870)
0 commit comments