Skip to content

feat: add aibridge-proxy module for AI Bridge Proxy workspace setup#721

Open
ssncferreira wants to merge 5 commits intomainfrom
ssncf/feat-aibridge-proxy-module
Open

feat: add aibridge-proxy module for AI Bridge Proxy workspace setup#721
ssncferreira wants to merge 5 commits intomainfrom
ssncf/feat-aibridge-proxy-module

Conversation

@ssncferreira
Copy link
Contributor

@ssncferreira ssncferreira commented Feb 11, 2026

Description

Add aibridge-proxy module that configures workspaces to use AI Bridge Proxy. Downloads the proxy's CA certificate and exposes proxy_auth_url and cert_path outputs for tool-specific modules to configure the proxy scoped to their process. The module does not set proxy environment variables globally in the workspace.

Type of Change

  • New module
  • New template
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Module Information

Path: registry/coder/modules/aibridge-proxy
New version: v1.0.0
Breaking change: [ ] Yes [x] No

Testing & Validation

  • Tests pass (bun test)
  • Code formatted (bun fmt)
  • Changes tested locally

Related Issues

Closes: coder/internal#1187

Copy link
Contributor Author

ssncferreira commented Feb 11, 2026

@ssncferreira ssncferreira force-pushed the ssncf/feat-aibridge-proxy-module branch 7 times, most recently from a8c1df0 to 6fe9982 Compare February 12, 2026 12:36
@ssncferreira ssncferreira force-pushed the ssncf/feat-aibridge-proxy-module branch 2 times, most recently from 89718e0 to b4d4d04 Compare February 12, 2026 13:06
@ssncferreira ssncferreira marked this pull request as ready for review February 12, 2026 14:49
@ssncferreira ssncferreira self-assigned this Feb 12, 2026
@DevelopmentCats
Copy link
Contributor

@ssncferreira

Is the intention here to use this instead of coding in ai-bridge support in each agent module like we do now?

@ssncferreira ssncferreira force-pushed the ssncf/feat-aibridge-proxy-module branch from 7a8034e to 52925f5 Compare February 27, 2026 12:54
@ssncferreira
Copy link
Contributor Author

@ssncferreira

Is the intention here to use this instead of coding in ai-bridge support in each agent module like we do now?

@DevelopmentCats No, native AI Bridge support is still preferred when the client supports overriding the base URL, like Claude Code, for instance. The AI Bridge Proxy is a complement to AI Bridge for clients that don't support overriding the base URL, more info in the docs.
For these clients, traffic is routed through the proxy, which relays it to AI Bridge.

An example of a client that only works with the proxy is Copilot. The upstack PR #725 shows how to integrate it with the aibridge-proxy module.

Copy link
Contributor

@DevelopmentCats DevelopmentCats left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly Looks great to me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aibridge: create Terraform module to setup workspace for proxy usage

2 participants