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.
import { createMemoryState } from "@chat-adapter/state-memory" ;
import { createResendAdapter } from "@resend/chat-sdk-adapter" ;
import type { Message , Thread } from "chat" ;
import { chatSdkChannel } from "eve/channels/chat-sdk" ;
export const { bot , channel , send } = chatSdkChannel ( {
userName : "Resend Agent" ,
adapters : {
resend : createResendAdapter ( {
fromAddress : "[email protected]" ,
fromName : "Resend Agent" ,
} ) ,
} ,
state : createMemoryState ( ) ,
streaming : false ,
} ) ;
bot . onNewMention ( async ( thread : Thread , message : Message ) => {
await thread . subscribe ( ) ;
await send ( message .…