Elffuss BraidHub

kikocis/continue public

dc42dd67a510 · 2.2 KiBRawPermalink
1---
2title: "Model Setup for Agent Mode"
3description: "Learn how to set up models for Agent Mode in Continue, including recommended models and configuration options for optimal performance"
4sidebarTitle: "Model Setup"
5---
6
7The models you set up for Chat mode will be used with Agent mode if the model supports tool calling. The recommended models and how to set them up can be found [here](/features/chat/model-setup).
8
9<Info>
10 For the latest recommendations on the best models for Agent/Plan mode, see our [comprehensive model recommendations](/customization/models#recommended-models).
11</Info>
12
13## How System Message Tools Work
14
15Continue implements an innovative approach called **system message tools** that ensures consistent tool functionality across all models, regardless of their native capabilities. This allows Agent mode to work seamlessly with a wider range of models and providers.
16
17### How System Message Tools Function
18
19Instead of relying solely on native tool calling APIs (which vary between providers), Continue converts tools into XML format and includes them in the system message. The model generates tool calls as structured XML within its response, which Continue then parses and executes. This approach provides:
20
21- **Universal compatibility** - Any model capable of following instructions can use tools, not just those with native tool support
22- **Consistent behavior** - Tool calls work identically across OpenAI, Anthropic, local models, and others
23- **Better reliability** - Models that struggle with native tools often perform better with system message tools
24- **Seamless switching** - Change between providers without modifying your workflow
25
26For recommended Agent models, please refer to our [Model Recommendations page](/customization/models).
27
28### How to Configure Agent Mode
29
30Agent mode automatically determines whether to use native or system message tools based on the model's capabilities. No additional configuration is required - simply select your model and Continue handles the rest.
31
32## How to Check Model Compatibility
33
34To see which models support specific features like tool use (for Agent mode) and image input, check out our [Model Capabilities guide](/customize/deep-dives/model-capabilities).