Technical architecture document

Vocero S2S

Target technical architecture and implementation plan

Status: proposal for technical review
Source cutoff date: July 20, 2026
Scope: a decoupled, local Speech-to-Speech conversational platform extensible through MCP
Audience: architecture, platform, security, MLOps, development, QA and operations

Vocero S2S

Target technical architecture and implementation plan

Document status: proposal for technical review
Source cutoff date: July 20, 2026
Scope: a decoupled, local Speech-to-Speech conversational platform extensible through MCP
Audience: architecture, platform, security, MLOps, development, QA and operations

Traceability convention

1. Executive summary

Vocero S2S is proposed as a real-time conversational platform separating four responsibilities: web experience, session control, speech and language inference, and enterprise integration through Model Context Protocol (MCP). [REQ] The initial implementation must use Parakeet TDT 0.6B for STT/VAD, LLaMA 3.1 8B Instruct for reasoning and tool calls, Qwen3-TTS 12Hz 1.7B Base in FP16 for synthesis and zero-shot cloning, and an NVIDIA GB10 node initially accessible through port 12345.

The target architecture retains this decoupled pipeline while avoiding placing all logic in the WebSocket connection. [REC] The proposal includes a Control Plane on the UI & Relay server for authentication, authorization, agent profiles, voice policy, MCP orchestration and auditing; a Realtime Data Plane for audio and events with ephemeral session state and priority cancellation; and a local Inference Plane that exposes versioned adapters for STT, LLM and TTS. This separation allows models, transport or infrastructure to be replaced without changing business contracts.

For web clients, WebRTC offers operational advantages for media on variable networks, while WebSocket remains appropriate for server-to-server links and the proposed first version. Realtime platform documentation recommends WebRTC for browser/media and WebSocket for server pipelines 1. [REC] The plan therefore adopts WebSocket as the initial compatible transport and defines WebRTC as a controlled evolution rather than an MVP prerequisite.

Interruption management is a first-class capability: when user speech is detected during a response, the system must cancel still-reversible generation, stop audio, flush unplayed buffers and truncate history to what was actually heard. Realtime systems document this pattern through cancellation and truncation of conversation items 2, as do agent frameworks that adjust history to the audio actually played 3.

MCP is integrated through an enterprise gateway with policy, schema validation, delegated identity, limits, auditing and version adapters. Critical timing decision: as of July 20, 2026, the announcement for 2026-07-28 explicitly describes a Release Candidate whose final standard is expected on July 28, 2026 and includes breaking changes 4. Therefore:

  1. [REC] the initial stable compatibility version will be 2025-11-25, verified in the official transport documentation 5; this decision follows the requested source cutoff and does not contradict the stateless technical direction proposed by the RC;
  2. [REC] 2026-07-28 will be implemented only behind an experimental adapter and feature flag;
  3. [REC] the domain design will remain ready for the RC's stateless model: self-contained requests, application state through explicit handles, and routing independent of affinity;
  4. [REC] promotion will require official ratification, conformance tests and an approved migration;
  5. this document will not assume it is a final standard.

Finally, running STT, LLM and TTS concurrently on a single GB10 has not been demonstrated through a benchmark of the complete pipeline. [BENCH] The first engineering deliverable must be a reproducible harness measuring end-to-end latency, memory, bandwidth, degradation under concurrency, interruption accuracy and cloning quality before committing to capacity or a contractual SLO.

2. Scope

2.1 Objectives

2.2 Non-goals

3. Architecture principles

  1. Separate control and media. Audio has real-time requirements; identity, policy and auditing require consistency and traceability.
  2. Contracts before implementations. Each boundary publishes versioned events and schemas; models remain behind adapters.
  3. Priority interruption. Cancellation and audio stopping take precedence over generating more content.
  4. Explicit state with ownership. Vocero owns conversational sessions; the protocol adapter or explicit handles own MCP state.
  5. Zero trust between planes. Each hop authenticates the service, authorizes the action, limits scope and propagates audited identity.
  6. Least privilege for tools. A tool receives only the strictly necessary arguments, identity and scopes.
  7. Privacy by default. Audio, transcripts, prompts, responses and voices are sensitive data; retention is explicit and minimized.
  8. Conversational failure handling. Technical failures become deterministic events and safe responses without leaking internal details.
  9. Measure before promising. Stage latency and percentiles govern the experience, rather than isolated averages.
  10. Versioned MCP compatibility. The gateway negotiates a stable version and encapsulates future candidates.

