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
<pclassName="subtitle"> Learn about the Agentic Chat experience, an exclusive chat-based AI agent with enhanced capabilities.</p>
3
+
<pclassName="subtitle"> Learn about the agentic chat experience, an exclusive chat-based AI agent with enhanced capabilities.</p>
4
4
5
-
<Callouttype="info">Agentic Chat is currently in the Experimental stage for Cody Pro and Enterprise and is supported only on VS Code, Visual Studio, JetBrains editor extensions, and Web. Usage may be limited at this stage.</Callout>
5
+
<Callouttype="info">Agentic chat is currently in the Experimental stage for Cody Pro and Enterprise and is supported only on VS Code, Visual Studio, JetBrains editor extensions, and Web. Usage may be limited at this stage.</Callout>
6
6
7
-
Cody's Agentic Chat experience is an AI agent that can evaluate context and fetch any additional context by providing enhanced, context-aware chat capabilities. It extends Cody's functionality by proactively understanding your coding environment and gathering relevant information based on your requests before responding. These features help you get noticeably higher-quality responses.
7
+
Cody's agentic chat experience is an AI agent that can evaluate context and fetch any additional context (OpenCtx, terminal, etc.) by providing enhanced, context-aware chat capabilities. It extends Cody's functionality by proactively understanding your coding environment and gathering relevant information based on your requests before responding. These features help you get noticeably higher-quality responses.
8
8
9
-
This Agentic Chat experience aims to reduce the learning curve associated with traditional coding assistants by minimizing users' need to provide context manually. It achieves this through agentic context retrieval, where the AI autonomously gathers and analyzes context before generating a response.
9
+
This agentic chat experience aims to reduce the learning curve associated with traditional coding assistants by minimizing users' need to provide context manually. It achieves this through agentic context retrieval, where the AI autonomously gathers and analyzes context before generating a response.
10
10
11
-
## Capabilities of Agentic Chat
11
+
## Capabilities of agentic chat
12
12
13
-
The Agentic Chat experience leverages several key capabilities, including:
13
+
The agentic chat experience leverages several key capabilities, including:
14
14
15
15
-**Proactive context gathering**: Automatically gathers relevant context from your codebase, project structure, and current task
16
-
-**Agentic context review**: Reviews the gathered context to ensure it is comprehensive and relevant to your query
16
+
-**Agentic context reflection**: Review the gathered context to ensure it is comprehensive and relevant to your query
17
17
-**Iterative context improvement**: Performs multiple review loops to refine the context and ensure a thorough understanding
18
18
-**Enhanced response accuracy**: Leverages comprehensive context to provide more accurate and relevant responses, reducing the risk of hallucinations
19
19
20
-
## Enable Agentic Chat
20
+
## Enable agentic chat
21
21
22
-
Pro users can enable the Agentic Chat experience from the green **funnel** icon in Cody's chat panel. You can toggle the **Agentic Chat** feature on and off. Enterprise customers are required to opt-in to get access to this Agentic Chat feature.
22
+
Pro users can find the agentic chat option in the LLM selector drop-down. Enterprise customers must opt-in to access this agentic chat feature.
### Getting Agentic Chat access for Enterprise customers
26
+
### Getting agentic chat access for Enterprise customers
27
27
28
-
Enterprise customers can get access by upgrading their supported client (VS Code, JetBrains, and Visual Studio) to the latest version of the plugin and enabling the following feature flags on their Sourcegraph Instance:
28
+
Currently, agentic chat uses Claude 3.5 Haiku for the reflection steps as it provides a good balance between quality and latency. Your enterprise instance must have access to Claude 3.5 Haiku to use agentic chat. Additionally, enterprise customers need to upgrade their supported client (VS Code, JetBrains, and Visual Studio) to the latest version of the plugin by enabling the following feature flags on their Sourcegraph Instance:
29
29
30
30
-`agentic-chat-experimental` to get access to the feature
31
31
-`agentic-chat-cli-tool-experimental` to allow [terminal access](#terminal-commands)
32
32
- Users will also need to manually enable access to the terminal commands on the client's `settings.json` file i.e., set `"cody.agentic.context.experimentalShell": true`
33
33
34
-
## What can Agentic Chat do?
34
+
## What can agentic chat do?
35
35
36
-
Agentic Chat can help you with the following:
36
+
Agentic chat can help you with the following:
37
37
38
38
### Tool Usage
39
39
@@ -48,48 +48,25 @@ It has access to a suite of tools for retrieving relevant context. These tools i
48
48
49
49
It integrates seamlessly with external services, such as web content retrieval and issue tracking systems, using OpenCtx providers. To learn more, [read the OpenCtx docs](/cody/capabilities/openctx).
50
50
51
-
Memory allows the Agentic Chat to learn and remember your preferences, enabling a more personalized experience. You can ask it to **remember** specific details for future interactions.
51
+
Memory allows the agentic chat to learn and remember your preferences, enabling a more personalized experience. You can ask it to **remember** specific details for future interactions.
52
52
53
53
<Callouttype="info">Terminal access is not supported on the Web. It currently only works with VS Code and JetBrains editor extensions.</Callout>
54
54
55
55
## Terminal access
56
56
57
-
Agentic Chat can use the CLI Tool to request execution of shell commands in order to gather context from your terminal. Its ability to execute terminal commands enhances its context-gathering capabilities. However, it’s essential to understand that any information accessible via your terminal could potentially be shared with the LLM. It's recommended not to request information that you don't want to share. Here's what you should consider:
58
-
*-**Requires user consent**: Agentic Chat will pause and ask for permission each time before executing any shell command.
57
+
Agentic chat can use the CLI Tool to request the execution of shell commands to gather context from your terminal. Its ability to execute terminal commands enhances its context-gathering capabilities. However, it’s essential to understand that any information accessible via your terminal could potentially be shared with the LLM. It's recommended not to request information that you don't want to share. Here's what you should consider:
58
+
59
+
-**Requires user consent**: Agentic chat will pause and ask for permission each time before executing any shell command.
59
60
-**Trusted workspaces only**: Commands can only be executed within trusted workspaces with a valid shell
60
61
-**Potential data sharing**: Any terminal-accessible information may be shared with the LLM
61
62
62
63
Commands are generated by the agent/LLM based on your request. Avoid asking it to execute destructive commands.
63
64
64
-
### Configure shell command execution
65
-
66
-
You can configure shell command execution via the `cody.agentic.context` setting in your editor:
67
-
68
-
#### Enable Agentic Chat access to CLI
69
-
70
-
Update the `cody.agentic.context` setting to `allow` or `block` specific commands:
71
-
72
-
```json
73
-
{
74
-
"cody.agentic.context": {
75
-
"shell": {
76
-
// Array of allowed command prefixes, or ["*"] for all commands
77
-
"allow": ["git", "gh", "ls"],
78
-
"block": ["git"] // Additional commands to block
79
-
}
80
-
}
81
-
}
82
-
```
83
-
84
-
#### Disable Agentic Chat access to CLI
85
-
86
-
To disable the feature, navigate to your user settings and set `cody.agentic.context` to an empty value. When disabled, the chat agent cannot access the CLI.
87
-
88
65
## Use cases
89
66
90
-
Agentic Chat can be helpful to assist you with a wide range of tasks, including:
67
+
Agentic chat can be helpful to assist you with a wide range of tasks, including:
91
68
92
-
-**Improved response quality**: Helps you get better and more accurate responses than other LLMs, making the additional processing time for context gathering a non-issue
69
+
-**Improved response quality**: Helps you get better and more accurate responses than other LLMs, making up for the additional processing time for context gathering a non-issue
93
70
-**Error resolution**: It can automatically identify error sources and suggest fixes by analyzing error logs
94
71
-**Better unit tests**: Automatically includes imports and other missing contexts to generate better unit tests
95
72
@@ -101,4 +78,4 @@ Cody Gateway customers are required to have Claude 3.5 Haiku enabled (this requi
101
78
102
79
### Security concerns
103
80
104
-
As mentioned above, Agentic Chat's ability to execute terminal commands enhances its context-gathering capabilities. However, it’s essential to understand that any information accessible via your terminal could be shared with the LLM.
81
+
As mentioned above, agentic chat's ability to execute terminal commands enhances its context-gathering capabilities. However, it’s essential to understand that any information accessible via your terminal could be shared with the LLM.
0 commit comments