| 1 | --- |
| 2 | title: "How to Customize Agent Mode" |
| 3 | description: "Learn how to customize Agent Mode in Continue to better fit your workflow and coding style." |
| 4 | sidebarTitle: "Customize Agent" |
| 5 | --- |
| 6 | |
| 7 | ## How to Add Rules Blocks |
| 8 | |
| 9 | Adding Rules can be done in your agent locally or in the Hub. You can explore Rules on the Continue Hub and refer to the [Rules deep dive](/customize/deep-dives/rules) for more details. |
| 10 | |
| 11 | ## How to Customize System Messages |
| 12 | |
| 13 | You can customize the system messages for Chat, Agent, and Plan modes using model-level configuration: |
| 14 | |
| 15 | ```yaml |
| 16 | models: |
| 17 | - name: GPT-4o |
| 18 | provider: openai |
| 19 | model: gpt-4o |
| 20 | chatOptions: |
| 21 | baseSystemMessage: "You are a helpful coding agent." |
| 22 | baseAgentSystemMessage: "You are a systematic coding agent. Break down problems methodically." |
| 23 | basePlanSystemMessage: "You are a planning agent. Create clear, actionable steps." |
| 24 | ``` |
| 25 | |
| 26 | ## How to Add MCP Tools |
| 27 | |
| 28 | You can add MCP servers to your agent to give Agent access to more tools. Explore [MCP Servers on the Hub](https://hub.continue.dev) and consult the [MCP guide](/customize/deep-dives/mcp) for more details. |
| 29 | |
| 30 | ## How to Configure Tool Policies |
| 31 | |
| 32 | You can adjust the Agent's tool usage behavior to three options: |
| 33 | |
| 34 | - **Ask First (default)**: Request user permission with "Cancel" and "Continue" buttons |
| 35 | - **Automatic**: Automatically call the tool without requesting permission |
| 36 | - **Excluded**: Do not send the tool to the model |
| 37 | |
| 38 | :::warning |
| 39 | Be careful setting tools to "automatic" if their behavior is not read-only. |
| 40 | ::: |
| 41 | |
| 42 | To manage tool policies: |
| 43 | |
| 44 | 1. Click the tools icon in the input toolbar |
| 45 | 2. View and change policies by clicking on the policy text |
| 46 | 3. You can also toggle groups of tools on/off |
| 47 | |
| 48 | Tool policies are stored locally per user. |