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. The difference is the medium, audio rather than text.

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.
  • Endpoint profiles define multi-step API flows for complex authentication scenarios: login, session creation, and chat endpoints, with variable extraction and injection.
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 agent's voice responses are captured and transcribed, and the evaluation runs on the full audio conversation transcript.

A voice agent is functionally identical to a chat agent, so every chat feature applies: workflow-based scenario generation, test suites, endpoint profiles, the playground, thresholds, go-live assessment, and scheduled runs. See how to test a chat agent for the shared setup.

What Makes Voice Testing Different From Chat​


Voice testing differs from chat in the medium, not the metrics.

  • Conversations with the agent are conducted as audio (WAV) instead of text messages.
  • The agent's voice responses are captured and transcribed for evaluation.
  • Evaluation runs on the full audio conversation transcript.

What the Voice Agent Workflow Includes​


A voice agent has all the features of a chat agent.

  • Workflow-based test generation with document upload and source integrations (Confluence, JIRA, GitHub).
  • Scenario management with AI generation, validation criteria, personas, and special instructions.
  • Test suites with test profile selection and run history.
  • Endpoint profiles with Postman collection import.
  • Test profiles for data-driven testing.
  • Playground for interactive testing.
  • Evaluation execution with metric selection and HyperExecute integration.
  • Metric threshold configuration.
  • Go-live assessment with a production readiness verdict.
  • Scheduled runs.

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.


Terminal First Testing With Kane CLI

Natural language browser & mobile app tests right from terminal.

×
Schedule Your Personal Demo
Kane CLI terminal

Help and Support

Related Articles