---
url: /en/workspaces/codebuddy-web.md
description: >
  Introduces the CodeBuddy Web entry in CNB Workspaces, which lets you use
  CodeBuddy Code's AI coding capabilities directly in the browser without
  installing a local client.
---
`CodeBuddy Web` is a browser-based entry of CNB Workspaces that lets you use
[CodeBuddy Code](https://www.codebuddy.cn/)'s AI coding capabilities directly in the browser,
with no local client installation required.

## Getting Started

Click `Workspaces` in the top-right corner of a repository's branch page to create or open a workspace,
then click `CodeBuddy Web` on the workspace entry selection page or the My Workspaces list page
to enter the browser-based CodeBuddy UI.

## Comparison with WebIDE

CodeBuddy Web and WebIDE are both browser-based entries of CNB Workspaces, each with a different focus:

| Dimension   | WebIDE (code-server) | CodeBuddy Web                |
| ----------- | -------------------- | ---------------------------- |
| Positioning | Full VS Code editor  | Browser UI of CodeBuddy Code |
| Interaction | Direct code editing  | AI-driven coding             |
| Client      | Browser, no install  | Browser, no install          |
| Requires    | Built-in by default  | Image has codebuddy (>= 2.137.0) |

* **WebIDE**: a full VS Code experience, best for manual editing and debugging.
* **CodeBuddy Web**: the browser UI of CodeBuddy Code, best for AI-assisted coding in the browser.

## Version Requirement

CodeBuddy Web is only available when the workspace image satisfies:

* The `codebuddy` command is installed
* The `codebuddy` version is `2.137.0` or later

For custom development environments, make sure
[`@tencent-ai/codebuddy-code`](https://www.npmjs.com/package/@tencent-ai/codebuddy-code)
(which provides the `codebuddy` command) is installed in the image.
If the image does not have `codebuddy` installed or the version is too low,
the `CodeBuddy Web` entry will not appear on the workspace entry selection page or the My Workspaces list page.
See [Custom Development Environments](./custom-dev-env.md) to install a codebuddy
that meets the version requirement.
