Building a turn-based voice conversation tutor in the browser — and what we refuse to score A developer built BataTalk, a browser-based turn-based spoken conversation tutor in which learners record replies that are transcribed by OpenAI and answered by an AI character, with a coach named Tato able to prompt the opening words of a sentence. The founder deliberately omits pronunciation and accent scoring, citing transcription over-flagging of Brazilian accents, and states that user audio is processed in memory and never saved to a file, database or error log. The stack runs on Supabase for auth and progress, Stripe for subscriptions, Cloudflare with Turnstile, Resend for email and Render for hosting. I built a browser app, BataTalk, where someone practices a spoken conversation with an AI character: they listen, they answer out loud, and if they freeze, a coach can prompt the beginning of the sentence. This article was drafted with AI assistance and fact-checked against our public product pages and privacy policy version 2026-11-17.1 . I am the founder, and I can stand behind the architecture described below. Anything that is not in those public documents is left out on purpose. This is not a “real-time voice agent” write-up in the WebRTC sense. I do not claim a low-latency duplex stream, because I am not going to describe an unpublished pipeline. What the product actually does, in public terms, is turn-based spoken practice in the browser: the microphone starts when the person presses a button, their reply is recorded, it is transcribed, and the tutor answers. The job, not the stack The design constraint is social, not technical. A lot of learners can read English and still freeze when it is their turn to speak. The session has to feel like a situation a cafe, a check-in, an interview , not like a dictation box. The coach, Tato, is allowed to prompt the first words of a reply, with support language defaulting to Portuguese. Two product decisions follow from that job, and they simplify the engineering more than any library choice: 1. We do not give a pronunciation or accent score. Automatic transcription over-flags Brazilian accents. A confident number would be easy to ship and dishonest. The product page is explicit about this: intelligibility and task completion matter; a phonetic score is left to dedicated pronunciation tools. 2. We do not keep the user’s audio file. The privacy policy states that the utterance is processed in memory and is not saved by BataTalk in a file, a database, or an error log. The server sends the audio to OpenAI for transcription; the resulting text is what the model uses to reply and to evaluate the turn. Short excerpts of that transcript may appear in saved corrections for later review. Text calls use store: false , and we still do not promise how long the provider retains its own processing logs. If you are building a similar tutor, those two decisions — no vanity accent score, no audio archive — will conflict with “engagement” dashboards. That is the point. What happens on a turn At the level we can document: - The browser only opens the microphone after the person presses “Começar” and grants permission. If they refuse the mic, practice can continue; that attempt is simply not transcribed or scored. - Each spoken reply is recorded and sent to OpenAI for speech-to-text, then evaluated so Tato can respond. - Synthesized speech for the tutor may be generated by OpenAI. ElevenLabs is used only when it is configured as the voice provider; otherwise the voice is OpenAI. That is the public operator list, not a marketing comparison. - In free conversation, the chat history stays in the open tab and is resent with each message so the coach keeps context; it is not written to our database. Automatic moderation is applied to block inappropriate content. - Auth, confirmation email and the database for the account and progress sit on Supabase. We do not see or store the password; Supabase Auth does. - Subscriptions go through Stripe. We store the plan and the Stripe identifiers, not the card number. - Cloudflare serves the site and, with Turnstile, challenges signup, login and public forms. - Transactional email goes through Resend. - The service is hosted on Render. Technical errors may go to Sentry when that is configured; we do not deliberately send audio or conversation content in those error reports. - The privacy policy also states that we do not currently use an Azure Speech integration to assess pronunciation. An environment variable sitting in a repo would not, by itself, mean that a vendor is processing data. I mention this because “we could hook Azure later” is the kind of sentence that should stay out of a privacy document until it is true. The official “how it works” page is here, including the learning loop after the turn a short scene, a suggested more natural reply, later review with spaced repetition : How BataTalk practice works https://batatalk.com.br/como-funciona . Why the browser, and what that costs you The app is a website. There is no app-store client. That is convenient for a first spoken line, and it puts you inside the browser permission model: a user who denies the mic, a mobile browser that suspends a tab, a flaky network in the middle of an upload. I will not invent a latency budget I have not published. The practical consequence is obvious from the turn-based design: you are not shipping a phone call. You are shipping a complete utterance, a transcription, a model turn, and audio back. Each of those steps can fail in a different way permission, empty recording, unintelligible audio, provider timeout, TTS failure . The honest UI is to say that the attempt could not be transcribed, not to invent a grade. What I would tell myself before storing voice If you are copying this shape, a short checklist from the policy we actually published: - Start the mic on an explicit gesture, not on page load. - Be able to describe, in one paragraph, where the bytes go, who transcribes them, and whether you write the file down. If you cannot, you are not ready to ask for the mic. - Separate “text we need so the person can review a correction” from “audio we feel tempted to keep for future models”. We keep short correction excerpts; we do not keep the audio. - Do not confuse store: false on a provider API with “nobody retains anything”. Write that difference down, the way a user would read it. - Ranking, friends and XP can exist without exposing transcripts. Our public ranking shows a display name, an avatar and XP, never what someone said. What this article is not It is not a vendor tutorial, not a benchmark, and not a claim that an AI tutor replaces a teacher. The model will be wrong sometimes. The product is practice, not a certificate. If you are building something in the same neighbourhood, I am interested in a narrow discussion: how you tell a learner that a turn failed, without turning the failure into a fake pronunciation score.