4. Context and container view

Vocero S2S — C4 container view VOCERO S2S UserSpeaks from a browserIdentity / customer APIUser, roles and attributesProfile serviceInstructions, rules, toolsand voice policyEnterprise systemsERP, CRM, catalogs,reports and workflowsObservabilityMetrics, logs, tracesand alertsWeb clientWeb Audio + WS/WebRTCEdge / terminationTLS, connection, rate limitRealtime RelayAudio/events, sanitizationSession OrchestratorStates, turns, profileand policyMCP GatewayMCP client + policyenforcementSession StoreKV with TTLAudit StoreImmutable storeInference GatewayInternal realtime APISTT, LLM and TTSParakeet TDT 0.6BNeMo / GPULLaMA 3.1 8BLocal runtimeQwen3-TTS 1.7BFP16 / GPUVoice VaultAuthorized referencesAudio, controls and confirmationsMedia and events · TLSAuthenticated streamSession eventsResolve identity · HTTPSLoad profiles and policies · HTTPSRead/write ephemeral stateTool intent + delegated context · mTLSInference commands and events · mTLSAudio chunksContext and tokensText and voice_profile_refRead authorized referenceVersioned MCP/HTTPSExecutions and decisionsAudit eventsTelemetryTelemetryGPU/model telemetry
Static vector representation of the C4 view included in version v2.

4.1 Logical view by plane

Experience Plane

Realtime Data Plane

Conversation Control Plane

Inference Plane

Enterprise Integration Plane

5. Component responsibilities

ComponentResponsibilitiesMust not
Web clientCapture/play audio; AEC/NS/AGC where appropriate; show state; send confirmations; report playout progressAuthorize tools; store secrets; decide the effective voice
Realtime edgeTLS; connection authentication; limits; routing; DoS protection; WS upgrade or WebRTC terminationInterpret prompts or MCP arguments
Realtime RelayMultiplex audio/events; order sequences; backpressure; sanitize session.update; prioritize interruptionsRetain business logic or downstream credentials
Session OrchestratorState machine; identity; profile; context; turns; cancellation; degradation; correlationExecute SQL, ERP or APIs directly
Policy EngineEvaluate identity, role, tool, risk, scope, consent and data policySilently rewrite business arguments without a record
MCP GatewayNegotiate versions; discover tools; validate JSON Schema; delegate identity; apply timeouts/retries; auditExpose credentials to the LLM or browser
Inference GatewayAdmit/cancel jobs; adapt protocols; measure stages; health/capacityDecide enterprise permissions
STT/VADEmit partial/final transcripts and speech signals with timestampsPersist audio indefinitely
LLMGenerate structured text or tool intent within allowed schemasTreat itself as the authority to execute actions
TTSSynthesize a stream tied to a generation and authorized voice profileAccept arbitrary ref_audio from the client
Voice VaultVersion, encrypt and govern voice references and consentServe files without service and tenant authorization
StoresEphemeral state with TTL, immutable auditing and versioned configurationMix operational PII with unrestricted telemetry
ObservabilityMetrics, structured logs, traces, alerts and dashboardsLog audio, tokens or sensitive arguments by default

6. Deployment view

Vocero S2S — Deployment view PUBLIC ZONE DMZ / EDGE APPLICATION NETWORK RESTRICTED INFERENCE SEGMENT ENTERPRISE NETWORK OPERATIONSBrowserWAF + Reverse ProxyOptional TURN/SFUWebRTC evolutionRealtime Relay ARealtime Relay BSession Orchestrator ASession Orchestrator BPolicy EngineMCP GatewaySession StoreTTLAudit StoreInference GatewayInternal port 12345Parakeet STT/VADLLaMA 3.1 8BQwen3-TTS 1.7BFP16Voice Vaultencrypted cacheNVIDIA GB10Auth + Agent Profile APIsMCP Servers / AdaptersERP / CRM / Data / WorkflowsOTel CollectorMetrics / Logs / Traces / AlertsSecrets + KMSInitial TLS WSFuture WebRTCFuture WebRTCmTLS realtimemTLS realtime
Static vector representation of the deployment view included in version v2.

