CodeBuddy
CodeBuddy is Tencent Cloud's AI coding assistant (IDE plugin and CLI). Configure it to use Unisound MaaS models with pay-as-you-go or U Plan.
1. Preparation
Before connecting an AI tool, complete the following preparation steps.
1. Get an API Key
The platform supports pay-as-you-go and U Plan. Credentials differ by billing mode:
- Base URL OpenAI-compatible: https://maas-api.unisound.com/v1
- API Key
- Format: sk-xxxxx
Go to API Key Management to create an API Key
- Base URL OpenAI-compatible: https://maas-api.unisound.com/v1
- API Key
- Format: tp-xxxxx
After successfully subscribing to U Plan, go to Subscription Management to get your dedicated API Key
Pay-as-you-go supports all modalities, including text, speech, and vision.
A plan-exclusive Key is for plan quota. It may exist before paid resources are available; you can use resources only when you have plan quota. See U Plan overview.
2. Choose Base URL
The platform provides one Base URL:
- OpenAI-compatible: https://maas-api.unisound.com/v1
3. Find Model ID
Replace '<'MODEL_ID'>' with the Model ID from the Model Hub console.
2. Install CodeBuddy
The CodeBuddy plugin supports VS Code and JetBrains IDEs:
- VS Code: search CodeBuddy in the Extensions Marketplace.
- JetBrains: search “腾讯云代码助手” in the plugin marketplace.

For terminal use, install CodeBuddy Code: install or update Node.js (v18.0 or later), then run:
npm install -g @tencent-ai/codebuddy-code3. Configure the target model
Both the CodeBuddy plugin and CodeBuddy Code manage custom models via ~/.codebuddy/models.json (Windows: C:\\Users\\<username>\\.codebuddy\\models.json).
Paste the config below and replace UNISOUND_API_KEY and placeholders as needed:
{
"models": [
{
"id": "<MODEL_ID>",
"name": "<MODEL_ID>",
"vendor": "OpenAI",
"apiKey": "UNISOUND_API_KEY",
"maxInputTokens": 128000,
"maxOutputTokens": 4096,
"url": "https://maas-api.unisound.com/v1/chat/completions",
"supportsToolCall": true,
"supportsImages": true,
"supportsReasoning": true
}
]
}url must end with /chat/completions; set id/name to the Model ID; set maxInputTokens, maxOutputTokens, supportsToolCall, supportsImages, and supportsReasoning per the model docs.
See Preparation for how to get the Key and its format. Note that codebuddy only supports the OpenAI-compatible API.

Restart the IDE, then pick the custom model in the CodeBuddy chat model picker.

4. Quick access to capability models
We provide U2-ASR, U2-TTS, U2-TTS-Clone, and U2-OCR capabilities. Add the matching model Skill in CodeBuddy to call these services without integrating each model API separately.
Open a Skill page below to install via chat or CLI. After installation, the Skill guides you through model configuration.