AI Focus

agent discovery, auth & protocol bridges

Connecting external AI agents and user-owned models to arbitrary websites opens up a web where visitors bring their own personal agent instead of creating isolated chatbot accounts on every site, websites expose structured tools without bespoke N×M integrations, and paid endpoints settle per request instead of behind subscription walls.

Making that work safely requires solving six distinct protocol boundaries, tested here across seven live labs running on Cloudflare Workers and SQLite Durable Objects:

  1. Zero-install discovery — comparing plain HTTP /agents.md against Streamable HTTP MCP (both wire-only floors and live LLM head-to-head runs) and auditing 12 live RFC 8615 /.well-known/ discovery documents.
  2. Browser-safe OAuth 2.1 delegation — executing OAuth 2.1 + PKCE (RFC 7636), RFC 9728 Protected Resource Metadata, RFC 8707 Resource Indicators, and refresh-token reuse revocation without copied API keys.
  3. Scoped browser bridges — handing off single-tool MessagePort channels, navigating Storage Partitioning, framing binary streams, and mediating Agent Client Protocol (ACP) sessions with SSE Last-Event-ID resume.
  4. Reverse-exfiltration firewalls — stopping an untrusted website from extracting private off-site user data when a visitor bridges a personal ACP agent into a page.
  5. Cross-site tool search & schema-drift defense — indexing WebMCP tools dynamically across dozens of sites while pinning canonical SHA-256 schema hashes against post-discovery rug-pulls.
  6. Per-request micropayments — settling single-shot and streaming metered responses over HTTP 402 Payment Required with x402 v2 and WebCrypto ECDSA P-256 signatures.

Labs in agent discovery, auth & protocol bridges (7)

Showing 7 of 7 labs

/agents.md vs. mcp onboarding lab

Live LLM head-to-head evaluator (Port Authority AI Router, Chrome Built-in AI, or local Ollama) plus deterministic wire-only floor comparing zero-install GET /agents.md + HTTP endpoints against Streamable HTTP MCP from one shared tool registry, alongside Naive vs. Hardened badge verification and prompt-injection canary checks.

mcp oauth 2.1 handshake lab

Live 6-step MCP OAuth 2.1 (2025-11-25) workbench and 5 red-team attacks testing RFC 9728 protected-resource metadata, RFC 8414 discovery, Unsigned/Signed DCR vs. HTTPS CIMD, WebCrypto PKCE S256 burn-before-check codes, RFC 8707 audience binding, and SQLite refresh-token family revocation.