> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ccs.kaitran.ca/llms.txt
> Use this file to discover all available pages before exploring further.

# CodeBuddy Provider

> Use Tencent CodeBuddy through CCS as a CLIProxy OAuth provider

# CodeBuddy Provider

CCS supports **CodeBuddy (Tencent)** as a CLIProxy OAuth provider.

## Quick Start

```bash theme={null}
ccs codebuddy --auth
ccs codebuddy --accounts
ccs codebuddy --config
ccs codebuddy "inspect this implementation"
```

## Authentication Model

CodeBuddy currently uses a **browser-driven polling flow** through
CLIProxyAPIPlus:

* no local callback port is required
* CCS waits for upstream auth completion
* token refresh is delegated to CLIProxy

## Backend Requirement

CodeBuddy is a **plus-only** provider.

```yaml theme={null}
cliproxy:
  backend: plus
```

## Config And Storage

| Path | Purpose |
| - | - |
| `~/.ccs/cliproxy/auth/` | shared OAuth token directory |
| `~/.ccs/codebuddy.settings.json` | provider settings when a local settings file is used |

## Current Scope

CCS documents CodeBuddy today as an auth and routing provider surface. As with
Cursor, it does not currently participate in the local static model-catalog
sync path used by the older catalog-backed provider set.

## Related

* [Provider Overview](https://docs.ccs.kaitran.ca/providers/concepts/overview.md)
* [CLIProxy API](https://docs.ccs.kaitran.ca/features/proxy/cliproxy-api.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.