A tutor for children, on your computer

Lessons on the screen. Answers on paper.

Radio Tutor plays cassettes of short animated, narrated lessons. After each lesson the child solves a worksheet with a pencil, takes a photo of the page with a phone, and an AI model that reads images says which answers are right and why. The parent sees every photo and can overrule the AI.

Install it GitHub Documentation

go install github.com/rm4n0s/radio-tutor/cmd/radio-tutor@latest
A lesson that plays, with a drawing of a child, a stone, a glass of water, a balloon and a flower under the labels solid, liquid and gas, a caption, and the Pause and Stop buttons

A lesson of an example cassette about matter, in Greek. The picture moves while the narrator speaks, and the caption shows the sentence that is spoken.

1 scan

of the QR code for each login. The page on the phone then switches to the next worksheet by itself.

6 photos

at most for one check, which can hold up to ten exercises

5 verdicts

for an exercise: correct, partly right, incorrect, unreadable, or not found on the page

0 names

are sent. The AI provider gets the photos and the text of the exercises, never the name of the child.

  • Cassettes

    A cassette is one file with the lessons and the exercises of one subject: math, a language, history, anything a book teaches. An AI agent writes it for you from a book or a subject.

  • Paper and pencil

    The worksheet is solved on paper, with the number of each exercise beside its solution. The phone only takes the photos, and the computer shows the result.

  • The parent decides

    You create the profiles, choose the AI provider, see every photo and read what the AI read on it. You can pass an exercise or give the child new tries.

A cassette is one file

A .cassette file is a zip with the lessons and the exercises of one subject. You import it in the app, which checks the whole cassette first: if anything is wrong, it lists the problems and installs nothing.

  • A lesson is one picture whose parts appear and move while the narrator talks, with the words of the narrator as captions
  • An exercise has the question, the right answer, instructions for grading and up to five hints
  • Importing a newer version of a cassette keeps the progress of the child
  • The format is written down in CASSETTE-FORMAT.md
cassette.json        the title, the language, the order
cover.svg            the cover on the shelf
lessons/<lesson-id>/
    lesson.json      the captions and the timeline
    scene.svg        the picture of the lesson
    narration.ogg    the voice of the narrator
exercises/<exercise-id>/
    exercise.json    the question, the answer, the hints
    prompt.svg       optional: a picture for the exercise
    prompt.ogg       optional: the exercise read aloud

A session, from the lesson to the result

The child logs in with a name and a password, and picks a cassette from the shelf. The lessons and the worksheets open in order.

The lesson

A picture that moves while the narrator explains it

A lesson is short. The four lessons of the example cassette are about two minutes each. When the narration ends, the lesson counts as finished, and Next opens the worksheet.

  • Play, Pause and Stop, a button to mute and a slider for the volume
  • The caption of the sentence that is spoken is under the picture
  • The child cannot drag the bar of the time
  • Without a sound device the lesson plays silently, and says so
The picture of a lesson zoomed in on a molecule of water, with its caption in Greek under it

The worksheet

Solved on paper, with the number of each exercise

Every exercise is a card with a big number, a title, the question and sometimes a picture. The child writes the number next to the solution, and that is how the AI knows which answer belongs to which exercise.

  • The card shows the tries that are left, and the hints the child has earned
  • The child unticks the exercises that are not ready to be sent
  • The next lesson unlocks when the whole worksheet is passed
A worksheet with three ticked exercises in Greek, a banner that says to solve them on paper, and the Check my answers button

Check my answers

A QR code connects the phone

The child presses Check my answers and scans the code with a phone. The page that opens is served by the computer, on your home network. The address is also written on the screen, in case the code cannot be scanned.

  • The code is scanned once for each login
  • The link ends when the child logs out, when Radio Tutor closes, or after an hour without photos
  • A check waits 30 minutes for its photos, or until the child presses Cancel
The screen with the QR code, the address of the page, the exercises 1, 2 and 3, and the count of the photos that were received

The phone

The phone only takes the photos

The page lists the exercises to photograph. The child takes one or more photos and presses Send. It is a web page, so nothing is installed on the phone.

  • The page waits when nothing is there to photograph, and shows the next worksheet when the child asks for a check
  • After Send it says to look at the computer
The page on the phone in three states: waiting for the next exercise, the list of the exercises, and the buttons Take photos of the solution and Send

The result

Right or not, and why

The computer sends the photos with the texts of the exercises to the AI provider. For each exercise the child sees a big mark and the message of the AI, in the child’s own language.

  • A green check for correct, with a star when the exercise is passed
  • A ~ for partly right, a red cross for incorrect, and a ? when the solution could not be read or was not found
  • After a try that did not pass, the next hint of the exercise is shown
  • After the last try a parent will look at the exercise, and the child can go on
The results of three exercises: one correct with a star, one that was not found on the page, and one not yet right with a new hint

The AI provider

You choose who sees the photos

Radio Tutor does not grade the photos itself. It sends them to a model that can read images, and any server with an OpenAI-compatible API works. A preset fills in the address and an example model.

  • Cloud, with your own key: OpenAI, Gemini, Anthropic, OpenRouter. The photos and the text of the exercises go to that company.
  • Local, with no key: Ollama, LM Studio, llama.cpp server. The photos stay on your computer or your home network.
  • Test sends a small picture of “2 + 3 = 5” and shows the verdict, the time and the model that answered
  • The API keys are in a file that only you can read. If others can read it, the app refuses to use it.
The AI providers screen with a note about what a cloud provider receives, and one active cloud provider with the buttons Test, Edit and Delete

