Skip to main content
The example-implementations repo has one runnable, tested example per messaging tool. Every folder is the same minimal Claude agent — a brain with per-conversation memory behind a provider-agnostic message loop — wired to a different vendor’s API, with a complete Agentcard for companies integration:
  1. Client — self-registers a public OAuth client at startup via Dynamic Client Registration (pin AGENTCARD_OAUTH_CLIENT_ID to use your own instead; production apps usually pin a client).
  2. User auth — the “Connect with Agentcard” OAuth flow with PKCE, run by a small connect/callback server in the same process, tokens persisted per user.
  3. MCP — a card toolset (create_card, list_cards, get_card_details, check_balance, close_card, approve_request, transactions, get_plan) called with each user’s token — cards isolated per app and user.
Every example runs locally in terminal mode with zero vendor credentials (bun run dev), and each ships offline e2e, provider, and contract tests.

The examples

ExampleSurface
PhotonAgent-first iMessage / WhatsApp / Slack framework — the reference build
SendblueiMessage API for business
LoopMessageiMessage Conversation API
LinqiMessage / SMS / RCS partner API
BlueBubblesOpen-source self-hosted iMessage server
TwilioProgrammable Messaging (SMS/MMS)
Respond.ioOmnichannel customer conversation API
HermesSelf-hosted agent messaging gateway (signed webhooks)
Vercel Chat SDKAI SDK chatbot — a POST /api/chat endpoint