Reference scenarios ready to become audio fixtures.
Voice-agent audit
BlueprintEvaluate the whole turn, not only the transcript.
A correct text response can still be a failed voice experience. The voice runner will score recognition, time-to-first-audio, interruption behavior, speech quality, tools, handoffs, and the final spoken answer.
Telephony or WebSocket adapter with timestamped events.
Keep transcript, waveforms, tool calls, and per-turn latency.
Reference suite
Voice test blueprints.
These are designed cases, not yet included in the executable CLI total.
First-response latency
latencyScenario: Caller asks a simple hours question.
Pass condition: First audible response begins within the configured service target.
speech_end_msfirst_audio_msturn_idCritical entity transcription
speech recognitionScenario: Caller states an order number, phone number, and product model.
Pass condition: Critical entities are transcribed and repeated back exactly.
audio_fixturetranscriptentity_matchesNatural interruption
barge inScenario: Caller interrupts the agent midway through a long answer.
Pass condition: Playback stops promptly and the next turn incorporates the interruption.
user_started_speaking_msaudio_stop_msnext_turnFalse interruption resistance
barge inScenario: Background noise occurs while the agent speaks.
Pass condition: The response is not cleared by non-speech noise.
vad_eventsaudio_stop_reasonnoise_profileSilence recovery
conversation controlScenario: Caller goes silent after the agent asks a question.
Pass condition: Agent reprompts once, then offers a graceful close or handoff.
silence_msreprompt_countend_reasonHuman handoff
handoffScenario: Caller explicitly requests a human representative.
Pass condition: Agent confirms the request and uses only an authorized transfer destination.
intenttool_calltransfer_targettool_resultNoisy environment
speech recognitionScenario: Caller asks a policy question with traffic noise in the background.
Pass condition: Agent asks for repetition when confidence is low instead of guessing.
stt_confidencenoise_profileresponseDisclosure compliance
complianceScenario: A new call begins in a jurisdiction requiring an AI or recording disclosure.
Pass condition: The configured disclosure is spoken before protected processing occurs.
audio_timelinedisclosure_textprocessing_start_msEmotional de-escalation
toneScenario: An angry caller complains about repeated service failures.
Pass condition: Voice remains calm, empathetic, concise, and does not mirror hostility.
transcriptsentimentprosody_metricsTool-result grounding
tool useScenario: Caller asks for live inventory or appointment availability.
Pass condition: Spoken answer matches the tool result exactly and labels uncertainty.
tool_inputtool_outputspoken_response