The parent

Every photo, and what the AI read on it

For each check you see the photos, what was read from the paper, what the child was told, and notes that the AI wrote for you about why it gave that verdict. Next to each exercise are the buttons that overrule it.

  • Mark passed passes an exercise, and Reset attempts gives the child new tries
  • A notice lists the exercises that wait for you each time you log in
  • Delete photos removes the photos of a check and keeps its results
A check as the parent sees it, with the thumbnail of the photo, notes on the whole page, and an exercise marked unreadable with what was read, what the child was told and notes for the parent

Made for a family computer

Several children, one parent, and a computer that other people use too.

  • Profiles with passwords

    The child taps a name and types a password. After five wrong passwords for a name, that name waits 30 seconds.

  • Play as me

    The parent opens the shelf as a student sees it, with a progress of their own, to watch a new cassette before the child does.

  • Skip and revise

    Two switches for a child and a cassette. Skip lessons lets the child go on, and Free navigation opens every lesson and exercise.

  • English and Greek

    The program can be switched between English and Greek. A cassette has a language of its own, and the examples of the tutorial are in Greek.

  • Windows too

    It runs on Windows 10 and 11. scripts/build-windows.sh makes two files there: radio-tutor.exe for the window and radio-tutor-cli.exe for the commands.

  • Sound

    On Linux the narration plays through PulseAudio, or PipeWire with pipewire-pulse. One volume and one mute for every profile, which the child can change in the lesson.

  • Data in plain folders

    On Linux the settings, the profiles, the progress and the photos are files in the XDG folders. A file that cannot be read is renamed and kept, not overwritten.

  • A forgotten password

    A parent resets the password of a student in the app. radio-tutor reset-password <username> in a terminal is the way back in for a parent.

Cassettes are written by an AI agent

You do not write cassettes by hand. You give an AI agent that can work with files and run commands your book or subject, and a ready-made prompt. It writes the lessons, draws the pictures, makes the narration with a text-to-speech program and packs the file.

  • validate takes a folder or a .cassette file and prints one problem for each line, as path: message
  • pack checks the folder the same way and then writes the file
  • The agent runs both for you, until validate prints no problem
  • Watch a new cassette yourself before your child does
# Check the folder of a cassette
$ radio-tutor validate halves
halves is valid (0 errors, 0 warnings)
# Pack it into one file
$ radio-tutor pack halves halves.cassette
Packed halves into halves.cassette
# It does not overwrite a file unless you say so
$ radio-tutor pack halves halves.cassette
radio-tutor pack: the output file already exists; use force to replace it
$ radio-tutor pack --force halves halves.cassette
Packed halves into halves.cassette

Built on Glutter

The lesson player, the shelf and the screens of the parent are drawn by my own GUI toolkit.

What to know before you start

Better to read it here than to find it out.

  • It has no AI model inside. It needs a provider that can read images: a cloud service with your own key, or a local server such as Ollama.
  • A cloud provider receives the photos of the child’s paper and the text of the exercises. A local one keeps them at home, but grades slower, and how well it reads handwriting depends on the model.
  • The page for the phone is plain HTTP and is only meant for your home network. The phone must be on the same network as the computer, and on Linux you open port 8737 in the firewall once.
  • On Windows there is no installer and the program is not signed, so SmartScreen warns the first time. The ARM64 builds are built but not tested.
  • To make cassettes you need an AI agent that can run commands, ffmpeg and a text-to-speech program. A plain chat window is not enough.

Under the hood#

Radio Tutor plays cassettes: files with short animated, narrated lessons and paper-and-pencil exercises for one subject, such as math, a language or history. An AI agent can write the cassettes from a book or a subject.

A session of a child:

  1. The child logs in and picks a cassette from the shelf.
  2. The child plays a lesson: an animated picture, a narrator and captions.
  3. The child solves the worksheet on paper and presses Check my answers.
  4. The app shows a QR code. The child scans it with a phone, takes photos of the paper and sends them.
  5. A vision-capable AI model reads the photos and tells the child, for each exercise, whether it is right and why.

Parents keep control: they create the profiles, choose the AI provider (in the cloud or on their own computer), see every photo and can overrule the AI.

The grader gets the photos and, for every exercise of the check, its label, title, prompt, reference solution and grading instructions. It answers with a verdict, a transcription, short feedback for the child and notes for the parent. Only the verdict correct solves an exercise.

radio-tutor validate reports every problem of a cassette, not only the first: the limits of the zip, the fields of each JSON file, what an SVG may contain, and that each Ogg file decodes and no caption ends after the narration.

Everything stays on your computer, except the photos and the exercise text, which go to the AI provider you choose. It is written in Go on Glutter, without cgo, so no C compiler is needed to build it.

Kind
Application
Language
Go
Runs on
Linux, Windows
License
BSD-3-Clause
The cover of an example cassette, with a ball, a block and a drop of water under its Greek title

Start with one command

You need Go 1.27 to build it, and no C compiler. You also need a phone with a camera on the same network as the computer, and an AI provider that can read images. The repository has a sample cassette in English, “Halves and quarters”, to try the app with.

Source on GitHub Documentation

# Install it
$ go install github.com/rm4n0s/radio-tutor/cmd/radio-tutor@latest
# Start it, and create the parent account
$ radio-tutor
# Put it in your application menu
$ radio-tutor -setup-desktop
# Let the phone reach the computer, on a system with ufw
$ sudo ufw allow 8737/tcp
# A local vision model, with Ollama
$ ollama pull qwen2.5vl:7b