Skip to content

Commit 9dc8d7a

Browse files
committed
Add feedback
1 parent 6b74452 commit 9dc8d7a

File tree

1 file changed

+21
-44
lines changed

1 file changed

+21
-44
lines changed
Lines changed: 21 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
# Agentic Chat
22

3-
<p className="subtitle"> Learn about the Agentic Chat experience, an exclusive chat-based AI agent with enhanced capabilities.</p>
3+
<p className="subtitle"> Learn about the agentic chat experience, an exclusive chat-based AI agent with enhanced capabilities.</p>
44

5-
<Callout type="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+
<Callout type="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>
66

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.
88

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.
1010

11-
## Capabilities of Agentic Chat
11+
## Capabilities of agentic chat
1212

13-
The Agentic Chat experience leverages several key capabilities, including:
13+
The agentic chat experience leverages several key capabilities, including:
1414

1515
- **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
1717
- **Iterative context improvement**: Performs multiple review loops to refine the context and ensure a thorough understanding
1818
- **Enhanced response accuracy**: Leverages comprehensive context to provide more accurate and relevant responses, reducing the risk of hallucinations
1919

20-
## Enable Agentic Chat
20+
## Enable agentic chat
2121

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.
2323

24-
![Agentic chat interface](IMAGE LINK TO BE ADDED)
24+
![agentic chat interface](https://storage.googleapis.com/sourcegraph-assets/Docs/agenti%20-chat.jpg)
2525

26-
### Getting Agentic Chat access for Enterprise customers
26+
### Getting agentic chat access for Enterprise customers
2727

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:
2929

3030
- `agentic-chat-experimental` to get access to the feature
3131
- `agentic-chat-cli-tool-experimental` to allow [terminal access](#terminal-commands)
3232
- 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`
3333

34-
## What can Agentic Chat do?
34+
## What can agentic chat do?
3535

36-
Agentic Chat can help you with the following:
36+
Agentic chat can help you with the following:
3737

3838
### Tool Usage
3939

@@ -48,48 +48,25 @@ It has access to a suite of tools for retrieving relevant context. These tools i
4848

4949
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).
5050

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.
5252

5353
<Callout type="info">Terminal access is not supported on the Web. It currently only works with VS Code and JetBrains editor extensions.</Callout>
5454

5555
## Terminal access
5656

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.
5960
- **Trusted workspaces only**: Commands can only be executed within trusted workspaces with a valid shell
6061
- **Potential data sharing**: Any terminal-accessible information may be shared with the LLM
6162

6263
Commands are generated by the agent/LLM based on your request. Avoid asking it to execute destructive commands.
6364

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-
8865
## Use cases
8966

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:
9168

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
9370
- **Error resolution**: It can automatically identify error sources and suggest fixes by analyzing error logs
9471
- **Better unit tests**: Automatically includes imports and other missing contexts to generate better unit tests
9572

@@ -101,4 +78,4 @@ Cody Gateway customers are required to have Claude 3.5 Haiku enabled (this requi
10178

10279
### Security concerns
10380

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

Comments
 (0)