bridge-protocol
Sync and async client. Typed dataclasses. Streaming verification events. Compatible with Python 3.9+.
pip install bridge-protocol
→ Docs
REST. SDKs in Python, JavaScript, Go. MCP tools for agents. GitHub Action. VS Code extension. Chrome extension. Zapier. Pick your path.
pip install bridge-protocol
One endpoint. JSON in, signed consensus out. Authenticated by bearer token.
POST /v1/verify
View reference →
Plug BRIDGE into Claude Desktop, Cursor, Continue, or any MCP-compatible client. bridge.verify and bridge.ask exposed as tools.
bridge-mcp@latest
Get config →
Verify every PR. Comments inline. Blocks merge if confidence drops below threshold.
bridge-protocol/verify-action@v2
Install →
Highlight any code. Cmd-Shift-V to verify. Corrections appear in the gutter and the problems panel.
bridge.bridge-protocol
Marketplace →
Right-click any text. Verify in place. Confidence pill renders inline on the page.
Chrome Web Store
Install →
Trigger BRIDGE from Slack, email, Gmail filters, or 5,000+ apps. Push results back via webhook.
bridge-protocol on Zapier
Connect →
Sync and async client. Typed dataclasses. Streaming verification events. Compatible with Python 3.9+.
pip install bridge-protocol
→ Docs
TypeScript-first. Node 18+ and modern browsers. Edge-runtime compatible (Vercel, Cloudflare Workers).
npm install @bridge/protocol
→ Docs
Idiomatic Go. Context-aware. Streaming via channels. Suitable for high-concurrency backend services.
go get github.com/bridgeprotocol/go
→ Docs
Rails-friendly. ActiveJob integration. Rack middleware for inline verification of model output.
gem install bridge-protocol
→ Docs
Tokio-native. Zero-copy where possible. Currently in beta — interface stable, performance optimizing.
cargo add bridge_protocol
→ Beta access
Maven and Gradle. Builder-pattern API. Spring Boot starter available.
io.bridge:protocol:0.2.0
→ Beta access
/v1/verify
CORE
Run the full consensus protocol against the model panel. Returns verdict, confidence, corrections, audit hash.
content string · required Up to 50K tokens.tier 1 | 2 | 3 · default 2 Routing tier.panel string[] · optional Override model selection.threshold number · default 0.75 Confidence threshold for findings./v1/ask
ASK
Conversational verified-answer endpoint. Routes automatically across tiers. Returns body + confidence + (optionally) debate transcript.
query string · requiredconversation_id string · optional Continue a prior conversation.force_tier "auto" | 1 | 2 | 3/v1/consensus/{id}/report
AUDIT
Retrieve the full audit report for a consensus. Includes per-model verdicts, debate transcript, signed hash, chain block reference.
/v1/leaderboard
PUBLIC
Live model performance rankings, 7-day adversarial survival score. No auth required. Updated hourly.
/v1/webhooks
AUTOMATION
Subscribe to consensus events. Payload signed with HMAC-SHA256. At-least-once delivery with exponential backoff.
url string · requiredevents string[] consensus.completed · consensus.failed · usage.thresholdapi.getbridge.dev/v1
// Add to "mcpServers" object "bridge": { "command": "npx", "args": ["-y", "@bridge/mcp-server"], "env": { "BRIDGE_API_KEY": "sk_live_..." } }▌
Tools exposed: bridge.verify, bridge.ask, bridge.consensus.lookup. The agent gets verification as a first-class capability — every claim it makes can be checked before output.
# Set as environment variable $ export BRIDGE_API_KEY="sk_live_7f2a91b4e8c3d09f4d77b1f80" # Or load from .env $ echo "BRIDGE_API_KEY=sk_live_..." >> .env # Verify it works $ curl -H "Authorization: Bearer $BRIDGE_API_KEY" \ https://api.getbridge.dev/v1/auth/me {"user_id":"u_8c3d","tier":"starter","verifications_remaining":100}▌