# Connect AI Pass to agent tools

Use Claude, GPT, Gemini, and every other AI Pass model in coding agents and AI tools. One account, one balance, no provider keys.

## VS Code

1. Install the [AI Pass extension](https://marketplace.visualstudio.com/items?itemName=AIPass.aipass) from the Marketplace.
2. Open the chat, click the model picker, choose **Manage Models**, then **AI Pass**. You can also run **AI Pass: Sign In** from the Command Palette.
3. Your browser opens. Click **Approve**, then pick an AI Pass model.

Agent mode works too, so the model can read and edit your code. Needs VS Code 1.104 or newer.

## OpenCode

Run one command:

```bash
opencode auth login https://aipass.one
```

Your browser opens. Click **Approve**. That's it. AI Pass models now show up in OpenCode. Pick one with `/models`.

- Needs Node.js 18 or newer.
- New AI Pass models appear on their own.
- The login creates an API key named "OpenCode (your code)". Delete it in the [developer console](/panel/developer#apikeys) to disconnect.

## Kilo Code

Kilo Code uses the same login:

```bash
kilo auth login https://aipass.one
```

Click **Approve** in your browser, then pick an AI Pass model in Kilo.

## Any other tool

Most AI tools have an "OpenAI compatible" provider option. Give it these three settings:

| Setting | Value |
| --- | --- |
| Base URL | `https://aipass.one/v1` |
| API key | Create one in the [developer console](/panel/developer#apikeys) |
| Model | Any model ID, for example `claude-sonnet-4-6` |

See every model ID in the [developer console](/panel/developer#models), or ask the API:

```bash
curl "https://aipass.one/v1/models?type=text&capability=tools"
```

### Cline and Roo Code

In settings, set **API Provider** to **OpenAI Compatible**. Then fill in the base URL, your API key, and a model ID.

### Continue

Add a model to your `config.yaml`:

```yaml
models:
  - name: Claude Sonnet 4.6 (AI Pass)
    provider: openai
    model: claude-sonnet-4-6
    apiBase: https://aipass.one/v1
    apiKey: YOUR_AI_PASS_KEY
```

### Aider

```bash
export OPENAI_API_BASE=https://aipass.one/v1
export OPENAI_API_KEY=YOUR_AI_PASS_KEY
aider --model openai/claude-sonnet-4-6
```

## Usage and billing

Every request is charged to your AI Pass balance. See usage and add credit in the [developer console](/panel/developer).
