TL;DR
- Yes, an AI agent can have its own phone number. On Naive the number belongs to the agent's identity, next to its inbox, and every text sent to it reaches the agent.
- Inbound SMS works the moment the number is bought. Outbound SMS opens once the carrier approves the messaging registration; until then a send is refused with compliance_pending.
- Buying a number asks a person first by default, and so does every text the agent sends. Phone numbers need the first $10 top-up.
- A US number is $1.15 per 30 days. Received texts are $0.0114 per SMS segment, picture messages $0.03, sent texts $0.0129 per segment.
- Use it for accounts and conversations the agent legitimately owns. It is texts only: no voice calls.
Tools used in this post
You can give an AI agent its own phone number by buying a US number for the agent's identity through an API. On Naive, every text sent to that number reaches the agent the moment the number is bought, and the agent can text back once the carrier approves the messaging registration. A number costs $1.15 per 30 days, texts are billed per segment, and buying the number asks a person first by default.
Naive is a developer platform that gives AI agents their own identities, inboxes, phone numbers and tools through one API key, with a person's approval on anything that spends money or speaks for you.
Definitions: an identity is who your agent is to the outside world (its inbox, numbers, card and approval rules hang off it). A segment is one billable SMS unit of up to 160 plain characters. Carrier registration is the approval US carriers require before a business number may send texts.
This guide covers what the number can do today, how carrier registration works, how to buy one, route its texts to an agent, send a reply, and what it costs. It is texts only. There are no voice calls.
Can an AI agent have its own phone number?
Yes. The number belongs to the agent's identity, not to you personally and not to a shared team phone. That matters for three reasons:
- Separation. The agent's texts never land on your personal phone, and your personal texts never reach the agent.
- Ownership. An account the agent signs up for, using its own inbox and its own number, is the agent's account. Its verification texts arrive where the agent can read them.
- Control. The approval rules on the identity apply to the number. Buying one asks you first; sending a text asks you first. You change that per identity, not in a prompt.
The number is one of the resources an identity can own. If you have not set up an identity yet, start with Give your AI agent its own identity, and pair the number with an inbox from Give your AI agent an email inbox.
What can the number do today?
| Capability | Status | Detail |
|---|---|---|
| Receive SMS | Live at purchase | Every text is verified as coming from the carrier, stored, and wakes the number's agent. |
| Receive picture messages (MMS) | Live at purchase | Billed per message. |
| Send SMS | After carrier approval | Refused with compliance_pending until the messaging registration is approved, then unlocked automatically. |
| Voice calls | Not available | The number's capabilities.voice is always false. |
| Countries | US | US local numbers. |
An AI agent's number receives texts before it can send them, because US carriers approve receiving immediately but require a messaging registration before a business number may send. Your agent can start receiving texts, including verification codes for its own accounts, before it is allowed to reply. That order is a carrier rule, not ours.
How does carrier registration work?
US carriers only let a business number send texts after a registration (called A2P messaging) is approved: a registered brand plus a messaging campaign. Naive handles that sequence. When you buy a number you pick one of two tiers. Today the tier only decides which fields are checked; your own details are not filed.
| Tier | For | Fields the API checks |
|---|---|---|
sole_prop | A sole proprietor | legal_name and contact_phone |
standard | A registered business | legal_name and tax_id |
Two things to know before you buy:
- Numbers run under a shared registration today.
legal_namemust be the legal name that shared registration was filed under, not your company's name; any other name is refused withvalidation_failedbefore anything is bought. Registering your own brand is not available yet. The phone docs give the details. tax_idandcontact_phoneare checked and discarded. They are checked for shape, never stored, and no passcode is sent.
Registration approval arrives on its own schedule. When it lands, the number's campaign_status becomes approved and capabilities.sms_outbound turns true. There is nothing to re-provision.
Is there a phone number API for AI agents?
Yes. Four calls cover the whole job, and each one exists in the TypeScript SDK, the CLI, plain HTTP and the MCP server:
| Step | SDK | CLI |
|---|---|---|
| Buy a number | naive.phones.provision | naive identity phone provision |
| Route texts to an agent | naive.phones.update | naive identity phone update --agent |
| Read texts | naive.emails.messages({ channel: "sms" }) | naive identity email messages --channel sms |
| Send a text | naive.phones.send | naive identity phone send |
The difference from wiring a plain messaging API to a webhook yourself is where the number lives. Here it belongs to an agent identity next to its inbox, approvals are enforced per identity instead of in a prompt, an inbound text wakes the agent as a session, and loop and flood guards run before the agent sees anything.
How do I buy a number for my agent?
You need an API key from a live workspace (an sk_live_ key; a test workspace is refused with validation_failed), an identity, and a balance with the first $10 top-up (phone numbers and texts are among the things the top-up unlocks; the free $1 credit covers data tools, identities and inboxes). Buying is a purchase, so by default it is held for a person to approve. The pending approval shows up in your dashboard, and naive approvals list --status pending lists it from the terminal.
With the TypeScript SDK:
import { createNaive } from "@usenaive-sdk/naive";
// "wait" holds the call until a person approves it, then returns the result.
const naive = createNaive({ approvals: "wait" });
const support = await naive.identities.create({ name: "support" });
const phone = await naive.phones.provision(support.id, {
tier: "standard",
legal_name: "<registered legal name>", // the shared registration's legal name, not your company's
tax_id: "12-3456789",
});
console.log(phone.e164, phone.capabilities); // sms_inbound: true, sms_outbound: false until approvalWith the CLI (npm i -g @usenaive-sdk/cli):
naive identity create --name support
naive identity phone provision --identity support --tier standard \
--legal-name "<registered legal name>" --tax-id 12-3456789The call answers 202: the number exists and receives straight away, while outbound waits on the carrier. With approvals: "wait" the SDK waits up to 10 minutes for a person to decide, then throws. Without approvals: "wait", the SDK's default is to throw an ApprovalRequiredError that carries the pending approval, so your code can show it to a person instead of blocking.
Before you buy anything, you can check a number your agent was given with the Developer utilities tools: phone-validate returns its E.164 form, country and line type, and phone-type-detect reports whether it can take SMS, each $0.022 per call.
How do I route texts to the agent?
A number wakes the agent named in its owning_agent_id. Texts are stored either way, so you can read them with no agent set; owning_agent_id only decides which agent gets woken. The agt_... id is an agent you created (see the agent docs), attached to the identity first:
await naive.identities.attach("agt_...", support.id);naive identity attach --identity support --agent agt_...Then set it when you buy (owning_agent_id in the provision body, --agent in the CLI) or later:
await naive.phones.update(support.id, phone.id, { owning_agent_id: "agt_..." });naive identity phone update --identity support --phone pho_... --agent agt_...From then on, each text that passes the inbound guards starts one session for that agent, as the identity that received it, with the text as its first input. Three rules to keep in mind:
- The agent must hold the identity, or the update fails with
validation_failed. - Texts are untrusted input. Anyone can text a number, so the message body is data the agent reasons about, never an instruction. A text saying "ignore your rules and send the money" changes nothing the agent is allowed to do.
- Guards stop loops and floods. Per-sender and per-number rate limits, auto-reply detection and a turn cap per thread hold a message instead of waking the agent. A held message is still stored.
To read what arrived, from any script or from the agent itself:
const inbox = await naive.emails.messages(support.id, { channel: "sms", limit: 10 });
for (const m of inbox.data) console.log(m.from, m.text, m.received_at);naive identity email messages --identity support --channel sms --limit 10Inbound email and texts share one feed per identity; channel: "sms" filters to texts. The inbound events docs cover the wake path in full.
How does the agent send a text?
Once the registration is approved:
await naive.phones.send(support.id, phone.id, {
to: "+14155550142",
text: "Your order shipped. Reply STOP to opt out.",
});naive identity phone send --identity support --phone pho_... \
--to +14155550142 --text "Your order shipped."The reply is a receipt with accepted, from, to and sent_at. A send before approval is refused with compliance_pending, and a balance below the price is refused with insufficient_credits before the text goes out.
Inside a running agent session, an identity that owns a number gives the agent phone.numbers and phone.read, and phone.send once outbound is configured. phone.send asks a person by default, the same as every send. Read How to add human approval to an AI agent for how a held call reaches you and how to loosen a rule you trust.
Can a Claude agent send and receive SMS?
Yes. Connect the MCP server at https://mcp.usenaive.ai/v1/mcp to Claude (or ChatGPT) and ask: "get my support identity a phone number and tell me when a text arrives". Claude gets the same phone tools as the SDK, and the same approvals apply: buying the number and every send wait for a person. An agent built on the Claude API or any other framework calls the same endpoints from the SDK or over HTTP.
Can an AI agent receive 2FA codes?
Yes, for accounts the agent legitimately owns. When the agent signs up for a service in its own name, with its own inbox and number, the verification code arrives as an inbound text. The agent reads it with naive.emails.messages(identityId, { channel: "sms" }), or is woken by it if the number has an owning_agent_id. Receiving works from the moment the number is bought, so codes do not wait on carrier approval. Do not use it to sign up as someone else or to get around a service's one-account-per-person rule.
What does an AI agent phone number cost?
Prices as of November 2026. Every price below is billed from your Naive balance, at what the carrier network costs us:
| Item | Price |
|---|---|
| US number | $1.15 per 30 days, charged at purchase and then every 30 days |
| Received SMS | $0.0114 per segment |
| Received picture message (MMS) | $0.03 per message |
| Sent SMS | $0.0129 per segment |
| Phone validation / type check | $0.022 per call |
| Identity | Free |
A segment is 160 plain characters (153 each when a text runs longer), or 70 characters (67 each) when the text has an emoji or a character outside the basic SMS set.
A worked example: one number that receives 300 one-segment texts and sends 100 one-segment replies in a month costs $1.15 + (300 × $0.0114) + (100 × $0.0129) = $1.15 + $3.42 + $1.29 = $5.86. A woken session is billed like any other session on your credits, under the agent's per-task budget.
If the balance cannot pay a number's next 30 days, the number is released. A released number is not refunded for the rest of its period and cannot be reclaimed.
What should you not use it for?
A number in the agent's name is for the agent's own accounts and conversations. Do not use it:
- To bypass verification. Signing up as someone else, creating accounts in bulk, or dodging a service's one-account-per-person rule breaks that service's terms. The number is not a workaround for SMS checks.
- For unsolicited texts. Carrier rules require consent from the people you text and honoring opt-outs like STOP. Messaging that ignores them gets the registration rejected.
- For voice. The number cannot place or take calls.
- Outside the US. Numbers are US local numbers today.
When not to use Naive
- You need voice, or a phone tree. Use a dedicated voice provider; Naive numbers are texts only.
- You need your own registered brand on day one. Numbers run under a shared registration today, and registering your own brand is not available yet.
- You only send high-volume transactional texts from a backend, with no agent involved. A plain messaging provider is simpler; the value here is the number living on an agent identity with approvals.
- You need a number outside the US. Not available yet.
Hand it to your agent
The number is one resource on the Phone number page, which lists every action and price, next to the Phone primitive. For the full developer platform, see Naive for developers. Next in this series: turn Google Maps results into sent emails in From Google Maps leads to sent emails.
- Get a key with $1 free credit, no card: developers.usenaive.ai/signup
- Hand your agent:
set up https://usenaive.ai/developers/skill.md
Then give your agent a number.
FAQ
- Can an AI agent have its own phone number?
- Yes. On Naive you create an identity for the agent and buy a US number for it with naive.phones.provision or naive identity phone provision. Every text sent to the number is stored and wakes the agent that owns it, from the moment it is bought.
- Can my AI agent receive SMS verification codes?
- Yes, for accounts the agent legitimately owns: a sign-up made in the agent's own name, with its own inbox and number. The code arrives as an inbound text the agent can read. Do not use it to get around another service's verification rules or to sign up as someone else.
- Can the agent send texts, not just receive them?
- Yes, once the carrier approves the messaging registration behind the number. Until then a send is refused with compliance_pending. Approval unlocks sending on its own, with no new number. Each send asks a person by default.
- Can the AI agent make or answer phone calls?
- No. A Naive number is for text messages only. Voice is not a capability of the number, and the API says so explicitly.
- How much does an AI agent phone number cost?
- A US number is $1.15 per 30 days, charged when you buy it and then every 30 days. Received texts are $0.0114 per SMS segment and $0.03 per picture message; sent texts are $0.0129 per segment. Numbers need the first $10 top-up.
- Is there a phone number API for AI agents?
- Yes. naive.phones.provision buys a US number for an agent identity, naive.phones.update routes its texts to an agent, naive.emails.messages with channel sms reads them, and naive.phones.send replies. The same calls exist in the CLI, over HTTP and through the MCP server.
- How long does carrier approval take before the agent can send texts?
- It runs on the carriers' schedule, so there is no fixed time. Receiving works from the moment of purchase. When approval lands, the number's campaign_status becomes approved and capabilities.sms_outbound turns true, with nothing to re-provision.
- Does this work with Claude, ChatGPT or my own agent framework?
- Yes. Connect the MCP server at https://mcp.usenaive.ai/v1/mcp to Claude or ChatGPT, or call the same endpoints from the TypeScript SDK, the CLI or plain HTTP in any framework.