For AI agents and LLMs: a machine-readable index is available at llms.txt. A plain-Markdown version of any documentation page is available by appending .md to its URL.
Skip to main content

Voice Agent Testing With TestMu AI

The TestMu AI Agent Testing Platform tests a voice agent the same way it tests a chat agent, except the conversation happens as audio instead of text. It holds a spoken conversation with your agent, transcribes the responses, and scores the interaction across the same 9 quality metrics. It covers voice assistants and voice-enabled support agents.

A voice agent uses a similar setup to a chat agent: describe the agent in a prompt, generate scenarios, and run an evaluation.

How to Run Your First Voice Agent Test​


Follow these seven steps in the dashboard.

Step 1: Create the voice agent. In the Agent Testing page, click Create New Agent, then fill in the form:

  • Agent Name (required).
  • Description (optional).
  • Agent Type (required): select Voice Agent.

Click Create New Agent to confirm.

Create New Agent panel with Voice Agent selected as the agent type

Step 2: Define the agent prompt. Open the Prompt tab, which sits between Scenarios and Test Profile.

  • In Agent-Under-Evaluation Prompt, define the ideal behavior and role of your agent to guide conversations.
  • Optionally, under Upload Files, add PDF, MS Word, MS Excel, TXT, MD, MP3, WAV, M4A, PNG, JPG, or WEBP files. Multiple files are allowed, up to 5 MB each.
  • Click Save Prompt.
Prompt tab with the Agent-Under-Evaluation Prompt editor and optional file upload for a voice agent

Step 3: Generate scenarios. Open the Scenarios tab and click Generate Scenarios, then set:

  • Number of Scenarios: use the slider or type a number.
  • Scenario Types: leave all unchecked to generate normal scenarios, or select one or more types to generate those instead.
    • Happy Path: normal flows and success scenarios.
    • Negative: errors, invalid inputs, and failure paths.
    • Edge Case: boundary values and unusual conditions.
    • Red Team: security attacks and adversarial inputs.
  • Select Languages for Scenarios: for example English, Spanish, Portuguese, German, Swedish, Indonesian, or Filipino.

Click Generate Scenarios to confirm.

Generate Scenarios dialog with number of scenarios, scenario types and language selection for a voice agent

Step 4: Create a suite. Open the Suites tab and click Create New Suite.

  • Enter a Suite Name.
  • Use Search scenario and the checkboxes to select the scenarios to include.
  • For each selected scenario, choose one or more voices, a persona, and a test profile, and set the Iterations.
  • Check the footer, which shows how many calls will fire, then click Create New Suite.
Create New Suite dialog selecting scenarios with voice, persona, test profile and iterations for a voice agent

Step 5: Set up an endpoint profile. Open the Endpoint Profiles tab. Until you add one, it shows No Endpoint Profiles Yet.

  • Click Create New Endpoint Profile, or click Import to start from a Postman collection.
  • Endpoint profiles define multi-step API flows for complex authentication scenarios: login, session creation, and chat endpoints, with variable extraction and injection.
  • Keep secrets such as tokens and API keys in the vault instead of in plaintext in the profile.
  • For an agent hosted on LiveKit, the profile can connect over WebRTC transport, set with a server and a room-token endpoint. See how to test LiveKit agents.
  • For an agent built on Deepgram Voice Agent, choose the Deepgram Voice Agent option, then add the API key (a vault secret is recommended), the agent ID, and how client tool calls are answered: with a mock reply or an HTTP call. See the Deepgram Voice Agent integration.
Endpoint Profiles tab with the Create New Endpoint Profile and Import options for a voice agent

Step 6: Run the suite. On the Suites tab, click Run next to your suite. In the Run Voice Suite dialog:

  1. Under Select Endpoint Profile, choose the profile that connects to your voice agent. A badge shows the transport, for example OPENAI REALTIME TRANSPORT.
  2. Under HyperExecute Tunnel, you can select a tunnel to use for the evaluation.
  3. Click Run Voice Test.
