> ## Documentation Index
> Fetch the complete documentation index at: https://docs.slng.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Test your agent

> Try a managed agent live from the dashboard before you connect a channel: talk to it in the browser or have it call your phone.

The **Test agent** panel runs your agent live from the dashboard, so you can try
it the moment you finish building it, before you connect a phone number or embed
it in a page. Talk to it in your browser, or have it call your phone.

## Prerequisites

Before you begin:

* A created and configured agent. See
  [Create an agent](/guides/get-started/create-a-project/create-agent).
* For the outbound call channel, an outbound connection attached to the agent.
  See [Place calls from an agent](/guides/agents/telephony/outbound).

## Open the Test agent panel

Open the project and click **Test agent**. The panel opens on the **Web session**
channel, with a **Channel** selector to switch between talking in the browser and
placing a call.

<Frame caption="The Test agent panel. Use the Channel selector to switch between Web session and Outbound call.">
  <img src="https://mintcdn.com/slng-new-docs/_MURdOw87SJsfVag/heroshots/telephony-dispatch-step-1.png?fit=max&auto=format&n=_MURdOw87SJsfVag&q=85&s=f0adc3ad8045332c0d2f11d6f0d5ee6b" alt="The Test agent panel with the Channel set to Web session and an Outbound call option" width="2560" height="1600" data-path="heroshots/telephony-dispatch-step-1.png" />
</Frame>

## Talk to it in the browser

On the **Web session** channel, allow microphone access when the browser asks,
then talk to the agent and read the live transcript as it responds. This is the
same browser voice session you ship with
[Embed in website](/guides/agents/production/embed-in-website), so it is the
quickest way to hear how the agent sounds before you add it to a page.

## Have it call your phone

Switch the **Channel** to **Outbound call** to have the agent dial a number while
you listen.

<Steps>
  <Step title="Switch to Outbound call">
    Set the **Channel** to **Outbound call**. A **Number to call** field appears.
    If the panel says telephony setup is needed, the agent has no outbound
    connection attached. See
    [Place calls from an agent](/guides/agents/telephony/outbound).

    <Frame caption="The Outbound call channel, with a field for the number to call.">
      <img src="https://mintcdn.com/slng-new-docs/_MURdOw87SJsfVag/heroshots/telephony-dispatch-step-2.png?fit=max&auto=format&n=_MURdOw87SJsfVag&q=85&s=bc68a1889726e881c6a49060102fa165" alt="The Test agent panel in outbound call mode showing the Number to call field" width="2560" height="1600" data-path="heroshots/telephony-dispatch-step-2.png" />
    </Frame>
  </Step>

  <Step title="Enter the number and start the call">
    Enter the destination under **Number to call** in E.164 format and click
    **Start call**. The agent dials while you watch the transcript.

    <Frame caption="A number entered and ready. Start call places the outbound call.">
      <img src="https://mintcdn.com/slng-new-docs/_MURdOw87SJsfVag/heroshots/telephony-dispatch-step-3.png?fit=max&auto=format&n=_MURdOw87SJsfVag&q=85&s=f0ae911e1b6ac99fdc0998c08b422bfd" alt="The Test agent panel with a number entered and the Start call button" width="2560" height="1600" data-path="heroshots/telephony-dispatch-step-3.png" />
    </Frame>
  </Step>
</Steps>

For repeated or automated calls, dispatch them from the API instead. See
[Dispatch outbound calls](/guides/agents/telephony/dispatch-calls).

## Review the test

Every test session and call becomes a record with its transcript, the arguments
passed, and the rendered prompt. See
[Observability and usage](/guides/usage-and-billing).

## Next steps

<CardGroup cols={2}>
  <Card title="Embed in website" icon="code" href="/guides/agents/production/embed-in-website">
    Ship the browser voice session on your own web page.
  </Card>

  <Card title="Place calls from an agent" icon="phone-outgoing" href="/guides/agents/telephony/outbound">
    Give the agent a caller ID so it can dial out and transfer calls.
  </Card>

  <Card title="Dispatch outbound calls" icon="phone-call" href="/guides/agents/telephony/dispatch-calls">
    Start calls from the API, or process a contact list.
  </Card>

  <Card title="Observability and usage" icon="chart-line" href="/guides/usage-and-billing">
    Read back the transcript, arguments, and usage for each session and call.
  </Card>
</CardGroup>
