📘 Guide

AI voice agents: how they work, technically

An AI voice agent runs five building blocks on every exchange: telephony, speech recognition, a language model, actions in your tools and speech synthesis, all in real time. Sayelo, an AI voice agent, takes up to 10 simultaneous calls and answers in nearly 100 languages.

Between the moment the caller says “hello” and the moment you receive the summary, five building blocks work one after another, several times a second. Here is what they do, why latency and safeguards matter more than the voice, and what you should ask a provider.

By Alexandre HaddadPublished on Updated on 10 min read

The five building blocks of a call

An AI voice agent isn't a single program, it's a chain. When the caller speaks, their voice passes through five stages before coming back as an answer, and the loop repeats on every turn of the conversation.

  1. Telephony. The call arrives on a number managed by an operator, which passes it to the agent as an audio stream. This is the oldest and most regulated building block: a phone number, a registered operator, number porting, call transfer to your mobile, SMS.
  2. Speech recognition, or transcription. The audio stream is converted into text, continuously, word by word, with end-of-sentence detection to know when the caller has finished. Noise from a building site, an accent, an unusual first name or a phone number spelled out are its difficulties.
  3. The language model. This is the brain. It receives the caller's text, the context of the conversation and your business profile, and decides what comes next: a question, an answer, an action. It doesn't “know” anything about your business by itself; it knows what the profile tells it.
  4. Actions. When the model decides to book an appointment, it doesn't do it itself: it calls a tool, which queries your calendar, checks the slot, writes it in and sends the SMS. These tools are the part that matters most to you: that's where the agent acts in the real world, and that's where a mistake costs.
  5. Speech synthesis. The text of the answer is converted into speech, continuously, so that the agent starts speaking before it has finished formulating. The quality of the voice matters, but less than its responsiveness.

All this repeats on every exchange, and the whole thing must take less than a second between the end of the caller's sentence and the start of the answer. That's the hardest part.

Why latency is the real issue

In a conversation between humans, the silence between two turns is very short, and a silence that goes on too long gets interpreted: “they didn't hear”, “they're hesitating”, “we've been cut off”. A voice agent has to keep up this pace with a chain of five stages, each of which takes time. Three techniques make it possible.

  • Streaming. Transcription starts while the caller is speaking, and synthesis starts from the first words of the answer. Nothing waits for the previous stage to finish.
  • Fast models for simple answers. Confirming a time doesn't call for the same reasoning as understanding a three-sentence quote request. A good agent uses different models depending on the task.
  • Building blocks close together. A chain whose stages are hosted in the same data centre as the telephony saves round trips. It's also an argument in favour of hosting in France.

When you test an agent, time its silences. If they regularly go over a second, callers will notice, and they'll hang up.

Interruptions, noise, numbers

Three situations separate an agent that works in a demo from an agent that works on a building site.

  • Interruption. The caller cuts the agent off, to correct something or to speed things up. The agent must stop talking, listen, and pick up where the conversation is, not where it was. This is called handling overlap, and it's one of the hardest things to get right.
  • Noise. An engine, a drill, a restaurant in full service. Transcription has to filter it, and the agent must know how to say “I didn't quite catch that, could you repeat it?” rather than guess.
  • Numbers and names. A phone number, an address, an unusual surname, a registration number. The agent must have them repeated, spelled out and reformulated before writing them down. Sayelo always confirms the callback number digit by digit.

Safeguards: what stops the agent saying just anything

A language model can produce a plausible sentence about anything. That's its strength, and its danger: without constraints, it would make up a price, an opening time, medical advice. Safeguards are the rules that stop it.

  • The business profile as the only source. The agent answers from what you have written; for anything that isn't there, it says it doesn't know and takes a message.
  • Authorised actions. It only does what its tools allow: write in the calendar, send an SMS, transfer. It can't cancel all your appointments or send an email on your behalf if it doesn't have that tool.
  • Forbidden topics. Medical, legal or accounting advice; confirming information about a customer to a third party; promising a price or timescale that hasn't been set.
  • Escalation rules. When to transfer, when to alert, when to stop. An agent that doesn't know how to hand over is an agent that ends up answering badly.
  • Announcing the AI. At the start of the call, every time. It's a legal obligation, and it's a safeguard for the caller themselves. The guide to the AI Act and GDPR details this point.