[REC] Port 12345 must be internal, protected by a firewall, mTLS and service authentication; it must not be exposed directly to the Internet. [REC] Relay and Orchestrator are deployed with at least two logical instances in production. This does not require physical high availability from the first day of the MVP, but contracts must not depend exclusively on local memory.

[BENCH] The GB10 is initially a single failure and capacity domain. Before production, define the spare-node strategy, admission queue, session limit, shedding policy and model recovery procedure.

7. State machine and session management

7.1 Proposed states

Vocero S2S — Session state machineStartCONNECTINGAUTHENTICATINGCONFIGURINGLISTENINGTRANSCRIBINGTHINKINGTOOL_PENDINGAWAITING_CONFIRMATIONTOOL_RUNNINGSPEAKINGINTERRUPTINGDEGRADEDCLOSINGFAILEDtransport readyvalid identityrejection or timeoutprofile + voice + tools loadednoncritical dependency failsspeech_startedturn_committedtool_intentsensitive actionconfirmedallowedtool_resultaudio_first_chunkbarge_inoutput stoppedresponse_completedalternative availablecloseclosecloseclose
Static vector representation of the state machine included in version v2.

7.2 Identifiers

7.3 Effective session state

[REC] Calculated in this order, without allowing the client to escalate privileges:

  1. secure platform defaults;
  2. tenant policy;
  3. versioned agent profile;
  4. authorized user attributes;
  5. allowed session preferences;
  6. explicitly allowlisted per-response overrides.

The sanitizer for session.update removes or rejects fields that could replace voice_profile_id, tools, system instructions, limits or scopes. Any difference between requested and effective configuration is recorded in a session.configuration_applied event with coded reasons.

[REC] Ephemeral state is stored with TTL and optimistic version control. Resumption requires a short-lived opaque token, the same identity and a profile-version check. Uncommitted audio and generation jobs are not resumed: they are canceled and the client returns to LISTENING.

8. Execution flows

8.1 Normal conversational and MCP flow

8.2 Tool call with confirmation

  1. The LLM emits intent, never direct execution.
  2. Orchestrator validates the name against the allowlist and current schema.
  3. Policy Engine classifies the action: read, reversible write, irreversible action or prohibited.
  4. If consent is required, emit tool.confirmation_required with a readable summary and nonsensitive fields.
  5. The user confirms; create a confirmation_id bound to a hash of tool + arguments + identity + expiration.
  6. MCP Gateway executes with a delegated token of minimum scope.
  7. Validate, limit and classify the result before returning it to the LLM.
  8. Record the decision, not secrets or complete sensitive payloads.

For stable compatibility 2025-11-25, the adapter maintains the protocol lifecycle and session according to the official transport 5. RC 2026-07-28 proposes eliminating the handshake and protocol session, using self-contained requests, routing headers and InputRequiredResult; these capabilities remain only in the experimental adapter until ratification 4.

8.3 Barge-in

Rules:

8.4 Errors and degradation

ConditionAutomatic actionUser experienceAuditing/operations
Authentication deniedClose with a stable codeUnauthorized access messageReason, tenant, subject hash
Profile unavailableBounded retry; fallback only if approved“I cannot start the assistant right now”Dependency alert
Unhealthy STTPause admission or enable text mode if availableReport degradationMetric and circuit breaker
LLM timeoutCancel generation; retry once only if no tool side effect occurredBrief, safe responseSpan with timeout
TTS failsKeep text; do not replace the voice without a policyShow text or request a retryVoice/model status
MCP timeoutCancel or mark status unknown“I could not confirm the operation”Do not retry writes without idempotency
Invalid MCP responseReject the payload; do not send it to the LLMControlled errorSchema violation
Saturated bufferSlow the producer; discard stale partials; never lose cancellationPossible network indicatorDrop/backpressure counters
Client disconnectedShort lease; cancel media; retain minimal resumable stateControlled retryClose reason
GPU at capacityEarly rejection or bounded queue“Service busy, please try again”Saturation, queue and shedding

