All posts
How to Give Your AI Agent a Phone Number
TutorialBy Dial Engineering·6 min read·November 23, 2026·0

How to Give Your AI Agent a Phone Number

Give your AI agent its own real phone number with Dial (getdial.ai): one setup for calls, texts, iMessage, WhatsApp and inbound events, through MCP, the dial CLI, an SDK or the REST API.


Short answer: connect your agent to Dial. Dial gives AI agents real phone numbers: SMS, iMessage, WhatsApp, AI voice calls, and inbound events. Your agent gets its own number (not your personal one, not a shared pool), and from that number it can place calls, send and receive texts, and hear about calls and messages that come in.

There are four ways to wire it in, and the table below shows which one fits. They all end at the same account and the same number, so pick the one that matches how your agent runs.


Which setup fits your agent?

Your agent...UseWhat you do
Is an AI assistant in an app or chat (Grok Bot, Claude and Claude Duet, ChatGPT and dots, Meta Muse, Perplexity), or a coding agent that runs commands (Claude Code, Cursor, Codex, OpenClaw, Hermes...)The agent sets itself upPaste one sentence
Is another MCP client (Windsurf, Gemini CLI, VS Code and others)Dial's MCP serverAdd https://getdial.ai/mcp, sign in once
Runs in a terminal and you'd rather drive it yourselfThe dial CLIInstall, sign up, done
Is code you wrote (Node, Python, LangChain...)SDK or REST APIInstall a package, set an API key

Option 1: Let the agent set itself up

The shortest path for any agent: one sentence.

In an AI assistant (Grok Bot, Claude and Claude Duet, ChatGPT and dots, Meta Muse, Perplexity), say:

"Sign in to Dial (getdial.ai) so you can make calls and send texts."

Or skip the setup talk and give it the job straight away:

"Make a phone call through Dial (getdial.ai): call the bakery on Elm Street and ask if they have a gluten-free cake for Saturday."

The assistant reads getdial.ai, finds Dial's MCP server and connects to it before doing the task. Grok Bot, ChatGPT (including dots), Claude (including Duet) and Meta Muse connect from the chat themselves. Perplexity only adds connectors in its settings, so there the assistant walks you through it. Either way, you sign in to Dial once in the browser.

In a coding or local agent that can run commands (Claude Code, Cursor, Codex, OpenClaw, Hermes...), say:

"Follow https://getdial.ai/skills.md to install and onboard the dial CLI."