Run Voice Suite dialog with endpoint profile and HyperExecute tunnel selection and the Run Voice Test button

Step 7: Read the results. When the run finishes, open a scenario from the list to see its score and the reasons behind it.

  • Start with the scenarios that failed or scored lowest. On the Turns tab, read the transcribed conversation to find the point where your agent went wrong.
  • Use Areas for Improvement and Recommendations to decide what to fix in your agent, and Validation Criteria to see which of the scenario's success criteria it missed.
  • After you change your agent, click Re-run to run the same scenarios again. Each run is listed separately with its score and time, so you can compare before and after.

See Metrics for what each score measures.

Evaluation results for a scenario showing pass status, overall score, quality metrics and the conversation turns

How Voice Agent Testing Works​


The platform conducts a voice-based conversation with your agent, following a generated scenario. The conversation runs as audio (WAV) instead of text messages. The agent's voice responses are captured and transcribed, and the evaluation runs on the full audio conversation transcript.

Voice Agent Testing Features​


The steps above don't cover these features. Most of them work the same way as on chat agents.

  • Knowledge sources. Besides uploading files on the Prompt tab, link Confluence, Jira, or S3 bucket sources to generate scenarios from them.
  • Validation criteria. Each generated scenario comes with its own validation criteria, and you can edit a scenario or its criteria before you run it.
  • Maximum conversation turns. Voice scenarios take a limit from 1 to 100 turns, 50 by default.
  • Tool call checks. List the functions a scenario expects under Expected Tool Calls, one per line, with (optional) after any the agent may skip. The Tool Calls tab shows the verdict and every call the agent made. Tool calls are recorded for Deepgram Voice Agent runs.
  • Test profiles. A test profile holds the data a conversation runs with, such as a customer ID, and its values can be overridden per suite or per scenario. See Test Suites and Test Profiles.
  • Playground. Try your endpoint profile interactively across several turns before you run a full suite, to check that the connection works.
  • Metrics and thresholds. Choose which metrics a run uses and set the minimum passing score for each one. See Metric Thresholds.
  • Live suite status. Suite progress streams live while a run is in progress. Scenarios show as Queued, Running, or Inconclusive, and the results page and any open scenario panel update on their own. A run interrupted by a platform deploy is marked Inconclusive, a fault of the test harness rather than a verdict on your agent, and its credit hold is released automatically.
  • Insights. A summary across suites with pass rate, average score, and completed runs, plus a page for each suite with its scenario run history, latency, task completion, and drill-down into individual runs.
  • Go-Live Assessment. A Green, Yellow, or Red verdict on whether your agent is ready for production, with Functional, Quality, Risk, and Operational scores, blockers, action items, AI insights, and coverage. See Go-Live Assessment.
  • Scheduled runs. Select Schedule Run from the dropdown next to a suite's Run button to run it on a preset or cron schedule, in your local time zone. See Scheduled Runs.
  • Slack notifications. Voice suite runs post Started, Completed, and Error updates to Slack.

Metrics​


Voice agents are evaluated on the same 9 quality metrics as chat agents, each scored on a 0 to 100% scale.

#MetricWhat it measures
1Bias DetectionDetects biased, discriminatory, or unfair responses
2Hallucination DetectionIdentifies false, fabricated, or unsupported information
3CompletenessWhether the agent fully addresses the user's question
4Context AwarenessHow well the agent understands and maintains conversation context
5Response QualityOverall quality, clarity, and helpfulness of responses
6Conversation FlowNatural flow and coherence across multi-turn conversations
7User SatisfactionEstimated end-user satisfaction based on conversation quality
8File Handling QualityQuality of file upload and download interactions, if applicable
9File Generation AccuracyAccuracy of generated files against requirements, if applicable

Every evaluation result includes the overall score, per-metric scores with pass or fail badges, detailed analysis, the full conversation transcript, identified strengths, areas for improvement, actionable recommendations, and validation criteria results.


Help and Support

Related Articles