9. Illustrative contracts and events

[REC] The following schemas are illustrative. They must become versioned JSON Schema with compatibility tests and size limits. They do not represent a final contract.

9.1 Common envelope

{
  "specversion": "1.0",
  "type": "vocero.audio.input.delta.v1",
  "source": "web-client",
  "id": "evt_opaque",
  "time": "RFC3339 timestamp",
  "subject": "session/{session_id}",
  "traceparent": "00-...",
  "data": {
    "session_id": "ses_opaque",
    "turn_id": "turn_opaque",
    "sequence": 42,
    "payload": {}
  }
}

9.2 Minimum event catalog

Client → platform

Platform → client

9.3 Example of session.update_requested

{
  "type": "vocero.session.update_requested.v1",
  "data": {
    "session_id": "ses_opaque",
    "client_capabilities": {
      "audio_codecs": ["opus", "pcm16"],
      "supports_playout_ack": true
    },
    "preferences": {
      "locale": "es-CL",
      "turn_mode": "server_vad"
    }
  }
}

Fields such as system_prompt, tools, mcp_credentials, ref_audio, ref_text or voice_profile_id are not accepted through this public contract. If received, the relay rejects or removes them according to policy and records the reason.

9.4 Example of internal tool intent

{
  "tool_call_id": "tc_opaque",
  "session_id": "ses_opaque",
  "turn_id": "turn_opaque",
  "tool": {
    "name": "production.report.get",
    "schema_version": "1.2.0"
  },
  "arguments": {
    "site_id": "site_authorized",
    "period": "value_from_user_or_context"
  },
  "execution": {
    "mode": "read",
    "idempotency_key": "idem_opaque",
    "deadline_ms": "configured_value"
  },
  "principal": {
    "subject_ref": "opaque_subject",
    "tenant_id": "tenant_opaque",
    "scopes": ["report:read"]
  }
}

9.5 Errors

{
  "type": "vocero.error.v1",
  "data": {
    "code": "MCP_TOOL_TIMEOUT",
    "category": "dependency",
    "retryable": false,
    "user_message_key": "tool.temporarily_unavailable",
    "correlation_id": "corr_opaque",
    "details_ref": "internal_log_reference"
  }
}

Public messages do not contain stack traces, internal endpoints, prompts, tokens, sensitive arguments or secret names.

9.6 MCP compatibility

McpAdapter
├── StableAdapter_2025_11_25   # default
├── CandidateAdapter_2026_07_28 # feature flag, not enabled in production by default
└── ConformanceHarness
    ├── discovery
    ├── tools/list
    ├── tools/call
    ├── cancellation
    ├── schema validation
    ├── auth propagation
    └── error mapping

The official MCP architecture separates a JSON-RPC data layer from a transport layer and includes lifecycle, primitives and notifications 6. [REC] Vocero will preserve this separation inside the adapter so transport details do not contaminate conversational logic.

Candidate capabilities being prepared but not activated as a final standard: the RC 2026-07-28 introduces server/discover, metadata ttlMs and cacheScope in list/read results, and headers Mcp-Method/Mcp-Name for routing 4. [REC] The gateway will model discovery and caching through neutral interfaces: the stable adapter will resolve its mechanism according to 2025-11-25, while the candidate adapter can map the new capabilities. The cache will never share results beyond the allowed identity/tenant scope and will always respect revocation and policy changes.

10. Voice cloning and governance

10.1 Operating model

[REQ] Qwen3-TTS must use ref_audio and ref_text for zero-shot cloning and preserve a corporate voice. The Qwen3-TTS 1.7B Base model card confirms streaming, Spanish support and fast cloning from short audio 7. Repository documentation describes streaming generation and voice cloning 8.

Modes to evaluate:

