Design a Sub-Second Real-Time Agent Assist Pipeline
Last updated: November 29, 2026
Quick Overview
Design the system that ingests live call audio from contact center telephony, transcribes it, runs guidance models, and pushes hints to the agent's desktop within about one second, for tens of thousands of concurrent calls across many enterprise tenants.
Cresta
November 29, 20260
0
0 solved
Design the system that ingests live call audio from contact center telephony, transcribes it, runs guidance models, and pushes hints to the agent's desktop within about one second, for tens of thousands of concurrent calls across many enterprise tenants.
This is the core of Cresta's product: real-time guidance during live conversations, integrated with CCaaS platforms and running per-customer models. The interviewer looks for an end-to-end latency budget, stateful streaming per conversation, multi-tenancy, and graceful degradation when a model or the ASR is slow.
What the Interviewer Expects
- Lay out an explicit latency budget per stage
- Keep per-conversation state with sticky routing and recovery
- Separate fast streaming models from slower LLM calls
- Address multi-tenant isolation, PII and data residency
- Describe backpressure and degradation when components lag
- Explain how to observe end-to-end latency per call
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How do you handle an agent desktop that reconnects mid-call?
- How would you roll out a new guidance model to one tenant safely?
- What changes when the channel is chat instead of voice?
- How do you keep LLM costs bounded at peak hour?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: ingest two-channel audio (agent and customer) per call from telephony connectors, produce a live transcript, evaluate tenant-configured triggers and ML models (intent, next-best-action, kn...
High-Level Design
- Ingest gateway: per-call media stream (SIP recording fork or CCaaS streaming API) terminates at regional gateways; each call gets an id and is routed by consistent hashing to a conversation wor...