Where your data goes

During a call, the caller's voice passes through the telephony, transcription, language model and tools. Each building block can be hosted by a different provider, in a different country. That's why the question “where is the data hosted?” calls for an answer in several parts, and why you need to ask it for each building block: telephony, transcription, the model, storage of summaries and any recordings. At Sayelo, data is hosted in France by an HDS-certified host, and the data processing agreement describes the providers we use.

What you should ask a provider

Demos all look alike. The differences lie in the answers to these questions.

  1. What is the average latency between the end of my sentence and the start of the answer?
  2. How does the agent handle an interruption?
  3. What does it do when it doesn't understand, or when the question isn't in the profile?
  4. What actions can it actually carry out, and in which tools, without an intermediary?
  5. How many simultaneous calls does it take?
  6. Where is each building block hosted, and are my conversations used to train a model?
  7. Does it announce itself as an AI? Can that be switched off? The right answer is no.
  8. How can I review what it said: transcript, summary, recording?

And in practice, at Sayelo

At Sayelo, the voice agent, the number, transfers and SMS all come in one subscription. Numbers and telephony are provided by a partner operator registered with ARCEP (the French telecoms regulator). The agent announces itself as a voice assistant, answers from your business profile, writes in Google Calendar, Microsoft 365 or Cal.com, confirms by SMS and sends you the summary of every call. You can hear it in three minutes, with a demo that calls you back, before reading anything else. The complete guide to AI receptionists then explains how to set it up, and the AI voice agent FAQ answers the questions we are asked most often.

Further reading

More guides.

📘

AI receptionist: the complete guide

A voice agent that answers for you, books the appointment in your calendar and sends you the summary: what an AI receptionist really covers, what it can do, what it costs and how to set one up without getting it wrong.

📄

AI on the phone: the AI Act, GDPR and your obligations

Having an artificial intelligence answer your customers is legal, under four conditions that fit on one page: say that it's an AI, inform callers about their data, put a contract in place with the provider and, for healthcare, host data within a certified framework. Here are the texts, and what they change in practice for a small business.

📄

AI voice agents: the FAQ for small businesses

Since we started setting up voice agents for tradespeople, practices, agencies and shops, the same questions keep coming up, in the same order: does it really work, how much does it cost, what happens to my number, and what happens when it doesn't understand. Here are the answers, short and grouped by theme.

All guides →

Frequently asked questions

In plain terms.

Is an AI voice agent the same thing as a chatbot with a voice?

No. A chatbot has time: the user types, waits, reads. On the phone, everything happens in real time, with interruptions, noise, hesitations, and a caller whose patience is measured in seconds. Telephony, end-of-sentence detection, handling interruptions and latency are problems specific to voice.

Does the agent learn from my conversations?

It doesn't learn on its own, and that's for the best. Its behaviour comes from the business profile you write and the provider's rules. Your conversations are used to produce the summaries and, if you switch it on, to check quality. At Sayelo, your data is used solely to run your agent. It is never used to train AI models.

What happens if the caller speaks another language?

If the language is switched on, the agent detects it and carries on in that language. Otherwise, it stays in its usual language and offers to take a message. At Sayelo, the agent's base language is your country's language by default, and nearly 100 languages are included in every plan.

Why do some agents answer with a delay?

Because the chain of transcription, reasoning and synthesis takes time, and each building block adds to it. A well-designed agent starts speaking before it has finished reasoning, uses fast models for simple answers, and hosts its building blocks close to the telephony. Beyond a second of silence, the caller says “hello?”, and the conversation goes off track.

Hear the agent answer
calls in your trade.

Three minutes, free, no card needed: the agent calls you and plays the switchboard for your type of business. Then a 14-day trial on your own number.