[REC] The client never sends master references during a session. The agent profile contains only voice_profile_id and voice_version; TTS resolves the reference from Voice Vault using service identity. The relay removes standard voices proposed by the client, and Orchestrator applies the authorized effective voice.

10.2 Lifecycle

  1. Request: voice owner, purpose, tenant, languages and usage period.
  2. Verifiable consent: document or authorization evidence; legal review for the applicable jurisdiction.
  3. Controlled ingestion: antivirus, normalization, noise assessment and aligned transcription.
  4. Evaluation: fidelity, intelligibility, pronunciation, stability and impersonation risk.
  5. Four-eyes approval: business owner plus security/legal or equivalent roles.
  6. Versioning: hash of ref_audio, hash of ref_text, model, parameters and effective date.
  7. Publication: only approved profiles can be used in production.
  8. Monitoring: usage by tenant/agent, anomalies and complaints.
  9. Revocation: immediately block new sessions; rotate cache; provide deletion evidence.

10.3 Controls

11. Security

11.1 Zones and trust view

11.2 Main threats and mitigations

ThreatRecommended mitigations
User impersonationOIDC/OAuth, ephemeral tokens, issuer/audience validation, reauthentication for sensitive actions
Prompt injection from users or tool resultsInstruction separation, tool allowlist, output validation, untrusted-content labeling, authorization outside the LLM
Tool poisoning or malicious schemaApproved-server registry, version/hash pinning, schema review, depth/size limits, cache with secure invalidation
Confused deputyPropagate subject and tenant; token exchange; per-tool scopes; backend resource checks
Exfiltration through toolsEgress allowlist, DLP/classification, response minimization, limits and redaction before context insertion
Repeated writesIdempotency key, hash-bound confirmation, execution ledger, no retries for unknown status
Voice theftVault, encryption, isolation, consent, revocation, no browser download
Session hijacking/replayShort-lived connection tokens, nonce, expiration, identity binding, reconnection limits
Audio/GPU DoSQuotas, bitrate/chunk limits, admission control, bounded queues, circuit breakers, shedding
Leaks through logs/tracesRedaction, attribute classification, sampling, limited retention, RBAC access
Lateral movementSegmentation, mTLS, workload identities, deny-by-default and controlled egress

11.3 Tool authorization

The decision evaluates:

permit = policy(
  tenant,
  principal,
  agent_profile_version,
  tool_name,
  tool_schema_version,
  action_class,
  resource_scope,
  argument_classification,
  confirmation,
  session_risk
)

The LLM can propose tool_name and arguments, but not principal, scopes, credentials, action classification or policy outcomes. [REC] Irreversible actions require specific human confirmation or a documented corporate exception.

11.4 Data and retention

Define a matrix by data class:

For each class, approve purpose, legal basis, location, encryption, retention, deletion, export, access, training use and redaction. Pending: the requester did not supply corporate policies or jurisdictions; this document therefore sets no retention periods.

12. Observability and initial SLOs

12.1 Telemetry model

Traces: one trace per turn with spans for capture, relay, STT, endpointing, LLM, policy, MCP, TTS, network and playout. The future RC proposes standardized names for propagating W3C Trace Context in _meta, but this form remains a candidate until ratification 4. In the stable adapter, Vocero will propagate traceparent through compatible internal metadata without requiring future domain changes.

Experience metrics

TTFT and end-to-end latency are recognized as distinct, relevant dimensions for voice/realtime workloads 9.

Quality metrics

Resource metrics

12.2 Initial targets — not observed performance

[REC/BENCH] These values are provisional engineering targets, not measured figures, guarantees or a contractual SLO. They must be ratified after benchmarking with real audio, networks, tools and concurrency.

IndicatorProposed initial targetWindow/percentileRatification condition
Conversational service availability≥ 99,5 %MonthlyExclude agreed windows and define the GPU dependency
Response audio start ttfs_ms≤ 1,200 msp95, direct turnTarget corporate network and warm session
Barge-in stopping≤ 300 msp95Measured through playout silence, not only ACK
Turns without platform errors≥ 99,0 %MonthlySeparate dependency errors from invalid input
MCP read executions accepted by the gateway≥ 99,0 %MonthlyExclude policy rejections and downstream timeouts
Loss of accepted control events0Every windowVerified by sequence and ACK
Unauthorized voice use0Every windowMandatory alert and audit

