A voice AI that plays air traffic control, in three languages.
Voice agents are easy to demo and hard to run. They mishear accents, answer too slowly, go off-script, and cost money every minute someone talks to them. This one plays the air traffic controller for student pilots, who speak English, Spanish, Portuguese and often a mix of all three, in a field where a wrong reply is not an option. Here is what went wrong first, how it was fixed, and what it costs to run.
The agent, before and after.
| Area | First version | Now |
|---|---|---|
| Hearing the pilot | The browser's own speech recognition: worked in one browser, and turned aviation words into everyday ones, so correct calls were marked wrong | A speech service that is told the language and the vocabulary of the call, with a backup that takes over automatically if the first one fails |
| The controller | An AI improvising its replies. Now and then it said something that sounded like a clearance it had no business giving | A controller that follows a script, like a real one follows procedure. The AI only grades the student's call |
| A bad call | Whatever the AI said next | "Say again", in the student's language, then another try. Just like real life |
| Accents and languages | A Spanish call, or English with an accent, was graded as if it were textbook English | The agent is told who it is listening to and judges what the pilot meant, not how the transcript spelled it |
| The voice | A plain computer voice | A natural voice passed through a real radio effect, prepared in advance so the usual reply plays instantly |
| Cost and visibility | No record of what students said or what each call cost | Every call is kept with its audio, and every AI call is priced the moment it happens, with limits per user and per day |
A conversation partner that must not improvise.
The product is an online training tool for student pilots, many of them learning to fly in their second language. It needed one thing no software had given them: someone on the other end of the radio who answers correctly, on the spot, and does not mind the thousandth repetition.
An AI voice agent sounds easy: listen to the pilot, ask an AI what the controller would say, read it out loud. The first version did roughly that, and it failed the way most voice agents fail. The speech recognition rewrote aviation words into everyday ones, so students lost points they had not earned. The AI, left to improvise, sometimes answered with something that sounded like an instruction a controller would never give. And calls in Spanish, in Portuguese, or in accented English came back as transcripts a strict grader could only fail.
The agent that is live today is a training script with an AI judge inside it, rather than a chatbot with a microphone. That one decision shaped everything else, including the cost.
The usual problems, and what this agent does about them.
Industry guides on voice agents keep listing the same failure points, and warn that an agent that works in a quiet demo often breaks on real calls with noise, accents and real traffic. None of them is solved by picking a better model.
| Problem | What it looks like | What this agent does |
|---|---|---|
| Mishearing | Recognition that scores well on clean speech drops fast with accents, jargon, background noise and unusual names. A transcript that is mostly right still fails if one number is wrong | The speech service is told the language and the exact vocabulary of each call. Digits are tidied before grading, and the grader is told to judge meaning, not spelling |
| Mixed languages | Speakers who switch languages inside one sentence are the weakest case for speech recognition, and benchmarks show large accuracy gaps between systems | Mixed-language calls are the normal case here, so the grader is explicitly told they are correct, and every language keeps its own number words and radio words |
| Going off-script | The AI gives a confident, fluent answer that is wrong: a feature that does not exist, an instruction it was never allowed to give | Controller replies are scripts. The AI grades and explains; it never issues an instruction. A failed call gets a fixed "say again" |
| Slow replies | A delay nobody notices in a text chat makes a voice conversation feel broken | Replies are recorded in advance and served from a content delivery network, so the common reply does not wait for any AI at all |
| Silence and turn-taking | Agents talk over people or go quiet, because they cannot tell a thinking pause from the end of a turn | Radio has a push-to-talk button, and so does the agent: the student taps to speak and taps to send. No guessing about who holds the floor |
| Dead air and ghosts | Speech models invent captions for silence, so an empty recording becomes a made-up sentence and a made-up grade | Near-silent recordings and known invented phrases are rejected, and the student sees "we couldn't hear anything" |
| Cost per minute | Every minute of conversation is billed three times: hearing, thinking and speaking. The bill grows with success | See the next section |
Industry sources, checked October 2026: Telnyx on testing voice agents under real conditions, Retell AI on common voice-agent issues, Towards AI on accents, noise and latency, Cekura on silence and turn-taking, ServiceNow's benchmark of speech recognition on mixed-language speech.
Five pieces, in plain words.
Hearing the pilot correctly
The student taps a push-to-talk button, speaks, and taps again; a ring stops the recording at 20 seconds, because real radio calls are short. The recording goes to a speech service under our control, which is told the student's language and the vocabulary of the call: the aircraft's callsign, the airport, the radio alphabet and words such as "niner". If that service fails, a second one takes over without the student noticing, and a third is ready behind a switch. The screen shows what was heard before the grade arrives, so a bad score is never a mystery.
A controller that follows the script
Real controllers follow procedure, and so does this one. Each scenario is a sequence of steps: listen to the weather, ask for taxi, read back the clearance, report your position. Every step has a correct call and a scripted controller reply, recorded in advance. The AI's job is to grade: did the student say the right things, in the right form, and what was missing? When a call is seriously wrong, the controller says "say again" and the student tries once more. The AI never gets to invent a clearance.
A voice that sounds like the radio
The controller's lines are spoken by a natural synthetic voice and then passed through a radio effect: the thin, compressed sound of a real VHF radio, with a hiss floor and the click of the microphone keying. It was tested against the clean voice with real listeners before it went live. The audio is prepared ahead of time and served from a content delivery network, so the common case plays instantly and costs nothing per call.
Feedback a student can act on
Every call gets three scores: how close the wording was to standard phraseology, whether every required element was there, and whether it came in time. The debrief lists exactly which elements were missing, in the student's language, and fifteen metrics follow each student's accuracy and progress over time.
Every call recorded, every cent counted
Each practice call is kept with its recording and its transcript, including the ones that failed, so any complaint about a grade can be checked by listening, and every new accent or phrase that trips the agent becomes a fix. Every AI call is priced the moment it happens, with limits per user and per day and a daily budget check.
Mixed languages, accents, and the word "niner".
Aviation radio is not spoken in one language. A Spanish or Portuguese pilot talking to a tower keeps the airport, the facility and the taxiway letters in English, says the numbers in Spanish or Portuguese, and spells the aircraft's callsign with the international alphabet. "Cessna One Two Three Alpha Bravo" stays English inside a Spanish sentence, and the runway is "dos siete", not "twenty-seven". Any grader that expects a single language fails every correct call.
Speech recognition adds its own problems. It writes numbers the way text does, so "dos siete" becomes "27" and a callsign becomes a jumble of letters and digits. It turns "niner" into "nine" and "tree" into "three", because that is what it learned from everyday speech. An accent can turn an airport name into two unrelated words and "Cessna" into "Seisna". None of this is the student's mistake, and an agent that punished it would lose exactly the people it was built for.
The fix has three layers. The speech service is told the vocabulary of the call, so the right words are at least on the table. The numbers are tidied up before grading, so "27" and "dos siete" count as the same thing, while the transcript the student sees stays as spoken. And the AI grader is told, in so many words, that the call was spoken, often by a non-native speaker, and transcribed by a machine: accept numbers in any form, accept the callsign with or without its first letter, accept words that sound alike, ignore filler, and mark something missing only when it is genuinely absent or wrong. The same instruction says that mixed-language calls are correct and must not be penalised.
The wording itself is a second front. English is graded against the US standard, the Spanish follows the international Spanish phraseology and the Portuguese follows Brazilian conventions, both pending a flight instructor's review. Regional differences between Spain, Mexico and South America are still open, and the Portuguese controller still speaks with the English voice. This is the part of the agent that is still moving, and every new recording in the archive teaches something.
A voice agent is billed by the minute.
Ordinary software costs about the same whether one person or a thousand use it. A voice agent does not. Every minute of conversation is paid for three times: once to turn speech into text, once for the AI to think, and once to turn the reply back into speech. Industry pricing guides put a typical all-in cost at roughly 7 to 30 cents per minute of conversation, and some AI models alone cost more than 15 cents a minute. A product that gets popular gets expensive at exactly the same rate, and a free tier can turn into a large bill overnight.
The scripted design is also the cost design. Because the controller's replies are scripts, their audio is generated once and served from a cache; the most expensive part of the chain, the voice, costs nothing on the typical call. The AI only grades, which is a short job for a small, cheap model rather than a long conversation with a large one. Speech recognition moved to a model at half the previous price when the opportunity came, and the switch took an afternoon because the provider sits behind a setting.
The rest is discipline. Every AI call is written to a ledger with its cost worked out on the spot, including failed calls and cache hits. Each user has a limit per minute and per day, the free plan has lower limits than the paid one, an emergency switch halves the free limits, and a daily budget check watches the total. Estimated from the suppliers' list prices, a full practice session costs about one to two cents in AI, and nobody finds out the real number from the invoice.
Industry pricing, checked October 2026: Techsy on all-in voice-agent cost per minute, Speechify's comparison of voice-agent platforms, Callin on what a voice agent really costs. Figures are list prices and change often.
What kept it reliable and affordable.
The AI judges. It never commands.
Where a wrong answer would be unacceptable, the agent uses a script. The AI is given only the job it can be trusted with: grading and feedback. That is a decision we make for every AI feature, step by step, before any code is written.
We check the AI's answer before the student sees it
The AI returns its grade in a fixed format, and our own code checks every field before it is used: a score outside the range is clamped, a missing field is filled from the rest, a broken answer becomes a polite error instead of a broken screen.
No single supplier can take the agent down
Speech recognition, the synthetic voice and the radio effect each sit behind a switch. When the original speech model stopped being available one morning, a new one was in place the same day. Suppliers change their prices and their models every few months; the agent should not notice.
A failure never ends the lesson
If speech recognition fails, the student can type the call. If the voice fails, the reply arrives as text. If a recorded weather broadcast is missing, the browser reads it out. Students see a lesson, not an error page.
Tested before it ships, without paying for it
Every piece was written test-first, with the AI suppliers simulated so the tests cost nothing to run, and the full suite runs before every release. New scenarios, voices and models ship without breaking what already works.
Measure what matters to the business
Analytics follow each student through the funnel: call made, call understood, reply played, lesson passed. Targets for failure rate, response time and cost per passed lesson were written down before they were measured, so the numbers published later will be real ones.
Live, and not finished.
Script what must be right. Let the AI handle the rest.
The controller's instructions must be right every time, so they are scripts. The grade and the feedback can tolerate an AI's judgement, so that is where the AI lives. It made the agent safer and cheaper in the same move.
Script what must be right, let the AI handle the rest
A voice agent does not have to be a free conversation. Decide which lines may vary, and give the AI only those.
The transcript is not the truth
Judge what the person meant, not what the machine wrote down. Tidy the predictable differences in code and tell the AI about the rest.
Keep the recording
Every hard problem on this agent was solved by listening to the saved audio next to its transcript. Without the recording, a disputed grade is just an opinion.
Price every call from day one
Knowing the cost of each call made limits, budgets and supplier changes a setting rather than a project.
In progress
This case study will be updated as the agent evolves. Next on the list: two more airports after instructor review, a Portuguese controller voice, regional variations in phraseology, a backup grader that works even when the AI is slow, and the first measured numbers on response time, failure rate and cost per passed lesson, which will replace the targets and estimates on this page once they exist.
About voice agents like this one.
Could a voice agent like this work for my business?
If your customers or staff need to practise or hold a conversation, yes: sales calls, customer service, language lessons, safety procedures, interviews. The same pieces apply: hear the person, grade or answer against what a good reply looks like, speak in a voice, keep the recording, know the cost.
Why not let the AI run the whole conversation?
Because in some moments a wrong answer is unacceptable, and an AI that improvises will eventually give one. We decide, step by step, where a script is needed and where the AI can be trusted. The agent stays predictable where it matters and flexible where it can be, and it is cheaper for it.
How do you handle accents and more than one language?
We tell the speech service who it is listening to and what words to expect, tidy the predictable differences in code, and instruct the AI grader to judge what the person meant. Every call is recorded, so each new accent or phrase that trips the agent becomes a fix.
What does a voice conversation cost to run?
Industry guides put a typical voice agent at roughly 7 to 30 cents per minute. On this project a full practice session costs about one to two cents, estimated from the suppliers' list prices, because the replies are scripted and cached and the AI only grades. Every AI call is priced the moment it happens, with limits per user and a daily budget.
How long did it take?
A first prototype in spring 2026 showed what did not work. Voice training launched in July 2026, and the voice pipeline was rebuilt in October 2026, in small steps, each one live before the next started. The agent is still growing, which is how we prefer to work: something useful early, then improvements measured one at a time.
Is the project finished?
No, and this page says so. It is live, used, and being extended with more airports, a Portuguese voice and measured results. We would rather publish an honest work in progress than a polished story with invented numbers.
Do we own the code and the models?
Yes. On full payment, everything we build for you is yours. We keep only our own pre-existing tools and general know-how.