Skip to main content

Use any Chat SDK adapter with eve

By Steven Van ·

One channel now reaches Messenger, WhatsApp, Resend, Liveblocks and other Chat SDK adapters, with a guide for wiring up a full email inbox on Resend.

Vercel's eve agents can now connect to any Chat SDK adapter through a single new Chat SDK channel, reaching Facebook Messenger, WhatsApp, Resend, Liveblocks, or any other surface with an adapter. Handlers are written as normal Chat SDK code and registered on bot exactly as in a standalone Chat SDK app; calling send inside a handler hands the message to the agent.

Out of the box, the channel:

  • Mounts a webhook route for each adapter, such as /eve/v1/resend
  • Shows a typing indicator while a turn runs, then posts the agent's reply
  • Renders human-in-the-loop input requests as cards with buttons, and resumes the session when one is clicked
  • Persists the thread, so later events, including proactive sends from schedules, reach the same conversation
  • Reports failures in the thread with a readable message

Each of these defaults can be overridden with custom event handlers. Vercel's accompanying guide walks through wiring the channel to Resend to give an eve agent a full email inbox, with threaded replies and attachment support.

Vercel
Vercel
The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.
View Vercel →

Read the original announcement →

Read Use any Chat SDK adapter with eve on Creators Toolbox