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
System Design
Software Engineer
Cresta
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

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
Streaming systems
Latency budgets
Speech recognition
Multi-tenancy
WebSockets
Graceful degradation
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. 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 Problems
Sample 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
  1. 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...

Submit Your Answer
Markdown supported

Related Questions