tencent cloud

CodeBuddy

Download
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-07-14 16:02:04
CodeBuddy is an AI-assisted coding tool launched by Tencent Cloud. It deeply integrates AI throughout the entire process, creating a one-stop, efficient delivery platform from product conception to release. The product supports three forms: IDE, plugin, and CLI, covering the full-scenario needs from professional developers to users with no prior experience. This document describes how to configure and use the Tencent Cloud Large Language Model Token Plan in CodeBuddy, which applies to both CodeBuddy IDE and CodeBuddy CLI.

Prerequisites

Before starting the configuration, make sure you have completed the following preparatory work:
3. To install CodeBuddy, you can choose to install either CodeBuddy IDE or CLI based on your needs:
Installing CodeBuddy IDE
Installing CodeBuddy CLI
Visit CodeBuddy IDE to download and install it for use.
First, ensure that Node.js version 18.0 or later is installed locally, then run the following command to install CodeBuddy Code.
npm install -g @tencent-ai/codebuddy-code
After installation is complete, you can run the following command to check. If the version number is output, it indicates that the installation was successful.
codebuddy --version

Configure Token Plan

1. Locate the configuration file for CodeBuddy Code. The path to the configuration file is as follows. If the configuration file does not exist, it can be created.
Windows: C:\\Users\\<username>\\.codebuddy\\models.json.
macOS/Linux:~/.codebuddy/models.json.
2. Copy and paste the following configuration and save it.
Note:
Replace $your_api_key in your code with the API Key exclusive to the Token Plan.
{
"models": [
{
"id": "auto",
"name": "Auto",
"vendor": "Tencent Cloud",
"apiKey": "$your_api_key",
"url": "https://tokenhub-intl.tencentcloudmaas.com/plan/v3"
},
{
"id": "glm-5.2",
"name": "GLM-5.2",
"vendor": "Tencent Cloud",
"apiKey": "$your_api_key",
"url": "https://tokenhub-intl.tencentcloudmaas.com/plan/v3"
},
{
"id": "kimi-k2.6",
"name": "Kimi-K2.6",
"vendor": "Tencent Cloud",
"apiKey": "$your_api_key",
"url": "https://tokenhub-intl.tencentcloudmaas.com/plan/v3"
},
{
"id": "minimax-m3",
"name": "MiniMax-M3",
"vendor": "Tencent Cloud",
"apiKey": "$your_api_key",
"url": "https://tokenhub-intl.tencentcloudmaas.com/plan/v3"
},
{
"id": "deepseek-v4-flash-202605",
"name": "DeepSeek-V4-Flash Direct from Manufacturer",
"vendor": "Tencent Cloud",
"apiKey": "$your_api_key",
"url": "https://tokenhub-intl.tencentcloudmaas.com/plan/v3"
},
{
"id": "deepseek-v4-pro-202606",
"name": "DeepSeek-V4-Pro Direct from Manufacturer",
"vendor": "Tencent Cloud",
"apiKey": "$your_api_key",
"url": "https://tokenhub-intl.tencentcloudmaas.com/plan/v3"
}
],
"availableModels": ["auto","glm-5.2","kimi-k2.6","minimax-m3","deepseek-v4-flash-202605","deepseek-v4-pro-202606"]
}

Using Tikit

CodeBuddy IDE
CodeBuddy CLI
After the model configuration is complete, you can select the configured model in the dialog box to start a conversation.
After the configuration is complete, run the following command to start CodeBuddy Code.
codebuddy
When using CodeBuddy Code for the first time, you need to complete login authentication. After startup, it will show the login method selection interface:
Select login method:
› Log in via Chinese Site
Log in via International Site
Log in via Enterprise Domain
Log in via iOA (Tencent only)
The login methods are as follows:
Login Method
Scenarios
Description
Chinese Site
China site users
Authenticate through Tencent Cloud China site (copilot.tencent.com), supporting mainstream models in mainland China.
International Site
International site users
Authenticate through Tencent Cloud International site (codebuddy.ai), supporting mainstream models outside mainland China.
Enterprise Domain
Dedicated version/Private deployment
To connect to the Dedicated version or self-built CodeBuddy service, you need to enter the service address provided by your enterprise.
iOA
Tencent internal employees
Authenticate through the Tencent iOA Zero Trust system, only available to Tencent internal employees.
Use the ↑↓ keys to select the login method, press Enter to confirm, and the browser will automatically open to complete authentication.
Enter /model, select a model, and you can start a conversation.


Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan