KatalockAi AcademyBack to KatalockAi
Capstone 17, counts toward Phase 18

Personal AI tutor

Build a subject-specific Socratic tutor with a curriculum graph, a knowledge-tracing learner model, memory with retention rules, text, voice and photo input, safety filters and a small efficacy study.

about 30 h Earns its own certificate Reviewed against a 7-point rubric
Submit your project Get coached by Professor Katalock

The capstone and what it builds on

  1. 1Personal AI Tutor (Adaptive, Multimodal, with Memory)The capstone brief
  2. 2Agent Memory - Virtual Context and Memory PagingPhase 14: Agent engineering
  3. 3Hybrid Memory: Vector + Graph + KVPhase 14: Agent engineering
  4. 4Stateful Graph Orchestration - Durable Execution and CheckpointsPhase 14: Agent engineering
  5. 5Context Engineering: Windows, Budgets, Memory, and RetrievalPhase 11: LLM engineering and RAG
  6. 6Build a Voice Assistant Pipeline - The Phase 6 CapstonePhase 6: Speech and audio
  7. 7OCR & Document UnderstandingPhase 4: Computer vision
  8. 8Guardrails, Safety & Content FilteringPhase 11: LLM engineering and RAG

What You'll Build

An adaptive tutor for one subject (algebra or intro Python, for example). A Socratic policy asks before it explains, a Bayesian knowledge tracing model updates mastery per concept, a prerequisite graph picks the next concept, and memory keeps mistakes and preferences under a retention policy. Learners can type, speak or photograph a problem. You run a small efficacy study against a linear, non-adaptive baseline and report the result honestly.

Requirements

  1. Curriculum graph of at least 40 concepts with prerequisite edges (Neo4j, SQLite or networkx), an acyclicity check and open educational content linked per node.
  2. Bayesian knowledge tracing with per-concept priors (guess, slip, learn), updated after every interaction and persisted per learner; unit tests on the update equations.
  3. Tutor policy as a state graph with read_signal (correct, partial, stuck), select_concept (graph walk by priority), scaffold (Socratic question or hint; never the final answer on the first request) and update_mastery.
  4. Spaced-repetition scheduling (SM-2 or FSRS) for review items.
  5. Memory: episodic log of every interaction, promotion of repeated mistakes and preferences to semantic memory, strict per-learner scoping, a configurable retention period with automatic deletion and a deletion endpoint.
  6. Multimodal input: text, voice (ASR in and TTS out, push-to-talk is fine) and a photo of a problem (OCR or VLM) turned into structured input.
  7. Safety: every model output passes a moderation classifier plus an age-appropriate filter; a red-team set of at least 20 prompts, including attempts to read another learner's memory, is blocked and logged.
  8. Efficacy study: pre-test and post-test for the adaptive tutor and a linear baseline on the same content; report learning gain with a confidence interval and the sample size.
  9. Socratic fidelity: score at least 20 transcript samples with a written rubric (LLM judge plus your own manual check of 5).
  10. Per-learner progress report (HTML or PDF) with concepts practised, mastery trajectory and next steps.

Constraints

  • Model-agnostic: any OpenAI-compatible endpoint (including the KatalockAi API) or a local model (for example via Ollama, llama.cpp or vLLM) may be used. No named commercial model is required; record which model you used in the README.
  • Hardware: a laptop is enough; voice can use faster-whisper and Piper or Kokoro locally, photos can use an OCR model or any VLM.
  • Substitution: the lesson runs a two-week study with 10 learners per arm and a K-12 audience. Here a pilot with at least 3 consenting adult learners per arm, or a simulated-learner study (LLM learners whose knowledge follows BKT parameters) plus at least 2 real adult pilot sessions, is accepted. State clearly how small n limits the conclusions.
  • Ethics: do not involve children unless you have guardian consent and follow local rules. Get informed consent from adult participants and commit only anonymised results.

Stretch Goals

  • Compare adaptive concept order against random order and report the gap.
  • Add a parent or learner dashboard with safety events and mastery trajectories.
  • Add a second teaching language and measure moderation coverage in it.

How to Submit

  • Public GitHub repo with curriculum/, learner_model/, policy/, memory/, io/ (voice and photo), safety/, study/ (tests, anonymised results, analysis), reports/ and README.md.
  • README: subject and audience, architecture, how to run a tutoring session in each modality, study design and results with caveats, safety and privacy model, and limitations.
  • Paste the study results table, two annotated transcripts (one stuck, one correct path) and the red-team summary.

How It's Reviewed

Professor Katalock reads your repository and the evidence you paste, and scores each criterion out of 100. You pass with a weighted total of 70 or more and no criterion below 40. A copied or padded submission is flagged and fails.

CriterionWeightHow it's checked
Learning gain20Pre and post results for adaptive vs linear baseline with sample size, gain and confidence interval from the learner's own study.
Socratic fidelity15Rubric scores on 20 or more transcripts, with the manual check of 5 and examples.
Multimodal UX15Text, voice and photo paths work end to end into the same policy, shown in transcripts or evidence.
Safety and privacy15Moderation and age filter on every output, per-learner memory scoping, retention and deletion, and a 20-prompt red-team log.
Curriculum graph and learner model1040 or more concepts with a passing acyclicity check; BKT updates tested; spaced repetition implemented.
Code quality and structure10Policy, learner model, memory and IO are separate modules; runs per README.
README: design decisions and limitations15README explains pedagogy and model choices, discusses what failed in the learner's own sessions and states study limits honestly.

Submit

Push your work to a public GitHub repository with a README that explains how to run it, then paste the evidence below. Up to 3 reviews a day, free.

  • Study results table (arm, n, pre, post, gain, confidence interval)
  • Two annotated tutoring transcripts showing signal, concept choice and mastery updates
  • Socratic fidelity rubric scores
  • Safety red-team summary including the cross-learner memory attempt
  • One generated progress report (link or excerpt)

Reviews are done by AI against the rubric above. They check the evidence in your repository; they are not a substitute for a human code review, and a review can be wrong. If you think it is, improve the README so the evidence is unmistakable and resubmit.