# Chat SDK adds AgentPhone support

**Published:** June 1, 2026 | **Authors:** Ben Sabic, Vishal Yathish

---

Chat SDK now supports AgentPhone with the new [vendor-official adapter](https://chat-sdk.dev/adapters/vendor-official/agentphone).

Give your bot its own phone number so it can handle voice calls and text messages using the same handlers you already write. When a call ends, the transcript is delivered as a message, allowing your bot to respond via SMS or iMessage.

**lib/bot.ts**
```typescript
import { Chat } from "chat";
import { createAgentPhoneAdapter } from "@agentphone/chat-sdk-adapter";
const bot = new Chat({
  userName: "mybot",
  adapters: {
    agentphone: createAgentPhoneAdapter(),
  },
});
bot.onNewMention(async (thread, message) => {
  await thread.post(`You said: ${message.text}`);
});
```

Calls and messages to the same number arrive via a single webhook, so you handle both from a single endpoint rather than a separate pipeline for each channel. They also land in one thread, so your bot maintains context throughout the conversation.

Read the [AgentPhone](https://docs.agentphone.ai/) documentation to get started.

**The Complete Guide to Chat SDK**
Learn how Chat SDK works end-to-end: from core concepts to building your first chatbot to deploying it across platforms.
[Read the guide](https://vercel.com/kb/guide/the-complete-guide-to-chat-sdk)

---

📚 **More updates:** [View all changelog entries](/changelog/sitemap.md) | [Blog](/blog/sitemap.md)