# How to give your AI agent a real phone number
URL: /blog/give-your-ai-agent-a-phone-number

Your AI agent can reason and write, but customers still want to call. Here is what it needs to answer and place phone calls: a number in the right country, a voice path, routing and guardrails, with step-by-step setup on Skysay.

You built an AI agent that qualifies leads or books appointments inside your app. Then a customer writes: "Can I just call you?" Your agent can reason, look things up and write, but it has no phone line. Behind that one question sit carriers, number registration, call audio and turn-taking.

**To give an AI agent a phone number, you need three things: a number in the right country that supports the calls you need, a voice path between the call's audio and your agent, and rules for what the agent may do on paid actions.** With Skysay you choose a number in the workspace or over the API, then either let Skysay run the voice conversation or stream the call's audio to the agent you already host. Skysay handles carrier onboarding with the documents you provide.

## What does an AI agent need before it can answer a call?

| Piece             | What it does                                                                     | How it works on Skysay                                                                                  |
| ----------------- | -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| A phone number    | Gives callers something to dial and gives your agent a caller ID                 | Phone numbers in 100+ countries. Number types and call and SMS support differ by country                |
| Number activation | Lets the carrier hand the number out                                             | Some countries need end-user registration and carrier forms first                                       |
| A voice path      | Turns the caller's speech into turns your agent can act on, and back into speech | A hosted AI agent, or your own agent over a signed audio stream                                         |
| Routing           | Decides which agent answers which number                                         | Number rules in the workspace or over the API                                                           |
| Guardrails        | Stops paid or unwanted actions                                                   | Scoped keys, checks before every outbound call, and a confirmation before each paid call, SMS or number |

## Which way should your agent take calls?

Pick the mode by asking who runs the voice conversation.

| Mode                                     | Who hears and speaks on the call                                            | Use it when                                                        |
| ---------------------------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| Hosted AI agent                          | Skysay runs the conversation with the instructions, voice and tools you set | You want a working phone agent without building a voice pipeline   |
| Your own realtime audio agent            | Your service receives the call's audio and speaks back over a websocket     | You already run a voice agent and only need the phone line         |
| An AI assistant operating your workspace | Nobody on the call. The assistant manages numbers, agents and calls for you | You want an assistant to set things up and place calls you approve |

The last row is the one people mix up. Connecting an AI assistant to your Skysay workspace lets it manage numbers and calls, but it does not make that assistant the voice a caller hears. The caller always hears a hosted AI agent or your own audio integration.

## How do you get a number for your AI agent?

1. **Check the country.** Open the [coverage list](/phone-numbers-for-ai-agents) and choose a country and number type. Each one shows incoming calls, outgoing calls and SMS separately. Phone numbers in 100+ countries does not mean every number type in every country supports voice and SMS.
2. **Read the registration requirement.** Some carriers register an end user against the number before it works. US, Canadian and UK local numbers need no registration. France local, Hong Kong national, India local, Thailand and most Caribbean numbers need a carrier form. Over the API, `GET /v1/numbers/requirements` tells you what to collect. The [regulated numbers guide](/docs/regulated-numbers) explains each field.
3. **Request the number.** Do it on the **Numbers** page or over the API. Where registration applies, the number is bought before the carrier's own review, and activation follows that review.
4. **Point the number at your agent.** In the number's routing controls, choose the AI agent that answers. Use an isolated test number first instead of rerouting a working business line.
5. **Test in two steps.** A [browser test](/docs/trial-calls) proves your agent's voice setup without a phone call. Then place one real call to a number you own, because a browser test does not prove the carrier leg or the routing.

> [!NOTE] Paid steps need purchased funds
>
> The welcome credit covers browser tests and text to speech. Phone calls, SMS and phone numbers are paid from purchased funds.

## How do you connect an agent you already host?

Create an `external_audio` agent with a secure websocket address. For every call, Skysay opens one `wss://` connection to that address and signs the request with your agent's signing key, so you can check it before you accept.

