CodeBuddy Code is Tencent Cloud's terminal coding agent, installed from npm, Homebrew or a native binary. HagiCode is a desktop workbench that runs CodeBuddy as its executor and adds parallel sessions, proposals and AI commits around it.
- How do I install CodeBuddy Code?
- Run
npm install -g @tencent-ai/codebuddy-code (Node.js 18.20 or later), or on macOS and Linux brew install Tencent-CodeBuddy/tap/codebuddy-code. A beta native binary needs no Node.js. Then run codebuddy --version and codebuddy to sign in. See the docs at codebuddy.ai/docs/cli/installation. - Is CodeBuddy free?
- CodeBuddy has a free plan with a small monthly credit allowance, plus Pro and Team plans (Pro about $10 per month, Team about $40 per seat, as of October 2026). Tencent Cloud's billing page does not say which plans include the CLI, so check it before relying on the free tier.
- Can I use CodeBuddy with HagiCode?
- Yes. Install and sign in to CodeBuddy Code, then choose it as the Agent CLI in HagiCode. HagiCode drives it over ACP, and your account and credits stay with CodeBuddy.
- Does HagiCode replace CodeBuddy?
- No. HagiCode runs CodeBuddy as its executor and adds sessions, proposals, commits and multi-repo tools around it. You can still run
codebuddy on the same repositories. - What is the CodeBuddy command?
- The command is
codebuddy, with cbc mentioned as a short alias in the docs. The npm package is @tencent-ai/codebuddy-code. - CodeBuddy vs HagiCode: which should I pick?
- Pick CodeBuddy alone for terminal, solo or scripted work. Add HagiCode when you want parallel sessions, OpenSpec proposals or multi-repo workspaces on top of CodeBuddy.