Inspiration Every trainee air traffic controller needs hundreds of hours in a simulator (a "sweatbox"), and every one of those hours needs a room of people pretending to be the pilots. Tudor, a student pilot, founded and ran an ATC training academy (ATC24 Academy). He saw first-hand that these pseudo-pilots are the bottleneck: training stops when they aren't available. They also can't reliably make the realistic mistakes a trainee most needs to learn to catch, such as a pilot reading back 5,000 ft instead of 4,000. We wanted to replace that room with AI pilots good enough to train on.

What it does VoiceVector is a Gatwick approach radar where a trainee controller works traffic by voice, with AI pilots on the frequency.

Talk on push-to-talk. Your words appear as you speak (ElevenLabs Scribe Realtime). Releasing the button sends the call. The pilot answers in about a second, in one of 14 voices designed with ElevenLabs Voice Design, through a VHF radio sound fitted to real ATC recordings. The aircraft then turns and descends on the radar, flown by a deterministic flight model. Pilots make mistakes on purpose: wrong values, swapped digits, wrong turn direction, flying a different level than they read back. The trainee has to catch them ("Negative, descend altitude 4,000"), and the pilot repeats only the corrected part. Missed errors are graded, and the debrief plays back the exact transmission you missed. Real radio life: stepped-on transmissions (two stations at once give the heterodyne squeal), MAYDAY calls in a genuinely stressed voice (fal Chatterbox), a spoken ATIS, and pilots who say "unable" when you ask for something the aircraft can't do. Feedback: a phraseology coach scores every call against UK CAP 413 rules, and Claude adds one sentence of advice; a judge challenge times you landing BAW117 from the hold, with a leaderboard; the debrief uses 29 deterministic rules (separation, minimum altitudes, ILS intercepts, readback monitoring…), each with evidence. Claude writes the narrative from those findings only. For an audience: a 3D second screen of the same session, with an advisory conflict forecast (64 simulated futures per aircraft pair); a live /pipeline page that lights up every stage and API call as it happens, on any device on the network. Automated vs manual: the controller is a human; everything after their voice is automated. Traffic and weather are simulated (with an optional read-only VATSIM snapshot import). In the demo video, the readback error is triggered on purpose.

How we built it One Python process (FastAPI + uvicorn) holds the session in memory and streams state, audio, captions and events over a WebSocket. Every message is a typed pydantic contract, mirrored in TypeScript. Frontend: React + TypeScript (Vite); a Canvas 2D radar that interpolates the 1 Hz simulation to 60 fps; MapLibre + deck.gl for the 3D view; Web Audio for capture and the radio chain. Voice pipeline: Scribe v2 Realtime with manual commit on push-to-talk release and aviation keyterms; a normaliser and rule grammar that parse a full clearance in about 1 ms; Claude Haiku as a fallback for non-standard phrasing; a readback composer using 170 phrasing templates (drafted with Claude, reviewed by Tudor); a validator that re-parses every sentence before it's spoken; ElevenLabs Flash v2.5 streaming with timestamps for word-by-word captions. fal Chatterbox for emergencies, and fal Wizper as a backup transcriber. Trained parser model: Tudor also trained a CRF sequence tagger on real ATC transcripts (UWB-ATCC, CC BY-NC-SA 4.0, Šmídl et al.). It sits behind a flag and is used only where the rules can't resolve a line. Simulation: our own deterministic flight model with OpenAP performance; real Gatwick airspace and all 61 STAR/SID procedures from the VATSIM UK sector file; ILS capture rules (glideslope only from below), holds, STCA, and a seeded Monte Carlo conflict forecast. Rule: the AI never flies the aircraft. Language models understand speech and write coaching; deterministic code decides what's possible, flies it, and grades it. Team process: contracts first, folder ownership enforced by a git hook, and 1,257 automated tests. Built in about 20 hours with 113 commits.

Challenges we ran into Speed without an LLM in the loop. To answer in under half a second we kept AI off the reply path: audio streams to Scribe while you talk; parsing is deterministic; TTS streams, and audio plays on the first chunk. The remaining time is hidden inside each pilot's human reaction delay. Making AI voices sound like pilots. Our first voices were too slow and relaxed. We measured 776 real pilot readbacks (median 3.23 words/s) and calibrated every voice from 2.86 to 3.67 words/s. ElevenLabs Flash ignores stretched spellings, so natural pauses use break tags. We also respelled ICAO words so "Lima" comes out as "LEE-mah". Numbers and callsigns in speech. Scribe sometimes glues tokens together ("EZ45ABQNH1013"). Our benchmark found it, and the normaliser now splits them. Matching callsigns only against aircraft on the scope made recognition far more reliable. Cold starts. The fal Wizper backup took 4–10.6 s from cold, so we keep it warm. Chatterbox can take around 10 s, so ElevenLabs takes over automatically and a mayday is never silent. Accounts. Designed voices exist in only one ElevenLabs account, so a teammate running with a different key heard silence. Pilots now fall back to standard voices with a notice. Realism vs fun. For example, the glideslope only captures from below, as in the real aircraft. That meant tuning the judge scenario so a clean run is achievable in about 11 simulated minutes.

Accomplishments that we're proud of 0.41 s from releasing the button to the pilot's voice being ready (median, 20 runs through the real APIs). The pilot then waits a deliberate, human ~1.4 s. 19 of 20 spoken clearances understood exactly, end to end. Zero unplanned wrong readbacks. Every pilot sentence is checked before it's spoken. A 20-minute automated rehearsal test runs 232 transmissions (maydays, go-arounds, overlaps, corrections) with no errors. A judge-style run: held, vectored, cleared for the ILS and landed with zero go-arounds, scoring 89. A live view of every API call, so anyone can watch exactly what the AI is doing. What we learned Use AI at the edges, keep the core deterministic. Language models are brilliant at messy speech and coaching. Anything safety-shaped (what the aircraft does, what's legal, what the pilot says) is better as testable code. Perceived latency is not machine latency. A reply that's too fast sounds fake. Measure everything. Server-side traces of 15 stages per transmission changed several design decisions. Audio realism lives in small details: pace, pauses, pronunciation and noise floor. Be honest about evaluation. Our parser test set was written by us. Our trained tagger's 0.98 F1 is agreement with our own grammar's labels, not independent accuracy, and we say so.

What's next for VoiceVector We have sent the demo to multple pilots, with one already saying that he is impressed in our work and interested in seeing it in the industry. Pilot mode: the same engine flipped around, to train student pilots for their radio licence. A human-labelled speech corpus for proper word-error-rate and parser benchmarks. Verified values: UK minimum altitudes and wake separation. Calibrated forecasts: measure the conflict-forecast probabilities against logged outcomes. Instructors: a spoken AI debrief instructor, instructor accounts and progress tracking across sessions. More: more airports, and multi-trainee hosting.

Built With

Share this project:

Updates

Submission history