Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
aibridge
# AI Bridge

AI Bridge is a smart proxy for AI. It acts as a man-in-the-middle between your users' coding agents / IDEs and providers like OpenAI and Anthropic. By intercepting all the AI traffic between these clients and the upstream APIs, Bridge can record user prompts, token usage, and tool invocations. AI Bridge is bundled as part of [Coder](https://github.com/coder/coder)

It solves 3 key problems:

1. Centralized authn/z management: no more issuing & managing API tokens for OpenAI/Anthropic usage. Users use their Coder session or API tokens to authenticate with coderd (Coder control plane), and coderd securely communicates with the upstream APIs on their behalf. Use a single key for all users.
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a benefit of the integration with Coder, not the library itself.

Suggested change
1. Centralized authn/z management: no more issuing & managing API tokens for OpenAI/Anthropic usage. Users use their Coder session or API tokens to authenticate with coderd (Coder control plane), and coderd securely communicates with the upstream APIs on their behalf. Use a single key for all users.

2. Auditing and attribution: all interactions with AI services, whether autonomous or human-initiated, will be audited and attributed back to a user.
3. Centralized MCP administration: define a set of approved MCP servers and tools which your users may use, and prevent users from using their own.

For furrther details on how to use, please see: https://coder.com/docs/ai-coder/ai-bridge
Copy link
Collaborator

Choose a reason for hiding this comment

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

Instead we should include an example use of the library.

I have a branch half-finished for that, I'll get back to it when I can.

Suggested change
For furrther details on how to use, please see: https://coder.com/docs/ai-coder/ai-bridge