...Developers implement an Agent interface that receives conversation identifiers, text, and optional media and returns text or media responses. An included ACP adapter can connect compatible agents such as Claude Code, Codex, and other command-line agents without custom integration code. QR-code login handles account authentication, while a message loop manages incoming and outgoing conversations. The SDK supports text, images, audio, video, files, quoted content, and voice transcription data. Bots can also proactively send messages after the required conversation context has been established. ...