Claude Desktop Integration Guide for Agnes Models
1. Overview
This guide explains how to connect Claude Desktop to Agnes models through CC-Switch. After configuration, Claude Desktop can route requests through CC-Switch to the Agnes AI API Gateway and use Agnes text models for conversations or multimodal tasks.2. Prerequisites
Before you begin, make sure you have the following:- Claude Desktop installed.
- CC-Switch installed.
- A valid Agnes AI API Key.
- A network environment that can access the Agnes AI API Gateway.
- The model name you want to use.
3. Install Claude Desktop
Choose the appropriate installer for your operating system:- Windows:
.exe - macOS:
.dmg - Linux:
AppImage
4. Open CC-Switch
Launch CC-Switch and switch to the following option in the top navigation bar:text
text
5. Add a New Provider
Click Add New Provider. Select:text
6. Enter the API Key
Enter the API Key obtained from the Agnes AI Platform in the API Key field. Example:text
Bearer prefix.
7. Enter the Request URL
Enter the following request URL:text
8. Enable Model Mapping
Enable the model mapping feature. This feature maps Claude model names in Claude Desktop to Agnes models.9. Select the API Format
For the API format, select:text
10. Fetch the Model List
Click Fetch Model List to confirm that CC-Switch can connect to the Agnes AI API Gateway successfully. After the model list is loaded, select the model you want to map. Recommended mapping example:text
11. Save the Configuration
After confirming that the API Key, request URL, API format, and model mapping are correct, click Save. Once saved successfully, the Agnes configuration will appear in the provider list.12. Enable CC-Switch Routing
Go to the CC-Switch settings page and select:text
13. Verify the Configuration
Open Claude Desktop and start a test conversation. If the configuration is correct, Claude Desktop should be able to return responses through the Agnes model.14. Troubleshooting
1. Claude Desktop cannot call the model
Make sure the CC-Switch local route is enabled and Claude routing is turned on.2. Unable to fetch the model list
Check whether the API Base URL is correct:text
3. Model mapping failed
Make sure model mapping is enabled and that Claude models are mapped to Agnes models. Recommended model:text