Design an AI-based Language Tutor

Hard45 min
1 / 30
System design answer

Design an AI-based Language Tutor

Hard45 min30 sections
understanding•6 min read

Problem framing and product boundaries

What the tutor must do, why the problem is hard, and the boundaries to state before drawing anything.

What the product must do

An AI language tutor takes a learner from their current level to a measurable speaking, listening and writing goal, one short session at a time. It has to do four jobs at once: teach new material at the right difficulty, listen to speech and judge pronunciation, correct grammar in the learner's own sentences, and remember what the learner already knows so that practice returns at the right moment.

The product is pure software. It runs on iOS, Android and the web. There is no hardware and no IoT ingress. The phone microphone captures audio, the app streams it to the backend, and the backend returns a transcript, a score and synthesized speech. A standard API edge with TLS, authentication and rate limits handles every request.

The four jobs

  1. Lesson generation and personalization: choose the next exercise from a learner model, not from a fixed curriculum order.
  2. Speech recognition and pronunciation scoring: turn audio into text and phoneme-level evidence, then return a score the learner can act on.
  3. Feedback and short quizzes: explain each error in plain language, tied to the exact words the learner said or wrote.
  4. Progress and motivation: streaks, XP, levels and an optional leaderboard, without turning the product into a slot machine.

Why the problem is hard

Four constraints pull against each other. Speech has to feel like a conversation, which means a spoken reply in roughly one second. LLM output is probabilistic, and a wrong correction teaches the wrong grammar, which is worse than no correction. Some learners are children, so COPPA and content safety apply from the first day. And every speaking session has a variable cost, so a free tier has to survive the cost of its heaviest users.

Boundaries I state at the start

  • Target languages: English-speaking learners first, with Spanish, French, German and Japanese as target languages at launch (assumption for scoping, not a market claim).
  • Learners: teens 13 and older and adults at launch. Under-13 accounts need verifiable parental consent, so I treat them as a separate scope that ships later.
  • Practice modes: turn-based voice and text chat. A talking avatar with video is out of scope for this design, although the same API would carry its audio.
  • Offline use is a limited mode: pre-authored lessons and on-device pronunciation scoring for downloaded lesson packs, not a full tutor.

Saying these boundaries aloud in the first two minutes shows that the candidate knows where the hard parts are and which parts they are choosing to defer.

Key Highlights

  • •The product is pure software on iOS, Android and web, served through a normal API edge with no IoT ingress
  • •Four jobs: personalized lessons, speech and pronunciation scoring, feedback and quizzes, progress and motivation
  • •Four constraints conflict: sub-second conversation, probabilistic LLM output, minors in the user base, and variable cost per session
  • •State scope first: languages, age band, voice versus text, and the limited offline mode
Draw the boundary before the boxes
Stating that the product is pure software with no IoT ingress, and that under-13 learners are a later scope, shows the interviewer that the candidate chooses scope deliberately. It also stops the design from drifting into hardware or avatar video.
Treating the LLM as the whole product
Candidates often describe a chat window in front of a large model. The hard parts are the timing of speech, the accuracy of correction, the learner model that decides what comes next, and the safety rules for children. A design that ignores these reads as a demo, not a product.

Section Rescue Kit

Buzzwords to use:

Learner ModelTurn-Taking Latency

Safe statements:

  • "Before I draw anything, let me confirm the scope: the languages, the age band, and whether voice is in the first release."
  • "I want to separate the lesson engine from the speech path, because they have different latency and cost profiles."
  • "Let me name the constraints that conflict, then choose which one wins in each part of the design."
Design an AI-based Language Tutor - System Design | WinJob | WinJob