Claude Code, Cursor, a custom LangChain/OpenAI tool, an MCP server, or plain curl — AI Bridge exposes your authenticated browser over a local HTTP API on 127.0.0.1. There's no proprietary SDK to install; the protocol on this page is the entire interface.
AI Bridge runs a Chrome extension plus a small local server. Together they let an AI agent read a page, click and type, take screenshots, run JavaScript, and make authenticated calls to a site's own internal API using the session you're already logged into — without you copying tokens around by hand.
Everything runs on your machine. The only outbound calls are license validation and an optional Firebase token refresh — see the Privacy Policy for details.
bash install_native_host.sh <EXTENSION_ID> once (extension ID is shown at chrome://extensions).Your agent shouldn't try to perform this setup itself — have it check GET /health first and ask you to confirm the bridge is running before it attempts anything else.
Intel Mac and Windows builds aren't published yet — if you're on either, use the Python setup instead (pip install -r requirements.txt, run bridge/server.py directly).
Base URL: http://127.0.0.1:9124. Most routes require a shared-secret header, generated on first run and stored locally:
KEY=$(cat ~/.ai-bridge/key)
curl http://127.0.0.1:9124/health
curl -H "X-Bridge-Key: $KEY" http://127.0.0.1:9124/tokens
GET /health and GET /info need no key — always safe to probe first. A 401 means the key is missing or wrong; a 502 on a tab action means the extension isn't connected (check the side panel); an error mentioning the license means the key isn't active yet.
{selector}){selector, text})Don't guess selectors — read or screenshot the page first, then act:
curl -X POST http://127.0.0.1:9124/tab/screenshot -H "X-Bridge-Key: $KEY"
curl -X POST http://127.0.0.1:9124/tab/click -H "X-Bridge-Key: $KEY" \
-d '{"selector":"[data-testid=save]","reason":"Save the draft"}'
Prefer calling a site's own API over clicking through its UI whenever one is available — it's faster and more reliable than DOM automation:
curl -X POST http://127.0.0.1:9124/proxy -H "X-Bridge-Key: $KEY" \
-d '{"method":"GET","url":"https://example.com/api/v2/items","use_token":true}'
/proxy over tab automation when the target site has an observable API for the action.reason on tab actions — it shows up in your confirmation prompt so you always know why the browser just moved.Passive capture (/token, /proxy, /endpoints, /requests) works without a license. Interactive tab actions and Deep Capture require an active key from whop.com/ai-bridge.