# Testing Your Agent

> Try your voice agent by browser call, phone call, text chat, or against another AI agent before going live

URL: https://docs.lemuai.com/voice-agent/testing

## Overview

Every voice agent can be tested straight from its editor. Open the agent and click **Call** in the top-right corner to choose a test.

| Test | What it does |
|---|---|
| **Web Call** | Talk to the agent through your browser microphone. The quickest way to hear how it sounds |
| **Phone Call** | The agent calls a real phone number using your [telephony provider](https://docs.lemuai.com/integrations/telephony/overview) |
| **Test Chat** | Chat with the agent by text. Useful for checking the conversation flow and tool use without speaking |
| **Test vs Agent** | Run a LoopTalk test, where another AI agent plays the caller |

**Note:** Save your changes before testing so the test picks them up. Publish them when you're happy (see Versions below).

## Web call and phone call

A **Web Call** asks for microphone access the first time. A **Phone Call** needs a telephony provider connected under **Agent Setup → Telephony**; if none is set up, the dialog walks you through it.

After the call, open it from **Runs** in the sidebar to see the transcript, the recording, the details the agent captured, and every tool call. See [Tracing](https://docs.lemuai.com/configurations/tracing).

## Test Chat

**Test Chat** opens a chat window where you type as the caller and the agent replies in text. It follows the same prompts, transitions and tools as a voice call, so it's a fast way to check the logic before testing by voice.

## LoopTalk: test against another agent

**Test vs Agent** creates a LoopTalk test. Instead of you playing the caller, another voice agent (the **Adversary Agent**) does. Write that agent's prompt like a customer persona, for example an impatient caller or someone who keeps changing their mind.

- **Test Type**: **Single Test** runs one conversation; **Load Test** runs several at once
- **Concurrent Pairs (1 to 10)**: how many conversations run in parallel in a load test

LoopTalk tests and their transcripts are listed on the **LoopTalk** page.

## Versions: draft, publish and history

Changes you make are saved to a **draft**. Calls and campaigns keep using the published version until you click **Publish**. Use **Discard draft** to throw away unpublished changes.

Click the history (clock) button to see earlier published versions. While viewing an older version, click **Back to Draft** to return to your working copy.
