AI agent · Case study
Educational AI agent for schoolchildren
An AI agent in Telegram and web chat: it helps with homework, explains topics, prepares for tests, motivates with rewards and reports to the parent.
01
Challenge
A regular chatbot is a poor fit for school work. The goal was a helper that understands the assignment from the first message, explains at the right grade level and keeps the parent informed without making them read the chat.
- Misreads photos of textbook pages
- Answers in a form the teacher would not accept
- Forgets earlier assignments, so answers need double-checking
02
Solution
One AI agent works with the child in Telegram and web chat. Everything that needs precision is moved out of the model into regular code.
- 01
Homework from a photo
The agent works out what is needed: solve, explain the topic or check a solution. It asks again only when the photo is cropped or unreadable.
- 02
Explanations
A new topic becomes a mobile-friendly lesson page. Checking goes in steps: where the mistake is, a hint, and only then the full solution.
- 03
Test and exam preparation
A practice mode for a topic before a test, and essays in the exam format.
- 04
Mini-courses
Short lessons with pictures and questions to catch up on a topic. A lesson counts only after a correct answer.
- 05
Game elements and rewards
Lesson progress, rewards for completed assignments, and buttons for "give me a similar task" and "check my solution".
- 06
Reports for the parent
A weekly summary, a dashboard with response speed and failures, and an alert if the child seems unwell or unsafe.
What it looks like


How it is built
- 01
Channels
Telegram and web chat lead into one conversation.
- 02
Agent
Runs on a language model with rules written for the school curriculum and remembers earlier assignments.
- 03
Exact code
Buttons, lesson counting, the calculator, pictures and voice are regular code, not the model.
- 04
For the parent
The weekly summary and dashboard show only counters, never the chat text.
Results
- 16 shalf of the answers arrive faster than this
- 386homework photos handled in 60 days
- 101lesson pages generated
- 10recurring problems fixed after reviewing 32 real episodes
What I did
I designed the scenarios and agent rules, reviewed real usage episodes and rebuilt the pipeline around them. I built the gateway plugins, the summary and picture scripts, a web chat based on the open-source WebClaw client, and the monitoring dashboard. I deployed everything on my own server and keep it running.
Need something similar?
Tell me about your task. The first call is free.