
The Agentic Checkout: Payments for AI Agents
When an agent can buy, the payment system must bind identity, intent, item, payee, budget, receipt, and dispute rights into one controlled transaction.
Read MoreZharfAI Team

A natural voice is not a production voice agent. In a demo, the user waits politely, asks a clean question, and accepts the first answer. In a real call, people interrupt, change their mind, spell an uncommon surname, speak over road noise, and become anxious when the line goes quiet. The agent must also wait for databases, respect permissions, recover from partial failure, and transfer the conversation without making the caller repeat everything.
That makes voice an operations problem before it is a speech-generation problem. The product is the complete loop from audio capture to a verified business outcome. A beautiful synthetic voice cannot rescue a duplicated booking, a leaked account balance, or a caller trapped in an endless clarification cycle.
Define the job in operational terms before selecting a model or voice. A useful contract specifies:
“Handle appointment calls” is too broad. “Find available appointments, hold one slot for three minutes, and book it only after the caller confirms the patient, clinician, date, time, and contact number” is testable. The contract also tells the conversation designer where the agent must stop.
Voice transport is only one layer. The W3C’s 2025 WebRTC Recommendation defines browser APIs for real-time media exchange and documents important privacy and security considerations, but it does not specify your dialogue policy, authorization rules, or recovery behavior. Treat standards-compliant transport as a foundation, not proof that the service is safe.
Callers experience one delay, while engineering teams see several:
Record each boundary with a shared call ID and turn ID. Measure median and tail latency separately; a good median can hide a painful 95th percentile. Track end-of-speech to first useful audio rather than only model response time. “One moment while I check” can cover a legitimate tool wait, but it must not conceal an unbounded operation.
Do not optimize latency by committing on unstable partial transcripts. Partial recognition is excellent for preparing likely retrievals or beginning a cancellable response. Consequential actions should use the final transcript, validated fields, current authorization, and the latest state of the target record.
Speech-quality measures need precise labels. ITU-T P.800.1 distinguishes listening, talking, and conversational Mean Opinion Scores, and distinguishes subjective scores from objective or estimated ones. A vendor’s single “MOS” number is therefore not enough. Report the exact method, language, acoustic condition, device, and task alongside the value.
The agent should know whether it is listening, deciding, speaking, waiting for a tool, confirming, or transferring. Do not infer these states only from chat history.
For interruption, or barge-in, separate three events:
Stopping the speaker without cancelling downstream work creates a dangerous illusion: the caller believes the agent listened, while the old plan continues. Attach a turn version to every pending action. A new user turn invalidates work derived from the old version unless policy explicitly permits it.
Tune end-of-turn detection by language and environment. A pause after a Persian compound name, a date, or a hesitation is not necessarily the end of the request. Include native speakers, mixed Persian-English terms, telephone codecs, speakerphone echo, and background noise in evaluation. For more on the language layer, see Building Persian Speech Systems That Work Outside the Demo.
Three different questions are often collapsed into “confirmation”:
Do not ask for confirmation after every sentence. Use a risk matrix. Reading store hours may require none; disclosing private information requires identity assurance; cancelling an appointment requires a concise final summary; transferring money requires stronger controls and may be outside the voice agent’s permitted scope entirely.
NIST SP 800-63B-4 is an authoritative US-government reference for network authentication assurance, but it is not a universal law or a voice-agent certification. Apply the relevant identity program and local regulation. In every market, defend against replay and social engineering: voice output should not be treated as an authenticator merely because it sounds like the customer.
The model should propose typed actions, not call production systems with an unrestricted credential. A gateway should:
An “unknown outcome” is not the same as failure. If a booking API times out after receiving a request, retrying blindly may create two bookings. Query by idempotency key or reconcile the target system before another write. This is the same reliability discipline described in The Long-Running Agent.
Keep tool waits cancellable where possible. If the caller changes Tuesday to Wednesday while availability is loading, the Tuesday result must not later be spoken or committed. The dialogue state, tool request, and audio response need the same version boundary.
A human transfer is not a model failure. It is the correct result when policy, uncertainty, customer preference, or emotional context exceeds the automated path.
The handoff package should contain only what the receiving operator needs:
Tell the caller what will happen and how long it may take. If the queue is closed, offer a truthful alternative such as a scheduled callback or case number. Never claim that a person is joining until the routing platform confirms it.
Transfer quality has its own metrics: successful connection rate, time to answer, summary acceptance by operators, repeated-question rate, and post-transfer resolution. Review Designing Human Approval Without Creating a Bottleneck for approval and escalation patterns.
Consider a caller asking to move an appointment from Tuesday to Thursday:
If authentication fails, the schedule API is unavailable, the record changed, or the caller asks about urgent symptoms, the system takes a defined alternate path. It does not improvise medical advice or pretend the change succeeded.
Recordings and transcripts can contain sensitive identifiers, health information, financial details, and bystander speech. Decide before launch:
Rules vary by jurisdiction and use case. As one clearly limited example, the US FCC’s 2024 declaratory ruling says AI-generated human voices fall within the Telephone Consumer Protection Act’s “artificial or prerecorded voice” provisions for robocalls, including consent requirements. That is a US telecommunications ruling, not a global voice-agent rulebook. Obtain local legal review for outbound calling, recording, disclosure, biometrics, accessibility, and sector-specific obligations.
Offer a non-voice or human channel for users who cannot or do not want to use the agent. Test with hearing and speech differences, assistive devices, poor connections, and noisy environments. Accessibility is a release requirement, not a post-launch polish item.
An offline speech benchmark is necessary but insufficient. Build a scorecard at four levels:
| Layer | Example measures |
|---|---|
| Audio and recognition | connection failures, word/entity error by language and noise slice, clipping, explicitly labeled speech-quality method |
| Conversation | end-of-speech-to-first-useful-audio p50/p95, interruption detection, playback-stop latency, false end-of-turn rate |
| Task and safety | completion rate, unauthorized-action rate, incorrect-entity confirmation, duplicate writes, policy violations |
| Operations | handoff completion, repeated-question rate, abandonment, incident rate, cost per resolved call |
Review sampled calls by slice rather than relying on one average. Segment by language, intent, channel, device, noise, call duration, customer cohort, and outcome. Protect reviewer access and redact data before external labeling.
Before broad release, require evidence such as:
Choose the numerical latency and quality thresholds from user research and service risk, not from a universal marketing target. Run the wider readiness process in The AI Operational Readiness Checklist.
It should sound clear, calm, and appropriate to the brand, but it should not depend on deception. Disclose automation where required and whenever misunderstanding would affect trust or consent.
Both matter, but they apply at different boundaries. Use streaming and acknowledgements for responsiveness; keep final validation, authorization, and confirmation for consequential actions.
Not by default. Recorded, cloned, or coerced speech creates replay and impersonation risk. Use the organization’s approved authentication and risk controls, and treat voice biometrics as a specialized, regulated component requiring its own evaluation.
When it performs defined intents end to end, survives realistic failures, transfers cleanly, and produces auditable outcomes across languages and user groups. A good demo is only the start of that evidence.
Sources reviewed and current as of July 30, 2026:
No standard supplies a universal latency target or proves that a voice agent is safe for a particular service. Those thresholds and controls remain use-case-, language-, jurisdiction-, and risk-dependent.

When an agent can buy, the payment system must bind identity, intent, item, payee, budget, receipt, and dispute rights into one controlled transaction.
Read More
Agentic work changes team design: roles need explicit ownership, queues need visible state, and every automated handoff needs an accountable person.
Read More
Useful agents must survive delays, retries, approvals, expired credentials, and partial failure without losing their place or repeating an action.
Read MoreSee the daily briefing and the operational guides. This page is an archive note, not an invitation to start a project.