Voice AI

What it takes to run an AI voice agent on 1,000 calls a day

Latency budgets, queues, tool calls and human handoff — the unglamorous parts that decide whether a voice agent survives real traffic.

Key takeaways

  1. 01Stream every hop — latency under a second is what makes a call feel human.
  2. 02Run campaigns on a job queue with retries, rate limits and call windows.
  3. 03Give the agent tools and a human handoff, then watch every call live.
  • #voice agents
  • #architecture
  • #Twilio
  • #Redis

A voice agent demo takes an afternoon. A voice agent that calls a thousand leads a day, every day, without embarrassing your brand takes architecture. These are the lessons from building our own AI voice campaign platform.

Latency is the product

On a phone call, silence feels broken after about a second. Every hop — telephony, speech-to-text, the model, text-to-speech — spends part of that budget. We stream everything: partial transcripts go to the model as they arrive, and audio starts playing as soon as the first sentence is generated.

  • Stream speech-to-text instead of waiting for the caller to finish.
  • Keep the system prompt short and move reference data into tools.
  • Start speaking on the first complete sentence, not the full reply.
  • Pre-generate greetings and common confirmations.

Campaigns are a queueing problem

A campaign is not a loop over a spreadsheet. Calls fail, numbers are busy, people ask for a callback at 6 pm. We push every lead into a Redis-backed job queue with retry rules, rate limits per phone number and time-window rules, so the system can pause, resume and scale workers without losing state.

Tools, not memory

The agent should look things up and write things down through tools — check a slot, update a lead, book a callback — rather than 'remembering' facts in its prompt. Tools give you validation, audit logs and a single source of truth.

const tools = [
  { name: "check_slots", input: { date: "string" } },
  { name: "book_callback", input: { leadId: "string", at: "ISO datetime" } },
  { name: "handoff_to_human", input: { reason: "string" } },
];

Watch every call live

Operators need to see what the agent is doing right now. We stream call state, transcripts and tool calls over WebSockets into a monitoring dashboard, with one-click takeover. Live visibility is what turns a risky experiment into something a sales team trusts.

Always have a way out

Give the agent an explicit handoff tool and clear rules for when to use it: anger, legal questions, anything outside its scope. A graceful 'let me connect you to a colleague' beats a confident wrong answer every time.