← Back
Home › Systems › Agentic AI

voice-agent

real-time voice agent

phone support bots

SystemTechniques · 23Primitives · 90 voice-agent Deterministic simulation testingdistributed · medium: Run the whole system in one thread under a seeded scheduler with simulated network, disk and clock, so every failure replays from its seed.›Primary-backup replicationdistributed · medium: One node orders all writes and ships them to standbys; the acknowledgement rule (none, one, all) sets what a crash loses, and an external arbiter decides who takes over.›Chunked streaming attentionmachine-learning · medium: Chunk-limited attention masks with cached left context so encoders (Conformer, Whisper-style) run streaming at bounded latencyNeural vocodersmachine-learning · medium: Generating waveforms from mel/acoustic features (HiFi-GAN, WaveNet-style, Vocos)RNN transducer (RNN-T)machine-learning · medium: Streaming sequence model that sums all monotone alignments in a frame-by-label lattice and conditions each label on earlier ones.›Acoustic echo cancellationmedia · medium: Adaptive filter (NLMS/frequency-domain) removing far-end echo from the microphone signalJitter buffermedia · medium: A receiver-side buffer holds packets just long enough, a delay tracked from recent arrivals, to reorder them and hand out media at a steady rate.›RTP and RTCPmedia · low: RTP stamps each media packet with sequence number, media-clock timestamp and source ID; RTCP reports loss, jitter, round trip and clock mapping within a bandwidth cap.›Voice activity detectionmachine-learning · low: Per-frame speech/non-speech decision with smoothing, from an energy threshold over a tracked noise floor up to small neural nets.›Agent loopagentic-ai · unknown: Prompt cachingagentic-ai · low: Reuse the attention keys/values of a repeated prompt prefix, so an agent's growing context is prefilled once and later turns pay only for the new tokens.›Tool callingagentic-ai · low: The model emits a structured call (id, name, JSON arguments) instead of prose; your code validates, runs it and returns a result tagged with the same id.›Hdr histogramdata-structures · low: Log-linear bucketed histograms with bounded relative error for latency percentilesProcess supervisionhardware-os · low: A parent process starts services, reaps their exits and restarts them under a delay and burst-limit policy, then stops them with SIGTERM before SIGKILL.›End of turn detectionmachine-learning · low: Deciding when a speaker has finished (silence plus prosody/semantic models) to start a reply with low latencyText normalizationmachine-learning · low: Rewrite messy text into one canonical form for matchers and models, or into spoken words for speech output (and back), keeping a map to the original offsets.›Opus codecmedia · low: Opus audio codec: SILK/CELT modes, frame sizes, bitrate and FEC settings for real-time voiceSip signalingmedia · low: SIP call setup, dialogs, SDP offer/answer and registrar/proxy routingContinuous batchingml-training · low: Schedule LLM inference per iteration, not per request; finished sequences leave and new ones join the running batch every step, which keeps the GPU full.›Server-sent eventsnetworking · low: One long-lived HTTP response carries text events one way; each event may carry an id, so a reconnecting client names its last one and the server resumes.›WebSocketsnetworking · low: Full-duplex message framing over one upgraded HTTP connection; the standard way to push real-time data to browsers.›Mutual TLSsecurity · low: TLS where the client also proves a certificate key, so every connection carries a verified, rotatable machine identity.›Graceful drainingsystems · low: On a termination signal, stop taking new work, finish in-flight work until a deadline, tell clients to reconnect elsewhere, then exit; clients resume from a token.›+ 16 more techniques+ 74 more primitives

Similar systems

Share the most building blocks with this one.