Vercel

Chat SDK Adds Voice and SMS Capabilities via New AgentPhone Adapter


Executive Summary

The Chat SDK now features a new, vendor-official adapter for AgentPhone, enabling developers to assign a dedicated phone number to their bots. This allows a single bot to handle both voice calls and SMS/iMessage using the same conversational handlers. The adapter simplifies development by processing calls and texts through a single webhook and delivering voice call transcripts as messages, preserving context within a unified conversation thread.

Key Takeaways

* New Integration: The Chat SDK now officially supports AgentPhone through a dedicated adapter.

* Unified Communication: Bots can be assigned a unique phone number to manage both voice calls and text messages.

* Simplified Development: The same message handlers can be used for both voice and text, as calls and messages are processed via a single webhook and endpoint.

* Automatic Transcription: When a voice call concludes, a transcript is automatically delivered as a message, allowing the bot to respond via text.

* Context Preservation: All interactions (calls and texts) with a single phone number are consolidated into one conversation thread, ensuring the bot maintains context.

Strategic Importance

This integration expands the Chat SDK from a text-based platform into an omnichannel communication tool, making it significantly more versatile for developers building customer service and support automation solutions.

Original article