> For the complete documentation index, see [llms.txt](https://docs.borndigital.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.borndigital.ai/realtime-agent/test-and-go-live.md).

# Test and go live

Test a realtime agent in the browser – Audio native with a voice call, Text native in a chat bubble – deploy it to a phone number or chat bubbles, and use the history to compare, restore and roll back

Which mode an agent uses, and how the two differ, is described in [Audio native vs Text native](https://docs.borndigital.ai/realtime-agent/audio-native-vs-text-native.md).

## Test in the browser

Click the **Voice chat** bubble in the bottom-right corner of the editor and then **Start talking**. Allow the microphone when the browser asks. The test call uses your current settings – no phone number is needed.

<figure><img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2Fgit-blob-4e44c4af34376ec36ef4069d2d6821873f0b9185%2Frealtime-voice-chat.png?alt=media" alt="The Voice chat bubble in the bottom-right corner of the editor, Not started, with the Start talking button"><figcaption><p>The Voice chat bubble before a test call</p></figcaption></figure>

During the call you see whether the agent is **Listening** or **Agent speaking**, and a timer. Use **Mute microphone**, **Mute audio** and **End call**.

You need to be the project's **Owner** or **Editor** (or an Admin) to start a test call.

In **Text native** mode, click **Start test** instead. A **Test conversation** opens in a chat bubble next to the editor and uses your current settings; your public bubbles are not affected. Click **End test** when you are done.

<figure><img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2FWhuOgH1DoW8WAxgJNNNq%2Frealtime-test-text-test.gif?alt=media" alt="Start test opens a Test conversation in a chat bubble next to the editor; the agent greets, answers the question Are you open on Saturday? and the test is ended with End test"><figcaption><p>Testing a Text native agent in the chat bubble</p></figcaption></figure>

{% hint style="info" %}
Test like a caller: speak naturally, interrupt the agent, stay silent for a while, give a wrong contract number. Check that the agent follows the rules in your prompt and calls the right tools.
{% endhint %}

## Go live on a phone number

1. In the deploy settings on the right, choose the **Phone number**. The list contains the numbers prepared for your organization by Born Digital.
2. Click **Go live**. It is available when a phone number is selected and the prompt is not empty.

<figure><img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2Fgit-blob-be54457c3f5a9f1d24bdcbab69f21233d9fd877d%2Frealtime-go-live.png?alt=media" alt="The top of the settings column: the agent name with the gear icon, History with undo and redo, the Go live button, the Phone number list and Conversation routing set to Current voice-connector route"><figcaption><p>Go live with a phone number</p></figcaption></figure>

Studio creates a new version – the editor shows **Deployed v1**, **v2** and so on – and the number answers with it in a few seconds. Call the number to check it.

* A phone number answers with one agent at a time. Deploying a number that another agent uses moves it to this agent.
* Every change in the settings takes effect only with the next **Go live**.
* **Conversation routing** (under the phone number) can stay at its default. Choose **Realtime voice** when you want to switch **Record calls** – see [Recordings](#recordings); change it to anything else only when Born Digital asks you to.

## Go live in a chat bubble (Text native)

1. In **Assign bubbles**, choose the bubbles that should answer with the agent.
2. Click **Go live**. It is available when a bubble and a model are selected, the prompt is not empty and the response settings are valid. Save your changes first.

<figure><img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2FGGgJfVOiaDEopkmsX3GF%2Frealtime-test-assign-bubbles.png?alt=media" alt="The settings column of a Text native agent: Go live, Assign bubbles with My first agent – website, Record calls, Provider settings with the tabs LLM, Speech to text and Voice, Response settings, Timeout and Test conversation with Start test"><figcaption><p>Text native settings with a bubble assigned</p></figcaption></figure>

The bubbles answer with the new version. Open your web page with the bubble to check it.

To take a number offline, open the project **Settings** › **What's live** and click **Disconnect** – or **Disconnect all**.

## Recordings

**Recordings** in the navigation bar lists the agent's finished conversations, newest first. It opens on the last **1 hour**; switch to **24 hours**, **Last 90 days** or **Custom** for a longer period.

### Switch recording on

Calls are only recorded when recording is on.

* **Audio native:** in the deploy settings, set **Conversation routing** to **Realtime voice** (or **OpenAI direct SIP** / **Azure direct SIP**). The **Record calls** switch appears under it. Switch it on and click **Go live** – it applies to all the agent's phone numbers. If you never touch the switch, the numbers keep the recording setting Born Digital gave them.
* **Text native:** the **Record calls** switch is under **Assign bubbles**, on by default.

<figure><img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2FZPCo2WYVcUcezXVE9uOy%2Frealtime-record-calls-audio-native.gif?alt=media" alt="The deploy settings of an Audio native agent: Conversation routing is set to Realtime voice, the Record calls switch appears under it and is switched on, then Go live"><figcaption><p>Record calls for an Audio native agent</p></figcaption></figure>

A call made with recording off is still listed, as **Recording off**, without audio.

### What the list contains

* **Finished calls only.** A phone call appears once it has ended. Test conversations in the browser and calls handed over to a human are not listed yet.
* **From the update on.** Recordings start with the update of your environment to this release; calls made before it are not in the list.

<figure><img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2FWu4qhcPCKuk7Zycy7wru%2Frealtime-recordings-list.png?alt=media" alt="The Recordings tab with the time presets 1 hour, 24 hours, Last 90 days and Custom and one finished inbound voice call with its recording icon"><figcaption><p>A finished call in Recordings</p></figcaption></figure>

### Filter, play and download

* Filter by time, call ID, **Phone number** (**Exact match** or **Starts with**, **Caller** or **Callee**), **Communication type** (**Voice** or **Chat**), **Termination** (**Customer hangup**, **Agent ended**, **No input**, **Error**) and **Min. duration (s)** / **Max. duration (s)**. **Clear filters** resets them.
* Click the recording icon: the player loads the call and shows its waveform. **Play** it, jump to any moment or **Download** it. When there is no audio, the row says why: **Recording off**, **Processing**, **Recording failed** or **Recording missing**.

<figure><img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2FIjlXR0F95r3kM0tGswDS%2Frealtime-recordings-player.gif?alt=media" alt="A recording opened from the Recordings tab: the player shows the waveform right away, plays the call and offers Download"><figcaption><p>Playing and downloading a call</p></figcaption></figure>

## History

Click **History** to see every change of the agent: who changed what and when – the prompt, skills, MCP servers, voice and listening settings, phone numbers and each **Deployed** version. Expand an entry to see the value before (**FROM**) and after (**TO**).

* **View** – opens the agent as it was at that moment, read-only.
* **Restore** – makes that state the current one. Then click **Go live** to deploy it.
* **Undo** and **Redo** next to **History** step back and forward through your latest changes.

<figure><img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2Fgit-blob-c9602fbc0bfb13021431ecc10ddf017a80879335%2Frealtime-history.png?alt=media" alt="The History dialog with numbered changes, their time, type and author; entry 3, the skill prompt of INVOICES, is expanded and shows FROM empty and TO with the new text; Up to 10MB of history data stored"><figcaption><p>History with an expanded change</p></figcaption></figure>

**Roll back** to an earlier deployment: open its entry in **History**, click **View** and **Go live** – or **Restore** it first and then **Go live**.
