Short answer: connect the agent to Dial. Dial gives AI agents real phone numbers: SMS, iMessage, WhatsApp, AI voice calls, and inbound events. For OpenClaw and Hermes there are two equal ways in, the Dial skill (recommended) or Dial's MCP server, plus an optional third step so incoming texts and calls reach the agent without it having to check.
Your agent gets its own number. People see that number when it calls or texts, and can call or text it back.
The fast way: one sentence
OpenClaw and Hermes can run commands, so they can set themselves up. From any chat you've paired with the agent, say:
"Sign in to Dial (getdial.ai) so you can make calls and send texts."
Or give it the job straight away:
"Make a phone call through Dial (getdial.ai): call Dr. Patel's office on +1 415 555 0142 and ask for the earliest cleaning appointment next week."
The agent installs what it needs and asks you for two things along the way: the code Dial emails you, and, for a new account, the code Dial texts to a phone number of yours. Prefer to do it by hand? Use one of the two options below.
Option 1: The Dial skill (recommended)
The skill teaches your agent the dial command: sending texts, placing calls, waiting for replies, managing numbers.
1. Install the CLI.
curl -fsSL https://getdial.ai/install | bashOr point your agent at the setup page written for agents: "Follow https://getdial.ai/skills.md to install and onboard the dial CLI."
2. Sign up and install the skill in one step.
dial auth login [email protected]Dial emails you a code. Verify it with the flag for your agent:
# OpenClaw
dial auth verify-otp --code <code> --agent openclaw
# Hermes
dial auth verify-otp --code <code> --agent hermesThat verifies your email and copies the Dial skill into the agent's config (~/.openclaw/skills/dial-cli/ or ~/.hermes/skills/dial-cli/).
3. New accounts: confirm a phone number of yours. Dial texts it a code:
dial auth register-number +14155550123
dial auth verify-otp --number --code <code>This creates the account and gives your agent its first number. Run dial doctor to check everything is ready.
After a CLI upgrade, re-run dial auth verify-otp --agent openclaw (or hermes) to refresh the skill.
Option 2: Dial's MCP server
If you manage your agent's tools through MCP, register Dial as a server instead.
OpenClaw, hosted server (sign in through the browser):
openclaw mcp add dial \
--url https://getdial.ai/mcp \
--transport streamable-http \
--auth oauth
openclaw mcp login dialOpenClaw, local server (reuses the key from the CLI setup):
openclaw mcp add dial --command npx --arg -y --arg @getdial/cli --arg mcpMCP changes apply without restarting the Gateway.
Hermes, local server:
hermes mcp add dial --command npx --args -y @getdial/cli mcpHermes, hosted server (in ~/.hermes/config.yaml):
mcp_servers:
dial:
url: "https://getdial.ai/mcp"
auth: oauth
enabled: trueEither way, the agent gets Dial's tools: send_message, place_call, get_call, wait_for_event, lookup_number, list_numbers and the rest.
Try it
From any chat you've paired with the agent:
"Use Dial to call Dr. Patel's office on +1 415 555 0142. Ask for the earliest cleaning appointment next week, morning only. Don't book it, just tell me the options."
"Text the contractor at +1 415 555 0177: can you come Thursday instead of Wednesday? Tell me when he answers."
On calls, Dial's AI voice runs the conversation from your agent's brief, and the agent reads the transcript when it ends. On texts, the agent sends from its own number and waits for the reply.
Let texts and calls wake the agent (optional)
People reply when your agent is busy with something else. To have incoming texts and finished calls reach the agent on their own, install Dial's listen service and point it at the agent.
dial listen installOpenClaw: turn on the Gateway's hooks block with a token and a mapping for Dial events, then register the Gateway as a local target:
dial local-target add url "http://127.0.0.1:18789/hooks/dial" --bearer "<your-hooks-token>"Hermes: enable Hermes's webhook platform, create a subscription for Dial events, then hand its URL and secret to Dial:
hermes webhook subscribe dial \
--events "message.received,call.ended" \
--prompt "Dial event {type} from {from}: {body}"
dial local-target add url "<subscription-url>" --secret "<subscription-secret>" --signature-header "X-Hermes-Signature"Prefer a simpler route? Both agents also work with a command target: a small script that starts a fresh agent run for each event. The full config for each option is in Dial's OpenClaw guide and Hermes guide. Keep the Gateway and the Hermes webhook bound to 127.0.0.1; Dial only delivers to local addresses here.
Set what happens when someone calls back
When someone calls your agent's number, Dial's AI voice answers using that number's inbound instruction. Make it match the agent's job. The easiest way is to ask your agent:
"Set your inbound instruction to: you're Sam's assistant. Take a message: name, reason and a good time to call back."
Or from a terminal:
dial number set +14155550123 \
--inbound-instruction "You're Sam's assistant. Take a message: name, reason and a good time to call back."Or send calls straight to your own phone ("Forward calls on your number to +1 415 555 0123", or --forward-to +1...) and keep texts with the agent.
Good to know
FAQ
How do I give an OpenClaw agent its own phone number?
Tell it "Sign in to Dial (getdial.ai) so you can make calls and send texts." It sets itself up and asks you for the codes. By hand: install the Dial CLI, sign up, and verify with dial auth verify-otp --code <code> --agent openclaw, or register Dial's MCP server with openclaw mcp add dial --url https://getdial.ai/mcp --transport streamable-http --auth oauth.
How do I give a Hermes agent its own phone number?
The same sentence works: "Sign in to Dial (getdial.ai) so you can make calls and send texts." By hand, use the same flow with --agent hermes, or add Dial as an MCP server with hermes mcp add or in ~/.hermes/config.yaml.
Skill or MCP?
The skill is the recommended path: one install and one flag. Choose MCP if you already manage the agent's tools as MCP servers, or want to sign in through the browser instead of the CLI.
Can the agent call and text from the same number?
Yes. One number places calls, sends and receives texts, and answers when someone calls back.
Does it work with NanoClaw too?
Yes. Use --agent nanoclaw, run from inside the NanoClaw project folder. See the NanoClaw guide.
My agent is Grok Bot, Claude Duet, ChatGPT dots, Meta Muse or Perplexity. Does this apply?
Not the skill part: those assistants run in their maker's cloud and connect through Dial's remote MCP server, https://getdial.ai/mcp. Tell the assistant "Sign in to Dial (getdial.ai) so you can make calls and send texts." and it takes it from there. See How to give your AI agent a phone number.
Can it send WhatsApp or iMessage?
Yes. iMessage comes with an iMessage number. WhatsApp can be added to an iMessage number, or you can get a number with just SMS and WhatsApp; WhatsApp is switched on per account. See our guide to the MCP server for WhatsApp and iMessage.
Related
The takeaway
OpenClaw and Hermes already handle your messages. With Dial they get a number of their own: one sentence to set it up, and the listen service so replies find their way back.
