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
JetBrains Copilot CLI and agentic capabilities enhancement (#61842)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: content/copilot/concepts/agents/about-agent-skills.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ contentType: concepts
12
12
---
13
13
14
14
> [!NOTE]
15
-
> Agent skills work with {% data variables.copilot.copilot_cloud_agent %}, {% data variables.copilot.copilot_code-review_short %}, the {% data variables.copilot.copilot_cli %}, the {% data variables.copilot.github_copilot_app %}, and agent mode in {% data variables.product.prodname_vscode %}.
15
+
> Agent skills work with {% data variables.copilot.copilot_cloud_agent %}, {% data variables.copilot.copilot_code-review_short %}, the {% data variables.copilot.copilot_cli %}, the {% data variables.copilot.github_copilot_app %}, and agent mode in {% data variables.product.prodname_vscode %} and {% data variables.jetbrains.prodname_jetbrains_ides %}.
Copy file name to clipboardExpand all lines: content/copilot/concepts/agents/copilot-cli/chronicle.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@ This session data powers several features, available from {% data variables.copi
25
25
26
26
With user-scoped queries, you can only query your own sessions—no one else can access your session data.
27
27
28
+
In {% data variables.jetbrains.prodname_jetbrains_ides %}, `/chronicle` is available in interactive {% data variables.copilot.copilot_cli_short %} sessions, so you can review session history and generate insights without leaving the IDE.
29
+
28
30
This conceptual article explains how session data is stored and synced, and how you can use it to enhance your workflow. For a practical guide to resuming a session, asking {% data variables.product.prodname_copilot_short %} about your CLI sessions, and using the `/chronicle` slash command, see [AUTOTITLE](/copilot/how-tos/copilot-cli/use-copilot-cli/chronicle). For querying sessions from {% data variables.product.prodname_vscode_shortname %}, see [AUTOTITLE](/copilot/how-tos/copilot-on-github/use-copilot-agents/manage-and-track-agents).
29
31
30
32
## How session data is stored
@@ -77,6 +79,8 @@ For the full list of `/session` subcommands, see [AUTOTITLE](/copilot/reference/
77
79
78
80
The `/chronicle` slash command provides purpose-built subcommands for generating insights from your session history, including standup reports, personalized tips, cost analysis, and suggestions for improving your custom instructions. For the full list of subcommands and usage examples, see [AUTOTITLE](/copilot/how-tos/copilot-cli/use-copilot-cli/chronicle#using-the-chronicle-slash-command).
79
81
82
+
If you use {% data variables.copilot.copilot_cli_short %} in {% data variables.jetbrains.prodname_jetbrains_ides %}, these `/chronicle` subcommands are available from the interactive CLI session you open in the IDE.
83
+
80
84
## When to use session data
81
85
82
86
***At the start of your day**: Run `/chronicle standup last 3 days` to generate a summary of recent work instead of reconstructing it manually.
Copy file name to clipboardExpand all lines: content/copilot/how-tos/chat-with-copilot/chat-in-ide.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -372,6 +372,18 @@ To share feedback about {% data variables.copilot.copilot_chat_short %}, you can
372
372
373
373
{% data reusables.copilot.chat-access-denied %}
374
374
375
+
## {% data variables.copilot.copilot_chat_short %} agents
376
+
377
+
The agent picker in the {% data variables.copilot.copilot_chat_short %} panel lets you choose which agent drives your conversation. To switch agents, use the Agents dropdown at the bottom of the chat panel.
378
+
379
+
The following agents are available:
380
+
381
+
***Agent mode** (default): Full agentic experience with autonomous task execution.
382
+
***Ask mode**: Get quick answers and assistance without making code changes.
383
+
***Plan mode**: Collaborate on planning before implementation—{% data variables.product.prodname_copilot_short %} analyzes your request and builds a structured plan for your review.
384
+
***{% data variables.copilot.copilot_cli_short %}**: Runs {% data variables.product.prodname_copilot_short %} through {% data variables.copilot.copilot_cli_short %}, providing a terminal-first agentic experience with support for multiple isolation modes, live session progress, and tool call visibility. For more information, see [AUTOTITLE](/copilot/concepts/agents/copilot-cli/about-copilot-cli).
385
+
***Custom agents**: Use personalized agents tailored to your specific needs. For more information, see [AUTOTITLE](/copilot/concepts/agents/copilot-cli/about-custom-agents).
386
+
375
387
## Submitting prompts
376
388
377
389
You can ask {% data variables.copilot.copilot_chat_short %} to give you code suggestions, explain code, generate unit tests, and suggest code fixes.
Copy file name to clipboardExpand all lines: content/copilot/how-tos/copilot-cli/use-copilot-cli/steer-remotely.md
+13-2Lines changed: 13 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,11 +32,12 @@ This article explains how to enable and use remote control. For more conceptual
32
32
33
33
## Enabling remote control for a session
34
34
35
-
You can enable remote control in three ways:
35
+
You can enable remote control in several ways:
36
36
37
37
* With a slash command during an interactive session.
38
38
* With a command-line option when you start {% data variables.copilot.copilot_cli_short %}.
39
39
* By configuring the CLI to enable remote control by default for all interactive sessions.
40
+
* From JetBrains IDE settings before you start a session.
40
41
41
42
### Using the `/remote` slash command
42
43
@@ -79,6 +80,17 @@ copilot --no-remote
79
80
> [!NOTE]
80
81
> The command-line options `--remote` and `--no-remote` always take precedence over the `remote` setting in the settings file.
81
82
83
+
### Using JetBrains IDE settings
84
+
85
+
If you use {% data variables.copilot.copilot_cli_short %} from a JetBrains IDE, you can enable remote control from the IDE before you start a session.
86
+
87
+
{% data reusables.copilot.jetbrains-settings %}
88
+
{% data reusables.copilot.jetbrains-tools %}, then click **Chat**.
89
+
1. Select **Enable Copilot CLI Remote**.
90
+
1. Start an interactive {% data variables.copilot.copilot_cli_short %} session from the IDE.
91
+
92
+
When this setting is enabled, you can use `/remote` in the session at any time to view the current remote control status or redisplay the links and QR code for accessing the session remotely.
93
+
82
94
## Accessing a session from {% data variables.product.prodname_dotcom_the_website %}
83
95
84
96
When you enable remote control, the CLI displays a link to the session on {% data variables.product.prodname_dotcom_the_website %}.
@@ -157,4 +169,3 @@ Remote control is disabled by default, but may be enabled in your {% data variab
157
169
## Further reading
158
170
159
171
*[{% data variables.copilot.copilot_cli_short %} sessions in {% data variables.product.prodname_vscode %}](https://code.visualstudio.com/docs/copilot/agents/copilot-cli) in the {% data variables.product.prodname_vscode_shortname %} documentation.
160
-
*[Enable {% data variables.copilot.copilot_cli_short %} remote control](https://github.com/microsoft/copilot-intellij-feedback/wiki/Enable-Copilot-CLI-Remote-Control) for JetBrains IDEs, in the `microsoft/copilot-intellij-feedback` repository.
Copy file name to clipboardExpand all lines: content/copilot/how-tos/set-up/install-copilot-extension.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ The following procedure will guide you through installation of the {% data varia
70
70
71
71
{% data reusables.copilot.jetbrains-compatible-ides %}
72
72
73
-
1.Install the {% data variables.product.prodname_copilot %} plugin for JetBrains. See[{% data variables.product.prodname_copilot %} plugin](https://plugins.jetbrains.com/plugin/17718-github-copilot?ref_product=copilot&ref_type=engagement&ref_style=text) in the JetBrains Marketplace.
73
+
1.In your JetBrains IDE, open the **Plugins** settings, search the **Marketplace** for the {% data variables.product.prodname_copilot %} plugin, then click **Install**. For more information, see[{% data variables.product.prodname_copilot %} plugin](https://plugins.jetbrains.com/plugin/17718-github-copilot?ref_product=copilot&ref_type=engagement&ref_style=text) in the JetBrains Marketplace.
74
74
75
75
1. After {% data variables.product.prodname_copilot %} is installed, click **Restart IDE**.
76
76
@@ -84,7 +84,9 @@ The following procedure will guide you through installation of the {% data varia
84
84
85
85

86
86
87
-
1. A device activation window will open in your browser. Paste the device code, then click **Continue**.
87
+
1. A device activation window will open in your browser. If prompted to sign in to {% data variables.product.prodname_dotcom %}, sign in with your {% data variables.product.github %} account, or click **Continue with Google** or **Continue with Apple**.
88
+
89
+
1. Paste the device code, then click **Continue**.
88
90
89
91
1. {% data variables.product.prodname_dotcom %} will request the necessary permissions for {% data variables.product.prodname_copilot %}. To approve these permissions, click **Authorize {% data variables.product.prodname_copilot %} Plugin**.
Copy file name to clipboardExpand all lines: content/copilot/how-tos/troubleshoot-copilot/view-logs.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,23 @@ If you find the log file doesn't contain enough information to resolve an issue,
65
65
1. Keep using your IDE until you encounter the issue again, then collect the log file as described in [Collecting log files](#collecting-log-files).
66
66
1. When you have the information you need, disable debug mode by removing `#com.github.copilot:trace` from the "Custom Debug Log Configuration" window.
67
67
68
+
## Using the Agent Debug Panel
69
+
70
+
> [!NOTE]
71
+
> This feature is in {% data variables.release-phases.public_preview %} and subject to change.
72
+
73
+
The Agent Debug Panel shows a chronological event log of agent interactions during a {% data variables.copilot.copilot_cli_short %} session. Use the panel to debug {% data variables.copilot.custom_agents_short %} and subagent workflows.
74
+
75
+
1. Open {% data variables.copilot.copilot_chat_short %} in your JetBrains IDE.
76
+
1. In the agent picker, select {% data variables.copilot.copilot_cli_short %}.
77
+
1. In the top-right corner of the chat panel, click the settings icon, then click **Agent Debug Panel**.
78
+
1. For full support across current and historical sessions, enable debug file logging.
79
+
1. Open **Settings**.
80
+
1. In the sidebar, click **Tools**, then **{% data variables.product.prodname_copilot_short %}**, then **Chat**.
81
+
1. Select **Enable Agent debug File Logging**.
82
+
83
+
If you use {% data variables.copilot.copilot_business_short %} or {% data variables.copilot.copilot_enterprise_short %}, ask your administrator to enable the Editor preview features policy before you use this feature.
84
+
68
85
## Viewing network connectivity diagnostics logs
69
86
70
87
If you encounter problems connecting to {% data variables.product.prodname_copilot %} due to network restrictions, firewalls, or your proxy setup, use the following troubleshooting steps.
Copy file name to clipboardExpand all lines: content/copilot/how-tos/use-ai-models/change-the-chat-model.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,9 +132,13 @@ These instructions are for the JetBrains IDEs. For instructions on different cli
132
132
133
133
{% data reusables.copilot.chat-model-limitations-ide %}
134
134
135
+
For reasoning models that support configurable thinking effort, you can control how much reasoning the model applies to each request.
136
+
135
137
1. Click the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** icon in the status bar.
136
138
1. In the popup menu, click **Open {% data variables.copilot.copilot_chat %}**.
137
-
1. In the bottom right of the chat view, select an AI model of your choice from the **CURRENT-MODEL** {% octicon "chevron-down" aria-hidden="true" aria-label="chevron-down" %} dropdown menu, then click the AI model of your choice.
139
+
1. In the bottom right of the chat view, select an AI model of your choice from the **CURRENT-MODEL** {% octicon "chevron-down" aria-hidden="true" aria-label="chevron-down" %} dropdown menu.
140
+
1. Optionally, hover over a reasoning model that supports configurable thinking effort.
141
+
1. In the **Thinking Effort** submenu, select an effort level. Nonreasoning models do not display the **Thinking Effort** submenu.
Copy file name to clipboardExpand all lines: content/copilot/how-tos/use-copilot-agents/cloud-agent/use-cloud-agent-in-your-ide.md
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,12 @@ To directly open agent sessions in {% data variables.product.prodname_vscode_sho
57
57
58
58
## Starting a session
59
59
60
-
1. Open {% data variables.copilot.copilot_chat %} in your JetBrains IDE.
60
+
1. Enable {% data variables.copilot.copilot_cloud_agent %} in your JetBrains IDE.
61
+
1. Open **Settings**.
62
+
1. In the sidebar, click **Tools**, then **{% data variables.product.prodname_copilot_short %}**, then **Chat**.
63
+
1. Select **Enable Cloud Agent**.
64
+
1. If you use {% data variables.copilot.copilot_business_short %} or {% data variables.copilot.copilot_enterprise_short %}, ask your administrator to enable the Editor preview features policy.
65
+
1. Open {% data variables.copilot.copilot_chat_short %} in your JetBrains IDE.
61
66
1. Type a prompt explaining what you want {% data variables.product.prodname_copilot_short %} to do.
62
67
63
68
For example, `Put backticks around file names and variables in output`
@@ -68,9 +73,13 @@ To directly open agent sessions in {% data variables.product.prodname_vscode_sho
68
73
69
74
## Tracking your sessions
70
75
71
-
You can see a list of your running and past agent sessions for a project in JetBrains IDEs with the {% data variables.copilot.copilot_chat %} extension. See [AUTOTITLE](/copilot/how-tos/set-up/install-copilot-extension?tool=jetbrains).
76
+
You can see a list of your running and past agent sessions for a project in JetBrains IDEs with the {% data variables.copilot.copilot_chat_short %} extension. See [AUTOTITLE](/copilot/how-tos/set-up/install-copilot-extension?tool=jetbrains).
72
77
73
-
You can see all of {% data variables.product.prodname_copilot_short %}'s sessions by clicking the **GitHub Cloud Agent Jobs** button in the sidebar or by clicking the **Open Job List** button after delegating a task to {% data variables.product.prodname_copilot_short %} from {% data variables.copilot.copilot_chat %}.
78
+
Cloud agent sessions appear in the unified sessions view in the {% data variables.copilot.copilot_chat_short %} panel alongside local and {% data variables.copilot.copilot_cli_short %} sessions.
79
+
80
+
You can open the unified sessions view by clicking the **GitHub Cloud Agent Jobs** button in the sidebar or by clicking the **Open Job List** button after delegating a task to {% data variables.product.prodname_copilot_short %} from {% data variables.copilot.copilot_chat_short %}.
81
+
82
+
You can filter sessions by agent type or status to find the session you want.
74
83
75
84
For each session listed, you can see its status at a glance. Click **Open in Browser** to open the pull request in your browser, or right-click on a running job then click **Cancel Job** to cancel.
Copy file name to clipboardExpand all lines: content/copilot/reference/chat-cheat-sheet.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -170,11 +170,16 @@ Use slash commands to avoid writing complex prompts for common scenarios. To use
170
170
171
171
Available slash commands may vary, depending on your environment and the context of your chat. To view a list of currently available slash commands, type `/` in the chat prompt box of your current environment. Below is a list of some of the most common slash commands for using {% data variables.copilot.copilot_chat_short %}.
172
172
173
+
If you run interactive {% data variables.copilot.copilot_cli_short %} sessions in JetBrains, you can also use CLI-specific slash commands from that session.
174
+
173
175
| Command | Description |
174
176
| --- | --- |
177
+
|`/chronicle`| Review and analyze your session history. Available subcommands: `standup`, `tips`, `search`, and `improve`. For more details on these subcommands, see [AUTOTITLE](/copilot/how-tos/copilot-cli/use-copilot-cli/chronicle). |
178
+
|`/compact`| Manually compress the current {% data variables.copilot.copilot_cli_short %} session context to keep a long-running session manageable. |
175
179
|`/explain`| Explain how the code in your active editor works. |
176
180
|`/fix`| Propose a fix for problems in the selected code. |
177
181
|`/help`| Quick reference and basics of using {% data variables.product.prodname_copilot %}. |
182
+
|`/remote`| ({% data variables.copilot.copilot_cli_short %} session only) Enable or manage remote control for the current session so you can access it from {% data variables.product.prodname_dotcom_the_website %} or {% data variables.product.prodname_mobile %}. |
178
183
|`/tests`| Generate unit tests for the selected code. |
Copy file name to clipboardExpand all lines: content/copilot/reference/custom-instructions-support.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -134,6 +134,10 @@ WRITING NOTE: The following tables have been written using HTML rather than Mark
134
134
135
135
## JetBrains IDEs
136
136
137
+
In JetBrains IDEs, you can manage supported customizations from the Agent Customizations editor. In the {% data variables.copilot.copilot_chat %} panel, click the settings icon in the top-right, then click **Customizations**.
138
+
139
+
The editor lets you work with workspace customizations for the current project or personal customizations that follow you across projects. You can use it to view and edit {% data variables.copilot.custom_agents_short %}, manage reusable skills and prompt files, and configure instructions. For more information, see [AUTOTITLE](/copilot/how-tos/configure-custom-instructions-in-your-ide/add-repository-instructions-in-your-ide) and [AUTOTITLE](/copilot/how-tos/use-copilot-agents/cloud-agent/create-custom-agents-in-your-ide).
140
+
137
141
<table>
138
142
<thead>
139
143
<tr>
@@ -146,6 +150,7 @@ WRITING NOTE: The following tables have been written using HTML rather than Mark
146
150
<td>{% data variables.copilot.copilot_chat_short %} </td>
0 commit comments