CodeBuddy

Coding Agents Cloud Server Made by Tencent

A coding agent for the terminal from Tencent

Install

Plan

s-2vcpu-4gbSmallest that fits

2 vCPU · 4 GB RAM · 40 GB NVMe

฿419/mo

Settings

Timezone

After you press Install

  1. Check the price, accept the terms

    In the console

  2. Press Create server and install

    The server is created and billing starts

  3. Get in

    By web terminal or SSH

Terms and costs

  • You read and accept the terms of Tencent before you confirm.
  • You sign in with Tencent and pay Tencent for its use.
  • XVer bills only the server, not app accounts or their usage.

Read the terms of Tencent (opens in a new tab)

Full statement

CodeBuddy belongs to Tencent. XVer is not its developer or agent, and Tencent does not endorse this service. You use your own account and pay Tencent yourself. Names and logos are trademarks of their owners.

How to use

Web terminal

Opens in the browser.

  1. Open the server in my.xver.cloud

  2. Press Web terminal

    No server password

  3. Type the command

    codebuddy
  4. Sign in

    With your own Tencent account

The owner and members who can manage the project can open it.

SSH

From a terminal on your computer, with a password or a key.

  1. Connect over SSH

    Use the password or key from the server page

    ssh xver@SERVER_IP
  2. Open tmux

    Work keeps running if SSH drops

    tmux new -s work
  3. Go to your project folder

    Create a working folder and enter it

    mkdir -p ~/my-project && cd ~/my-project
  4. Run CodeBuddy

    Choose International Site and sign in

    codebuddy

Replace SERVER_IP with your server’s IP

1 copy the SSH command 2 show the password (sample data, console in Thai)

Web console

For when the web terminal or SSH does not open. Needs the server’s password.

  1. Open the server in my.xver.cloud

    The user name and password are under the Access tab

  2. Press the arrow next to Web terminal and choose Web console

  3. Type the user name and password

  4. Type the command

    codebuddy
  5. Sign in

    With your own Tencent account

A server with only an SSH key has no password: use SSH.

Images

  • 1 copy the SSH command 2 show the password (sample data, console in Thai)

On this page
  1. Why on a server
  2. What you need
  3. How to install
  4. What is on the server
  5. First use
  6. Who can get in
  7. Change passwords and keys
  8. Remove the app
  9. Cost
  10. Security
  11. Frequently asked questions

CodeBuddy is Tencent's coding agent for the terminal. It reads your project, edits files and runs commands on the server when you ask it to.

Why on a server#

You want On a Cloud Server
Work that goes on after you close your laptop tmux keeps it running; look back later
A space apart from your own computer The agent sees only the files on this server
Work from anywhere Open the web terminal in a browser, or use SSH

What you need#

Item Details
Account A CodeBuddy account at codebuddy.ai, or an API key from that account's profile page
Smallest size 2 vCPU, RAM 4 GB, NVMe disk 40 GB, Bandwidth 4 TB
On your computer A browser; an SSH client if you use SSH

How to install#

  1. Press Install CodeBuddy on this page
  2. Sign in to XVer and check the plan and price
  3. Choose how to get into the server: password or SSH key
  4. Read the CodeBuddy terms and tick to accept them
  5. Press Create server and install. The server is created and billing starts after this step

When it is installed, press Open server terminal or copy the SSH command.

What is on the server#

Item Details
System Ubuntu 26.04, user xver with sudo
Command codebuddy ready in the terminal
Ports open to the internet None added; this app has no web page
Running in the background Nothing; CodeBuddy runs only when you start it

First use#

Press Web terminal on the server page; it does not need the server's password. Or connect over SSH from your computer.

On your computer
ssh xver@SERVER_IP

Open tmux first so work does not stop when the connection drops, then run CodeBuddy in your project folder.

On the server
tmux new -s work
mkdir -p ~/my-project
cd ~/my-project
codebuddy

Sign in#

  1. The first time, a screen asks you to choose a sign-in method. Use the arrow keys to pick International Site and press Enter
  2. Sign in to your codebuddy.ai account in a browser as the screen shows
  3. Go back to the terminal and type your first request

To use an API key instead, create one under Profile › Keys on codebuddy.ai and set CODEBUDDY_API_KEY. International accounts do not need CODEBUDDY_INTERNET_ENVIRONMENT.

On the server
export CODEBUDDY_API_KEY="your-api-key"
codebuddy

Type /help to see every command. Press Ctrl + b then d to leave tmux without stopping the work; come back with tmux attach -t work.

Who can get in#

This app has no web page.

Way Who
Web terminal The owner and project members who can manage it; no server password needed
SSH Anyone with the server's password or key
Web console Anyone with the server's password

Change passwords and keys#

CodeBuddy has no password of its own. What to look after is the server's password and the account you use with CodeBuddy.

What How to change it
Server password On the server page, Access tab, press Reset password. The old one stops working at once
CodeBuddy account Type /logout in CodeBuddy, then sign in again with /login. If you used an API key, revoke the old one in your codebuddy.ai account

Remove the app#

  1. Type /logout in CodeBuddy, or revoke the API key you used on this server in your codebuddy.ai account
  2. Open the server page, Apps tab
  3. Press Uninstall on CodeBuddy, check what will be removed, then confirm

The server stays and is billed as usual. If you no longer need it, delete the server; its data is gone for good.

Cost#

XVer does not charge for the app. You pay XVer for the server and pay Tencent directly for a CodeBuddy plan if you use a paid one. A server that is off is still billed. Delete it to stop billing; its data is gone for good.

PlanNVMe diskBandwidthPer hourPer month
2 vCPU · 4 GB40 GB4 TB฿0.70/hr฿419/mo
4 vCPU · 8 GB80 GB10 TB฿1.37/hr฿819/mo

The price you pay is shown before you confirm

Compare every size on Cloud Server pricing.

Security#

Mode What CodeBuddy may do
default The most careful. Read files in trusted folders; ask before editing files or running commands
acceptEdits Edit files without asking, but ask before running commands
plan Plan with the permissions of the mode you came from, and write the plan file
bypassPermissions Skip almost every approval; only for an isolated machine
  • Press Shift + Tab to switch modes, or start with codebuddy --permission-mode plan
  • Do not use -y or --dangerously-skip-permissions on a server holding passwords or important data; it can run dangerous commands without asking
  • Type /permissions to manage tool permissions and which folders it can reach
  • The xver user can use sudo without a password. If you let CodeBuddy run commands, it can change the whole server.

Frequently asked questions#

Is XVer connected with Tencent?

No. XVer is not an agent or partner of Tencent and is not endorsed by it. You accept the terms, use your account and pay Tencent yourself.

Should I choose Chinese Site or International Site?

For an account made at codebuddy.ai, choose International Site. Chinese Site is for users in China.

Where do I see what a session has used?

Type /cost in CodeBuddy to see the session's cost and token usage. Change the model with /model.

฿419/mos-2vcpu-4gb

Installs open soon

Related posts

See all apps