DEV Community

Cover image for How 8 Claude Code Agents Run My Son's AI Maths Tutor, and What Broke

How 8 Claude Code Agents Run My Son's AI Maths Tutor, and What Broke

Vivek Pathania on December 01, 2026

Ollie is an AI maths tutor I built for my 10-year-old son. She's a cartoon owl who talks him through a 30-minute session on a web page each day. Be...
Collapse
 
userxnom profile image
Abdullah Naseer •

This is the rare multi-agent post where the architecture is the lesson, not the agent count. The split you made is the part that generalizes: agents do the judging and the writing, scripts make the calls that change what he learns. verify-session.js recomputing every arithmetic answer itself β€” because the input was written by a model β€” is the line I would steal for anything where a model grades a real person. Scoring should be computed, not generated.

The clean-score system is elegant, especially "fast and correct is a mastery signal, not spare capacity." One thing I kept wondering about: do a blank and a wrong answer cost the same in the clean score? A blank on a late, hard question reads like triage β€” he is spending his budget where it counts β€” while a wrong first try reads like a misconception, and the fix for each is different. Does the grader see that distinction, or is it something the two scores together are supposed to reveal?

And the three iPad bugs all passing laptop testing is the best argument in the post for "test where it will actually run." The gap you mention at the end β€” the one a reader pointed out that you still have not closed β€” what is it, and is it the next thing you will build?

Collapse
 
vivek_pathania_bf7f401f6a profile image
Vivek Pathania •

Thanks Abdullah, love "computed, not generated." Stealing that.

Same cost in the clean score, different tag underneath. Wrong answers get re-taught. Late blanks get treated as confidence or tiredness, so he gets easier wins and a shorter session. Fair point on triage though, it never assumes he's being strategic.

The gap: he can't push back when Ollie's wrong, except by quitting. That's how I found the isosceles bug. Building that next.

Collapse
 
kami_butt_69b922ade8de012 profile image
Agentic Affairs •

The clean-versus-completion split is the metric most agent evals skip β€” a 10/10 completed session that was only 6/10 clean being a hold, not an advance, is exactly the kind of judgement a benchmark can't fake. And wrong answer keys telling a child he was wrong when he was right is the failure mode that matters most here, since it punishes the thing you're trying to teach. Do the agents ever push back on your overrides, or is the human the only source of corrections in the loop?

Collapse
 
vivek_pathania_bf7f401f6a profile image
Vivek Pathania •

Thanks! And yes, the wrong answer key one still bothers me. It punishes the exact thing you're trying to build.

The agents don't argue with me directly, but I'm not the only one correcting things. The verifier re-solves every question without seeing how it was written, and if it disagrees, the session stops and waits for me. The curriculum gets a blind second check the same way. And the scripts refuse things outright.

The system does push back on me in two places. If I move a topic ahead of something it depends on, I get a warning. And if he's finished a session I haven't graded yet, it won't let me touch the topic order at all. It literally tells me to run /grade first. Honestly, that's the pushback I need most.

Collapse
 
kami_butt_69b922ade8de012 profile image
Agentic Affairs •

The /grade gate is the one that sticks with me β€” the system telling the parent to grade first is pushback on the human, not just the agents, and that's the rarer direction. One thing I'd want to know: when the verifier's blind re-solve disagrees, can it tell whether the agent was wrong or the answer key was? That's the case where stopping the session is exactly right, but the fix points in opposite directions.

Collapse
 
alexshev profile image
Alex Shev •

The separation between an adaptive teaching heuristic and a hard progression safeguard is thoughtful. For a child-facing system, I would also retain a compact decision trace for each sessionβ€”evidence, threshold, override, and next lessonβ€”so a parent can challenge or correct the tutor’s reasoning.

Collapse
 
vivek_pathania_bf7f401f6a profile image
Vivek Pathania •

Agreed. Will add that to my list

Collapse
 
_komachi-jp profile image
Komachi | AI on a Budget •

Your verifier re-solving every answer from scratch is the part I'll steal first β€” in my setup, Claude Code builds and ChatGPT acts as the second eye, but I don't have a separate checker that re-solves the work itself. The clean-score idea also landed for me: a 10/10 completed session that was only 6/10 clean being a hold, not an advance, feels like the right kind of strict for a family tool. And the three iPad bugs passing all your laptop testing is a good warning β€” my small family system only gets used on the devices my family actually has, so testing anywhere else would be guessing. Do you have a rule for when a lesson is allowed to advance if the verifier and the grader disagree, or does the verifier always win?

Collapse
 
vivek_pathania_bf7f401f6a profile image
Vivek Pathania •

Thanks! Good question, and the answer is that they never get to disagree, because they judge different things.

The grader judges him: how today went and whether he moves on. Its marks are saved before anything else runs. The verifier judges the next session: are the questions, answers and pictures actually right? So it can stop a session from reaching him, but it can't touch whether he advances.

If the verifier fails something, it doesn't win and it doesn't lose. The run stops and waits for me. It can't fix anything itself, it can only point at the problem.

On ChatGPT as your second eye, one tip: give it only the finished work, not how it was made. A checker that sees the reasoning tends to agree with it.

Collapse
 
gautamtalksdev profile image
Gautam K •

This is such a lovely project. Eight agents writing the next session overnight while he sleeps is a great setup. How do you review a session before he sees it, or do you trust the agents with that?

Collapse
 
the_daily_flare profile image
The daily flare •

59 server calls per demo visitor, with 58 of them just voice clips, made me check how many calls my own pages waste on audio.

Collapse
 
vivek_pathania_bf7f401f6a profile image
Vivek Pathania •

Good catch!! I am working on optimising that it’s on my list.
The idea was to get a working version out ASAP for my Son