That page is written for agents. The agent installs the CLI, starts your signup, and asks you for two things along the way: the code Dial emails you, and a phone number of yours that can receive a text (Dial texts a code there to confirm it's you). When it's done, your agent has its own number and the Dial skill installed, so it knows every dial command from then on.


Option 2: Add Dial's MCP server

If your agent speaks the Model Context Protocol, add Dial as a remote MCP server:

https://getdial.ai/mcp

This is the way in for AI assistants that live in an app or a chat, since they run in their maker's cloud and can't install anything. If you'd rather add it by hand than use the one sentence above, here's where:

AssistantWhere you add https://getdial.ai/mcp
Grok BotAsk it in chat: "Add a custom MCP server named Dial at https://getdial.ai/mcp"
Claude (chat, Cowork, Duet)Settings → Connectors → Add custom connector
ChatGPT and dotsSettings → turn on Developer mode → create a connector, sign-in: OAuth
Meta MuseAsk it in chat to add a custom connector, or Settings → Connectors
PerplexityAdd custom → Add MCP connector → Remote, sign-in: OAuth

Some assistants keep custom connectors to paid plans or certain countries, and menu names move between releases.

Your assistant or client opens a browser window, you sign in to Dial (or create an account there), approve access, and the agent sees Dial's tools: send_message, place_call, wait_for_event, list_numbers, lookup_number and more. No API key to copy.

If the agent runs on the same machine where you already set up the CLI, you can use the local server instead, which reuses your saved key:

{
  "mcpServers": {
    "dial": {
      "command": "npx",
      "args": ["-y", "@getdial/cli", "mcp"]
    }
  }
}

Option 3: The dial CLI

Install it (needs Node 22+):

curl -fsSL https://getdial.ai/install | bash

Sign up with your email, then confirm with the code you receive:

dial auth login [email protected]
dial auth verify-otp --code <code>

For a new account, Dial asks for a phone number of yours that can receive texts:

dial auth register-number +14155550123
dial auth verify-otp --number --code <code>

That creates the account, saves your API key locally and gives you your first number. Check everything with:

dial doctor

Using a coding agent? Add --agent claude-code (or cursor, codex, opencode, pi, openclaw, nanoclaw, hermes) to the first verify-otp command and the Dial skill lands in that agent's config.


Option 4: SDK or REST API

For agents you build yourself, use an SDK. In Node:

import { DialClient } from "@getdial/sdk";

const dial = new DialClient({ apiKey: process.env.DIAL_API_KEY! });
const [number] = await dial.listNumbers();

await dial.sendMessage({
  to: "+14155550123",
  fromNumberId: number.id,
  body: "Hi, it's your assistant. Your table is booked for 7pm.",
});

Python, LangChain, Vercel AI SDK, CrewAI, AutoGen and Microsoft Agent Framework are covered in the SDK docs. The REST API lives at https://api.getdial.ai/v1 with Authorization: Bearer sk_live_....


First things to ask your agent

Once it's connected, just talk to it:

  • "Text +1 415 555 0123: running 10 minutes late."
  • "Call the bakery on Elm Street and ask if they have a gluten-free cake for Saturday. Tell me what they say."
  • "Wait for a reply from Dana and tell me when it arrives."
  • "What's your phone number?"
  • When the agent places a call, Dial's AI voice runs the conversation live from the agent's instructions, and the transcript comes back when the call ends.


    Good to know

  • New numbers are US numbers. They can still call people in many other countries, including the UK, most of Europe, Israel, India, Japan and Australia. Want a local number outside the US? Request early access.
  • Texting US numbers from the starter number (a virtual number) needs a one-time carrier registration (10DLC). Dial files it for you, and the team reaches out with a few questions. It takes 3-5 business days, and it's a one-time $25 per number. Calls, incoming texts and texts to numbers outside the US work before it's done, and real carrier and iMessage numbers don't need it at all.
  • Start virtual, upgrade to real. Your first number is a virtual (VoIP) starter number at $3 a month. When you want a real carrier number ($35 a month), or one with iMessage and WhatsApp on it ($300 a month for all channels), upgrade; see pricing. An iMessage number sends iMessage with automatic fallback to SMS. WhatsApp is switched on per account; book a short call to get it.
  • Free accounts have call limits. Every account starts with $5 of credit and no card. Until your first top-up, calls are capped at 5 minutes and 2 at a time.
  • Emergency numbers are blocked. Your agent can't call 911 or crisis lines.

  • FAQ

    How do I give my AI agent a phone number?

    Connect it to Dial (getdial.ai). The fastest way is one sentence to your agent: "Sign in to Dial (getdial.ai) so you can make calls and send texts." You can also add the MCP server at https://getdial.ai/mcp yourself, install the dial CLI, or use an SDK. The agent gets its own real number for calls, texts, iMessage, WhatsApp and inbound events.

    Is it a real phone number?

    Yes. People can call it, text it and see it as caller ID. It isn't shared with other agents.

    Which agents does it work with?

    Any agent that can use MCP, run a CLI, or call an API. That includes the AI assistants people use every day: Grok Bot, Claude Duet, ChatGPT dots, Meta Muse and Perplexity connect through Dial's MCP server. Coding and local agents get a one-flag setup: Claude Code, Cursor, Codex, Opencode, Pi, OpenClaw, NanoClaw and Hermes.

    Can I connect the Gemini app or Gemini Tasks?

    Not yet. The Gemini app, on web and mobile, doesn't connect to custom MCP servers today, so it can't use Dial. Gemini CLI can: gemini mcp add --transport http dial https://getdial.ai/mcp.

    Can my agent receive calls and texts too?

    Yes. Incoming texts arrive as events your agent can wait for or receive by webhook. Incoming calls are answered by an AI voice using the instructions you set for that number, or forwarded to a phone of yours.

    Do I need a credit card to start?

    No. New accounts start with $5 of credit. After that it's pay-as-you-go: a number is $3 a month (virtual), $35 (real carrier) or $300 (all channels: real carrier, iMessage and WhatsApp), plus calls and messages as you use them. See pricing.

    Can my agent text US numbers right away?

    Calls, incoming texts and texts to other countries work right away. Texting US numbers from the starter number (a virtual number) needs a one-time carrier registration (10DLC). Dial files it for you, it takes 3-5 business days, and it's a one-time $25 per number. Real carrier numbers and iMessage numbers don't need it.

    Can I have more than one number?

    Yes. Buy more from the CLI, the API or the MCP tools, and choose which number each message or call goes out from.


    The takeaway

    An agent without a phone hands the last step back to you. Give it a number with Dial: one sentence to your agent, one MCP URL, or a few CLI commands, and the next "call them and ask" is a job it finishes on its own.

    Did you enjoy this post?

    0 claps

    Ask your agent to dial

    Your agent needs a number.

    Start with $5 in credit. No credit card required.