Elffuss BraidHub

kikocis/continue public

main · 3.6 KiBRawPermalink
1---
2title: "Quick Start"
3description: "Get started with Continue's Agent mode to automatically implement code changes, fix bugs, and run commands using AI-powered tools that can modify your codebase based on natural language instructions"
4---
5
6Agent equips the Chat model with the tools needed to handle a wide range of coding tasks, allowing the model to make decisions and save you the work of manually finding context and performing actions.
7
8<Accordion title="Learn how to choose the right mode" icon="lightbulb">
9 <Columns cols={3}>
10 <Card title="Chat Mode" icon="comments">
11 *Learn and discuss without changing code.*
12
13 **Mental Model:** Talking to a knowledgeable colleague
14
15 **Best For:** Explaining concepts, comparing approaches, code review discussions.
16
17 </Card>
18
19 <Card title="Plan Mode" icon="binoculars">
20 *Safely explore and plan with read-only tools.*
21
22 **Mental Model:** Architect surveying before renovation
23
24 **Best For:** Understanding a codebase, bug investigation, planning implementations.
25
26 </Card>
27
28 <Card title="Agent Mode" icon="hammer">
29 *Make actual changes with full tool access.*
30
31 **Mental Model:** Contractor executing approved blueprints
32
33 **Best For:** Implementing features, fixing bugs, running tests and commands.
34
35 </Card>
36
37 </Columns>
38</Accordion>
39
40### How to Use Agent Mode
41
42You can switch to `Agent` in the mode selector below the chat input box. The mode selector offers three options:
43
44- **Chat**: No tools available, pure conversation
45- **Plan**: Read-only tools for safe exploration and planning
46- **Agent**: All tools available for making changes
47
48![How to select agent mode](/images/mode-select-agent.png)
49
50<Info>
51 If Agent or Plan is disabled with a `Not Supported` message, the selected
52 model or provider doesn't support tools, or Continue doesn't yet support tools
53 with it. See [Model Blocks](/customization/models) for more information.
54</Info>
55
56<Tip>
57 Use the keyboard shortcut `Cmd/Ctrl + .` to quickly cycle between modes.
58</Tip>
59
60### How to Chat with Agent
61
62Agent lives within the same interface as [Chat](/features/chat/how-it-works), so the same [input](/features/chat/quick-start#how-to-start-a-conversation) is used to send messages and you can still use the same manual methods of providing context, such as [`@` context providers](/features/chat/quick-start#how-to-use--for-additional-context) or adding [highlighted code from the editor](/features/chat/quick-start#how-to-include-code-context).
63
64#### How to Use Natural Language with Agent
65
66With Agent, you can provide natural language instruction and let the model do the work. As an example, you might say
67
68> Set the @typescript-eslint/naming-convention rule to "off" for all eslint configurations in this project
69
70Agent will then decide which tools to use to get the job done.
71
72## How to Give Agent Permission
73
74By default, Agent will ask permission when it wants to use a tool. Click `Continue` to allow Agent mode to proceed with the tool call or `Cancel` to reject it.
75
76![agent requesting permission](/images/features/agent/images/agent-permission-c150919a5c43eb4f55d9d4a46ef8b2d6.png)
77
78You can use tool policies to exclude or make usage automatic for specific tools. See [MCP Tools](/customization/mcp-tools) for more background.
79
80## How to View Tool Responses
81
82Any data returned from a tool call is automatically fed back into the model as a context item. Most errors are also caught and returned, so that Agent mode can decide how to proceed.
83
84![agent response](/images/features/agent/images/agent-response-c7287c82aac93fb4376f9d85b352b2d7.png)