AI Cloud Architect

Evaluate your Amazon Nova Sonic voice agent at scale, no microphone required

AWSHow-to by Osman Ipek and Lana ZhangAWS Artificial Intelligence Blog

In this post, we walk you through the Nova Sonic Test Harness, an open source framework that we built to solve both problems. It serves as a rapid iteration tool for tuning system prompts and tool configurations (run a conversation, see results, adjust, repeat) and as a comprehensive evaluation framework for validating voice agent quality at scale. It runs complete multi-turn conversations with Amazon Nova Sonic automatically, evaluates them using LLM-as-judge techniques, and can even detect…

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

The Nova Sonic Test Harness is an open source framework that runs automated multi-turn voice conversations, scores them with an LLM judge, and flags audio-text mismatches.

Who it is for

Teams building Nova Sonic voice agents that need regression tests after prompt or tool changes without manual calls.

Key points

  • Runs conversations as text, Amazon Polly audio, scripted, or dataset-driven inputs.
  • Six built-in metrics; both critical metrics must pass for an overall PASS.
  • Audio hallucination check transcribes each turn with Amazon Transcribe and compares it with the text output.
  • Optional services: Amazon Polly, Amazon S3, Amazon Transcribe; Amazon Bedrock is required.

The same at other vendors

Different approach

MicrosoftBlog post

Audio Evaluation for Voice Agents

AI:Both evaluate voice agents on full audio; Microsoft uses built-in Foundry evaluators, while the AWS item uses an open source harness with an LLM judge.

Timeline

Posts about Amazon Nova Sonic, oldest first.

  1. How-toScalable voice agent design with Amazon Nova Sonic: multi-agent, tools, and session segmentation · AWS · How-to
  2. This postEvaluate your Amazon Nova Sonic voice agent at scale, no microphone required