|
1 | 1 | #AI Bridge |
2 | 2 |
|
3 | | ->[!NOTE] |
4 | | ->AI Bridge is currently an_experimental_ feature. |
5 | | -
|
6 | 3 |  |
7 | 4 |
|
8 | 5 | Bridge is a smart proxy for AI. It acts as a man-in-the-middle between your users' coding agents / IDEs |
@@ -45,17 +42,14 @@ Bridge runs inside the Coder control plane, requiring no separate compute to dep |
45 | 42 |
|
46 | 43 | ###Activation |
47 | 44 |
|
48 | | -To enable this feature, activate the`aibridge` experiment using an environment variable or a CLI flag. |
49 | | -Additionally, you will need to enable Bridge explicitly: |
| 45 | +You will need to enable AI Bridge explicitly: |
50 | 46 |
|
51 | 47 | ```sh |
52 | | -CODER_EXPERIMENTS="aibridge"CODER_AIBRIDGE_ENABLED=true coder server |
| 48 | +CODER_AIBRIDGE_ENABLED=true coder server |
53 | 49 | # or |
54 | | -coder server --experiments=aibridge --aibridge-enabled=true |
| 50 | +coder server --aibridge-enabled=true |
55 | 51 | ``` |
56 | 52 |
|
57 | | -_If you have other experiments enabled, separate them by commas._ |
58 | | - |
59 | 53 | ###Providers |
60 | 54 |
|
61 | 55 | Bridge currently supports OpenAI and Anthropic APIs. |
@@ -89,8 +83,8 @@ Once AI Bridge is enabled on the server, your users need to configure their AI c |
89 | 83 |
|
90 | 84 | The exact configuration method varies by client — some use environment variables, others use configuration files or UI settings: |
91 | 85 |
|
92 | | --**OpenAI-compatible clients**: Set the base URL (commonly via the`OPENAI_BASE_URL` environment variable) to`https://coder.example.com/api/experimental/aibridge/openai/v1` |
93 | | --**Anthropic-compatible clients**: Set the base URL (commonly via the`ANTHROPIC_BASE_URL` environment variable) to`https://coder.example.com/api/experimental/aibridge/anthropic` |
| 86 | +-**OpenAI-compatible clients**: Set the base URL (commonly via the`OPENAI_BASE_URL` environment variable) to`https://coder.example.com/api/v2/aibridge/openai/v1` |
| 87 | +-**Anthropic-compatible clients**: Set the base URL (commonly via the`ANTHROPIC_BASE_URL` environment variable) to`https://coder.example.com/api/v2/aibridge/anthropic` |
94 | 88 |
|
95 | 89 | Replace`coder.example.com` with your actual Coder deployment URL. |
96 | 90 |
|
@@ -133,7 +127,7 @@ All of these records are associated to an "interception" record, which maps 1:1 |
133 | 127 |
|
134 | 128 | These logs can be used to determine usage patterns, track costs, and evaluate tooling adoption. |
135 | 129 |
|
136 | | -This data is currently accessible through the API and CLI (experimental), which we advise administrators export to their observability platform of choice. We've configured a Grafana dashboard to display Claude Code usage internally which can be imported as a starting point for your tooling adoption metrics. |
| 130 | +This data is currently accessible through the API and CLI, which we advise administrators export to their observability platform of choice. We've configured a Grafana dashboard to display Claude Code usage internally which can be imported as a starting point for your tooling adoption metrics. |
137 | 131 |
|
138 | 132 |  |
139 | 133 |
|
|