Blog Post

Microsoft Foundry Blog
4 MIN READ

Evaluate before you ship: introducing the Voice Live Evaluation Harness

SolarRezaei's avatar
SolarRezaei
Icon for Microsoft rankMicrosoft
Jun 03, 2026

An open-source pipeline to score your Voice Live agents on the same evaluators the Microsoft Foundry portal uses — across multi-turn audio, tool calls, and every config you want to compare.

You've built a voice agent on Azure Voice Live. It demos beautifully. Then a teammate asks the question that keeps every voice-agent team up at night: "How do we know it's actually good — across 200 customer calls, not the three we just listened to?"

Until today, the honest answer was: put on headphones. Manual listening. Subjective scoring in a spreadsheet. No baseline, no regression signal, no way to defend a model swap with data.

We're releasing the Voice Live Evaluation Harness to change that. It's an open-source, deployable evaluation pipeline that runs pre-recorded multi-turn audio through your Voice Live agent and scores every turn with the same evaluators built into Microsoft Foundry — automatically, repeatably, and in parallel.

TL;DR

  • Two flavors, one repo. Run the CLI harness locally against a Foundry project for fast iteration, or deploy the evaluation agent into your Azure subscription with the Azure Developer CLI (azd) for a fully-hosted evaluation backend.
  • 13 built-in evaluators score every turn — intent resolution, task adherence, task completion, response completeness, tool-call accuracy, groundedness, and more — viewable per-turn and in aggregate inside the Foundry portal.
  • Supports the three Voice Live modes you actually ship in — Semantic VAD, Push-to-Talk, and Foundry Agent mode — including multi-turn conversations with tool calls and grounding.
  • Grows with your agent. Start with the sample datasets, then layer in audio collected from user testing and production traffic so your evaluation set matures alongside the agent.

🔗 Repo: microsoft-foundry/voicelive-evaluation · Docs: Evaluate Voice Live agents (preview)

Why systematic evaluation matters for voice agents

Text agents have a mature evaluation story. Voice agents don't — and the gaps actually matter more, because every voice failure happens in real time, in front of a customer, on a phone line you can't easily replay.

The Voice Live Evaluation Harness closes that gap with four concrete capabilities:

  • Establish a quality baseline. Run a representative audio dataset through your agent and get scores you can publish as your launch bar.
  • Compare configurations side-by-side. Swap the underlying model (GPT-Realtime 1.5, Azure-Realtime, MAI-Transcribe-1.5), change the voice, tune VAD thresholds — and see exactly which knobs moved which scores.
  • Catch regressions before users do. Wire it into CI and fail the build when intent resolution drops below your threshold.
  • Optimize with data, not vibes. When task-completion drops, drill into the per-turn scores to see whether the agent failed to call the right tool, misunderstood intent, or generated an incomplete response.
  • Keep iterating as production data rolls in. Start with the sample datasets, then grow your evaluation set with audio captured from internal testing, pilot users, and real production traffic. Re-run after every prompt tweak or model swap so the harness becomes a continuous quality signal — not a one-time launch checklist.

How it works

The pipeline is a five-stage loop:

  1. Audio Dataset. Multi-turn audio + expected behaviors in a simple JSONL schema. Four sample datasets ship in the repo (travel planning, complex data analytics, tool-calling tests, batch multi-conversation) so you can run end-to-end on day one.
  2. Voice Live API. Pick your Voice Live mode (Semantic VAD, PTT, or Foundry Agent), model, voice, and turn-detection settings via a JSON config file, then stream each turn of audio through the API — locally with the CLI harness, or, if you've deployed the evaluation agent, via the hosted Container App for long-running batches in your own subscription.
  3. Transcript + Response. Every turn produces an agent transcript, the model's response, and any tool calls it made — captured automatically for scoring.
  4. Foundry Evaluators. 13 built-in evaluators — powered by the same Foundry evaluator models (GPT-4.1-mini and o4-mini) used across Microsoft Foundry — judge every turn on intent resolution, task adherence, tool-call accuracy, groundedness, and more.
  5. Quality Scores. Per-turn and aggregate scores land in the Microsoft Foundry portal under your project's Evaluation tab — sortable, filterable, comparable across runs.

Then loop. Audio captured from internal testing, pilots, and production traffic feeds back into the dataset — each pass makes the next evaluation more representative of what users actually do.

What gets measured

The accelerator ships 13 built-in evaluators out of the box, covering the dimensions that matter most for production voice agents:

CategoryEvaluators
Intent & task qualityIntent Resolution · Task Adherence · Task Completion · Response Completeness
Tool callingTool Call Accuracy · Tool Call Parameter Validity · Tool Result Usage · Tool Call Success
Content qualityGroundedness · Relevance · Fluency · Coherence
Conversational dynamicsTurn-taking quality

Every evaluator runs against the same Foundry evaluator models (GPT-4.1-mini and o4-mini) that power evaluation across the rest of Microsoft Foundry — so your voice-agent scores are directly comparable to your text-agent scores.

Run the CLI locally against your existing Voice Live endpoint

If you already have a Voice Live agent deployed and just want fast iteration on a laptop:

 
 git clone https://github.com/microsoft-foundry/voicelive-evaluation.git
 cd voicelive-evaluation/evaluation_harness
 
 python -m venv .venv && source .venv/bin/activate
 pip install -r requirements.txt
 
 cp .sample_env .env
 # Edit .env with your AZURE_VOICELIVE_ENDPOINT
 
 python voice_agent_evaluation.py \
   --config configs/sample_vad_realtime.json

The full walkthrough — dataset schema, configuration reference, score interpretation, and troubleshooting — is in the documentation.

Get started

Updated May 29, 2026
Version 1.0
No CommentsBe the first to comment