AWS releases open-source test harness for evaluating Amazon Nova Sonic voice agents at scale
Amazon has released an open-source testing framework for Nova Sonic voice agents that automates multi-turn conversation evaluation without requiring human testers. The harness uses LLM-as-judge techniques to assess voice agents across six metrics including goal achievement, response accuracy, and tool usage, addressing a critical QA bottleneck in voice AI development.
AWS Releases Open-Source Test Harness for Evaluating Amazon Nova Sonic Voice Agents at Scale
Amazon has released an open-source testing framework that automates quality assurance for Nova Sonic voice agents, eliminating the need for manual conversation testing. The Nova Sonic Test Harness addresses a critical bottleneck in voice AI development: the inability to systematically test bidirectional audio streaming applications.
Testing Voice Agents Without Human Testers
The framework runs complete multi-turn conversations with Amazon Nova Sonic automatically using an LLM-powered user simulator. According to AWS, teams previously needed to manually test voice agents by having someone physically talk to the system—a process that doesn't scale when evaluating 50 conversation scenarios across 3 user personas, requiring 150 manual tests taking several minutes each.
The test harness uses LLM-as-judge evaluation techniques to assess conversations across six built-in metrics organized into three tiers:
Critical tier:
- Goal Achievement (Did the conversation accomplish the user's objective?)
- Response Accuracy (Were facts, numbers, and claims correct?)
Important tier:
- Tool Usage (Were the right tools called with correct parameters?)
- Conversation Flow (Natural turn-taking, appropriate responses)
Additional metrics include audio-text consistency and general quality assessments.
Technical Architecture
The harness handles four challenges unique to speech-to-speech model testing:
- Bidirectional streaming: Manages persistent, full-duplex connections where audio and text flow simultaneously, unlike standard HTTP request-response patterns
- Non-deterministic responses: Evaluates against rubrics rather than exact string matching, since the same question produces different wording each time
- Session management: Automatically handles Nova Sonic's 8-minute connection timeout by creating new sessions and replaying conversation history
- Audio hallucination detection: Identifies cases where audio output diverges from text output (e.g., audio says "3:30 PM" while text reads "3:00 PM")
Test scenarios are defined in JSON configuration files that specify system prompts, voice IDs, available tools, user personas, and evaluation criteria. The framework supports both text input (faster) and synthesized audio via Amazon Polly for full speech recognition pipeline testing.
Evaluation Pipeline
Each test follows a four-phase pipeline:
- Configuration: Define scenario with JSON including Nova Sonic's role, user persona, tools, and success criteria
- Conversation execution: User simulator (powered by models like Claude Haiku on Bedrock) generates messages, Nova Sonic responds, tool calls execute in-stream
- Turn completion detection: Uses Nova Sonic's two-stage text production (speculative then final) to determine when turns end, more reliably than silence detection
- LLM judge evaluation: Separate LLM (e.g., Claude Opus) assesses full transcript against criteria without knowing test setup
All conversation artifacts—text transcripts, audio WAV files, tool calls, and timing metadata—are logged for analysis.
What This Means
The release addresses a fundamental gap in voice AI quality assurance. While text-based LLM testing has established frameworks, speech-to-speech models require different approaches due to their streaming, non-deterministic nature. By automating evaluation, the harness enables rapid iteration on system prompts and tool configurations—previously a manual bottleneck—and provides regression testing capabilities before production deployment. The open-source release suggests AWS is building developer tooling around Nova Sonic to support enterprise voice agent adoption, though the framework's effectiveness will depend on how well LLM judges can assess subjective qualities like conversation naturalness compared to human evaluators.
Related Articles
AWS and Booking.com shrink Llama-3.1 70B to 1.1B TinyLlama, 10-20x faster at matched quality
Amazon Web Services researchers working with Booking.com combined knowledge distillation and the Medusa-2 framework to train a 1.1-billion-parameter TinyLlama that matched the quality of a 70-billion-parameter Llama-3.1 teacher. According to the authors, it ran 10 to 20 times as fast depending on the use case.
Alibaba's Qoder adds desktop interconnect to run coding tasks on another machine without SSH
Alibaba's Qoder has added desktop interconnect, which lets one Qoder desktop client send tasks to Qoder on another computer using a device address and pairing code. No SSH or remote desktop setup is required. IT Home reported the update on October 30.
DeepSeek website code references Cyber, a cybersecurity model with identity-gated API access, in limited testing
Developers found references to a cybersecurity model called Cyber in the front-end code of DeepSeek's website, with two model IDs, cyber-personal-v3 and cyber-enterprise-v4, and a key system gated by real-name verification. DeepSeek has not announced the model, and launch, access and pricing remain unclear.
Apple Intelligence reaches China with iOS 27.3 in December, with Alibaba's Qwen inside Siri
Apple says its first Apple Intelligence features will launch in China with iOS 27.3 in December, with a developer beta from 4 November. Alibaba's Qwen model will work inside Siri, Writing Tools and Visual Intelligence. Siri AI and Apple's newest features are not included.
Comments
Loading...