- **The connection opens before anyone answers.** On an incoming call Skysay connects while the phone still rings. On a call you place, Skysay dials only after your agent accepts.
- **An unreachable agent costs nothing.** If your agent cannot be reached within 5 seconds, the call ends as failed and nothing is charged. An outgoing call is never dialled.
- **The audio is plain PCM.** Both directions use 16 kHz, 16-bit, mono PCM.
- **Your agent can act on the call.** It can send `clear` or `hangup` messages back to Skysay.

The first message tells your agent who is calling:

```json
{
  "event": "start",
  "protocol": "skysay.audio.v1",
  "call_id": "call_123",
  "agent_id": "agent_456",
  "direction": "inbound",
  "from": "+15550101",
  "to": "+15550102",
  "audio": {"encoding": "pcm_s16le", "sample_rate": 16000, "channels": 1}
}
```

Before you accept, check the signature, reject an old timestamp and accept each call id once. The [audio stream protocol](/docs/audio-stream-protocol) has the exact steps. To configure the agent itself, see [wire an agent to a number](/docs/wire-an-agent).

## Can you keep the number you already have?

Yes, in three ways.

| Option                                                     | What changes                                                                                        | Good for                                                         |
| ---------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
| [Forward calls](/docs/keep-your-number)                    | Your provider forwards selected calls (busy, unanswered, unreachable or all) to a Skysay line       | A published business number you want to keep exactly where it is |
| [Import a number](/docs/import-a-number)                   | A number you own at DIDWW, DIDLogic or Telnyx connects to your agent. Your carrier keeps billing it | Teams that already buy numbers from one of these carriers        |
| [Bring your own SIP trunk](/docs/bring-your-own-sip-trunk) | Your own carrier's trunk carries the calls in and out                                               | Teams with an existing carrier contract                          |

Forwarding and imports are voice only: text messages are not forwarded or connected.

## What does it cost?

There is no monthly minimum, pay as you go. Number rental and usage are billed separately, and the exact price of a number is shown before it is assigned. The [pricing page](/pricing) has an estimator for your call volume and the plans if you prefer a monthly bill.

## What should you check before your agent calls out?

A workspace that holds a phone number can place outbound calls straight away. Every call is still checked before it dials. Skysay refuses a call for a suspended workspace, a sanctioned destination, a destination outside your workspace's country list, a caller number that still needs its carrier registration, or a caller ID that is not one of your numbers. A refused call is never dialled or retried for you. See [policy and outbound](/docs/policy-and-outbound).

When an assistant places calls for you, have it show the caller number, destination, purpose and price basis to the person responsible, and record who agreed. Identify an AI caller and handle recording notices according to your use case and the rules that apply to you.

## FAQ

### Can my AI agent send and receive text messages?

Yes, on numbers and routes that support SMS. Texts to your number land in your SMS inbox and in your webhook. AI agents do not answer texts on their own. A voice-only number refuses an SMS before anything is charged. See [send SMS from your AI agent](/docs/send-sms).

### Do I need my own carrier account?

No. Skysay handles carrier onboarding with the documents you provide. If you already have a carrier, you can import a number or connect your own SIP trunk instead.

### Does every number support incoming and outgoing calls?

No. Some number types are incoming only, and SMS support varies by country, carrier and number type. Check the specific number's capabilities on the [coverage list](/phone-numbers-for-ai-agents) before you build on it.

### How long does number activation take?

It depends on the country. Some numbers are ready right away. Numbers that need registration wait for the carrier's review, and the workspace shows the number as activating until the carrier finishes.

### Can an AI assistant set this up for me?

Yes, if it supports custom remote connections. It connects with sign-in in your browser, never a password or key pasted into chat, and you approve each paid call, SMS or number request. See [connect an AI assistant](/docs/connect).

## Start with one number

Pick the country your first callers are in and check which number types support the calls you need. Then [create your account](/start), run a browser test with your agent, and request the number once the test sounds right.
