Yesterday's Top Poster

Use any Chat SDK adapter with eve

  • Thread starter Thread starter Josh Singh, Ben Sabic
  • Start date Start date
eve now supports Chat SDK adapters with the new Chat SDK channel.

One channel connects your eve agent to Facebook Messenger, WhatsApp, Resend, Liveblocks, and any other surface with an adapter. You write normal Chat SDK handler code, and calling send inside a handler hands the message to your agent.


Register handlers on bot exactly as you would in a standalone Chat SDK app.

Out of the box, the channel:


  • Mounts a webhook route for each adapter (e.g., /eve/v1/chat/slack)


  • 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

Supply your own events handlers to override any of these defaults.

Read the Chat SDK channel documentation to get started, or learn how to build your own eve agent with Resend.

Read more

Continue reading...
 
Back
Top