Provisional budget for ttfs_ms for analysis, not a commitment:

endpointing + STT final + scheduling + LLM TTFT + TTS primer audio + transporte/playout

No fixed milliseconds are allocated per stage before benchmarking; the dashboard must show contributions and percentiles separately.

12.3 Initial alerts

13. Scalability, backpressure and resilience

13.1 Scaling

13.2 Backpressure

[REC] Each link publishes high_watermark, low_watermark and an overflow policy. The LLM can produce text faster than TTS or the network can consume it; the system must throttle tokens, group pronounceable units and limit buffered audio. Realtime pipelines document the general problem of fast producers and slow consumers 10.

Policies:

  1. Control events never share a blocking queue with audio.
  2. Stale partial STT transcripts may be coalesced; final transcripts and commits may not.
  3. Discard unsynthesized tokens from a canceled generation.
  4. Discard generated but unplayed audio on interruption.
  5. A slow connection cannot consume unbounded memory.
  6. The client reports buffered_ms and playout; the server adjusts chunking or pauses.
  7. Queues have deadlines; expired work is not processed merely for completeness.

13.3 Resilience

[BENCH] The ability to host the entire pipeline simultaneously on one GB10, and the number of sustainable sessions, must be measured. Parakeet TDT 0.6B v3 has documented streaming support and timestamps 11; this validates functional capability rather than the complete system's concurrent capacity.

14. Phased implementation plan

Phases include no dates or durations because team availability, environments, procurement and change windows were not supplied. Each phase ends with an explicit decision to proceed, correct or stop.

Phase 0 — Discovery, contracts and risks

Deliverables

Dependencies

Acceptance criteria

Risks

Phase 1 — Local vertical slice without write tools

Deliverables

Dependencies

Acceptance criteria

Risks

Phase 2 — Barge-in, backpressure and robust sessions

Deliverables

Dependencies

Acceptance criteria

Risks

Phase 3 — Read-only MCP gateway

Deliverables

Dependencies

Acceptance criteria

Risks

Phase 4 — Writes, confirmation and voice governance

Deliverables

Dependencies

Acceptance criteria

Risks

Phase 5 — Preproduction, SLOs and resilience

Deliverables

Dependencies

Acceptance criteria

Risks

Phase 6 — Progressive rollout and evolution

Deliverables

Acceptance criteria

15. Testing strategy

15.1 Pyramid

Unit tests

Contract tests

Integration tests

End-to-end

Load and soak

Chaos

Security

15.2 Minimum scenario matrix

DimensionCases
Audiosilence, noise, echo, clipping, variable bitrate, distant microphone
Speechtarget accents, speed, numbers, proper names, domain terms
Turnslong pause, overlap, backchannel, interruption, push-to-talk
Networklatency, jitter, loss, reconnection, slow client
Toolssuccess, empty, invalid, timeout, 4xx/5xx, confirmed side effect, unknown status
Modelscold start, OOM, late response, excessive tokens/audio, cancellation
Securityprohibited tool, insufficient scope, injection, cross-tenant access, revoked voice

15.3 Test oracles and reproducibility

16. Decision matrix and ADRs

ADRDecisionInitial statusAlternativesEvidence for acceptance
ADR-001Decoupled STT → LLM → TTS pipelineAccepted by requirementNative S2S modelBenchmark and per-component control
ADR-002Initial WebSocket; WebRTC as an evolutionProposedWebRTC from MVP; bothNetwork testing and operational complexity
ADR-003Separate Relay and Session OrchestratorProposedMonolithic serviceLoad profile, isolation and maintainability
ADR-004Stable MCP 2025-11-25 + versioned adaptersProposedAdopt a future RCRatification, conformance and compatibility
ADR-005Voice Vault and server-side referencesProposedSend ref_audio per sessionThreat model, cache latency and governance
ADR-006External ephemeral state with TTL and leasesProposedLocal memory/sticky sessionsRecovery and load
ADR-007Priority control queue for barge-inProposedSingle FIFO queueRace tests and interruption target
ADR-008Policy Engine outside the LLMProposedPrompt-only controlsBypass tests and auditing
ADR-009Confirmation + idempotency for writesProposedImmediate executionDownstream semantics and UX
ADR-010One GB10 in the MVP with admission controlProposedCluster from the startCapacity/cost/risk benchmark
ADR-011OpenTelemetry end-to-endProposedUncorrelated logsTrace coverage and cost/cardinality
ADR-012Versioned event contracts v1ProposedAd hoc provider payloadsCompatibility tests

