The Primer

An AI tutor that teaches young children reading, writing and arithmetic. I built it as a real platform and not as a demo, because I wanted to know what it takes.

Status
Personal project, in development
Stack
TypeScript, React, Hono, SQLite; Python and Pipecat for live voice
Methods
Tool-calling agents, real-time voice, vision, spaced repetition

The problem

A good private tutor does something that a worksheet cannot. The tutor watches the child work, sees the exact thing that confuses them, and changes the next step. Most educational software gives a fixed sequence and marks the answers.

A language model can have that kind of conversation. The hard part is everything around it:

What I built

The teaching logic is a core that does no input or output at all. It holds four things:

The model leads the conversation. It does not decide the curriculum.

Two ways to talk, one set of teaching rules the childspeaks, types, draws step by stephear the speech → tutor → speak live callthe browser calls a realtime model tool runtimethe same for both core engineskills, mastery,placement,schedule The model can reach the teaching logic only through the tools. The core has no input or output, so it is tested without a model.
Both voice paths use the same tools, so the teaching rules cannot become different between them.

Around the core, these are the parts I found most interesting:

What I learned

Back to projects