Skip to main content
The Vercel AI SDK chatbot contract: instead of a messaging vendor’s webhooks, your users hit a POST /api/chat endpoint. Same shared Claude agent, same full Agentcard integration — per-user OAuth connect and the MCP card toolset.

Run it

git clone https://github.com/tiny-agent-company/example-implementations
cd example-implementations/vercel-chat-sdk
bun install
cp .env.example .env   # add ANTHROPIC_API_KEY
bun run dev            # terminal mode — chat locally, zero credentials
bun run start          # serves the POST /api/chat endpoint
In terminal mode you can drive the whole Agentcard flow — ask the agent for a card, tap the connect link it hands you, and watch it mint one in sandbox.

Vercel Chat SDK example on GitHub

The runnable folder — endpoint, Agentcard wiring, and offline tests.