Each ADR must include context, decision, alternatives, consequences, risks, status and review condition. Reversible decisions may start as Proposed; decisions affecting security, data, licenses or external compatibility require explicit approval.

17. Outstanding items and open questions

Product and experience

Identity and authorization

MCP

Inference and capacity

Operations

18. Consolidated risks

RiskInitial likelihoodImpactTreatment
Complete pipeline exceeds GB10 capacityUnknownHighEarly benchmark; admission control; separation options
Late or false barge-inUnknownHighPriority queue, AEC, playout ACK, noise corpus
MCP permits an improper actionMedium until testedCriticalExternal policy, scopes, confirmation, auditing, idempotency
Voice compromise or unauthorized useMedium until governedCriticalVoice Vault, consent, isolation, revocation
Dependency on a candidate MCP versionAvoidableHighStable adapter by default and feature flag
Tool result injects instructionsMediumHighTreat content as untrusted; sanitize, limit and evaluate
Inconsistent state after reconnectionMediumHighIDs, versioning, leases, deduplication and cancellation
Observability leaks PIIMediumHighRedaction, attribute allowlist, access and retention
Single inference node failsHigh in the initial topologyHighRunbook, spare/failover, degradation and communication
Incomplete licensing/consentUnknownCriticalLegal gate before production

Nonnumeric likelihoods reflect missing data; update them after testing and organizational review.

19. Pilot readiness criteria

The solution is ready for a pilot only when:

  1. requirements and critical ADRs are approved;
  2. the stable MCP path is tested and the future candidate remains isolated;
  3. the end-to-end benchmark demonstrates capacity for the pilot load;
  4. barge-in and backpressure pass acoustic and network tests;
  5. sensitive tools have policy, confirmation and idempotency;
  6. the voice is authorized, versioned and revocable;
  7. security has no open critical findings;
  8. dashboards, alerts and runbooks enable service operation;
  9. provisional SLOs were ratified or replaced with evidence;
  10. tested application, profile, model and configuration rollback exists.

20. Sources

  1. [1] OpenAI — Realtime and audio — https://developers.openai.com/api/docs/guides/realtime
  2. [2] Microsoft Azure — Realtime audio — https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/realtime-audio
  3. [3] LiveKit — Turns overview — https://docs.livekit.io/agents/logic/turns/
  4. [4] Model Context Protocol — 2026-07-28 Release Candidate — https://blog.modelcontextprotocol.io/posts/2026-07-28-release-candidate/
  5. [5] Model Context Protocol — Transport specification 2025-11-25 — https://modelcontextprotocol.io/specification/2025-11-25/basic/transports
  6. [6] Model Context Protocol — Architecture overview — https://modelcontextprotocol.io/docs/learn/architecture
  7. [7] Qwen — Qwen3-TTS 12Hz 1.7B Base model card — https://huggingface.co/Qwen/Qwen3-TTS-12Hz-1.7B-Base
  8. [8] QwenLM — Qwen3-TTS repository — https://github.com/QwenLM/Qwen3-TTS
  9. [9] Telnyx — Inference Benchmark: TTFT vs E2E Latency — https://telnyx.com/resources/inference-benchmark-ttft-vs-e2e
  10. [10] Arun Baby — Real-Time Agent Pipelines — https://www.arunbaby.com/ai-agents/0016-real-time-agent-pipelines/
  11. [11] NVIDIA — Parakeet TDT 0.6B v3 model card — https://huggingface.co/nvidia/parakeet-tdt-0.6b-v3

Appendix A — Implementation checklist