AI Explorers
An AI course and classroom platform for schools
- Education platform · not yet launched
- Next.js
- TypeScript
- Postgres
- Drizzle
- next-intl
Overview
AI Explorers is a course and classroom platform for teaching AI in Mumbai schools on the Maharashtra State Board, from Std 6 to Std 10 (ages 11 to 16), in English and Marathi. Students work through weekly lessons and tools in the browser, teachers run lessons on a projector, and parents give consent and follow their child's progress.
The course is one data file of 138 weekly sessions, each with a lesson, a quiz, a teacher's plan and a worksheet. Two tools use Claude on the server: a tutor, and an illustration lab that asks for a drawing as SVG code rather than an image. The users are children, so the design starts from what is not collected: a student has a first name, a username and a PIN, and no account works until a parent has said yes.
How it works
One tutor message
The tutor carries the most risk, so every message goes through the same server-side checks before and after the model, and the server, not the browser, decides the prompt, the history and the limits.
01 Access
A student sends a message of up to 500 characters. It goes no further unless the teacher has switched AI on for the class, a parent allowed AI tools, and messages are left today (20 by default).02 Input check
The text is checked on the server first. Signs of self-harm get a caring reply with a helpline number; personal details or a blocked topic stop the message, and only a redacted copy is kept.03 Locked prompt
Claude gets a fixed, versioned system prompt built from a role, the student's standard and app language, never a name or school. Earlier turns are read from the database, not sent by the browser.04 Stream check
The reply is checked as it streams. The last 48 characters are held back, so a blocked phrase never shows half-written; on a match the call stops and a safe reply replaces the text.05 Log
Each turn is stored with any flag for the class teacher to read and deleted after 30 days. The same teacher turns the tool on or off and sets the daily limit.
The illustration lab goes through the same gate, and the SVG code Claude returns is read by the server's own strict parser, with no scripts, images or outside links, then cleaned again by DOMPurify before the student can edit it.
From consent to sign-in
A student account cannot be used until a parent consents, through a one-time link or a signed paper form, without having to sign in.
01 Class list
The teacher adds students by first name, one at a time or by pasting a list. Each account starts as waiting for consent, and its PIN is stored only as an argon2id hash.02 Link
The teacher emails a parent a one-time link, or prints a form with a QR code. The link is stored as a hash, lasts 30 days and works once.03 Parent
The parent chooses what to allow: the platform itself, the AI tools (offered from Std 8), showing work in the public gallery, and use on a personal device.04 Active
Saving the consent turns the account active and writes an audit entry. A teacher can record a signed paper form instead. Withdrawing consent puts the account back to waiting.05 Sign in
The student enters the school and class codes, taps their name and types a PIN: no email, phone or surname. Five wrong PINs lock the account for 10 minutes and alert the teacher.
The browser never talks to the database: every read and write goes through server code that checks who is asking, and every table has row-level security with no policies for its public roles, so a leaked public key reads nothing.
From curriculum row to classroom
The course itself is data: each session starts as one row in the curriculum file and ends up as the files a class uses, but nothing counts as published until a person has read it.
01 Row and command
The course lives in one data file: 138 rows for Std 6 to Std 10, each giving the standard, week, unit, title and class activity for one 70-minute session. A Claude Code command, /new-lesson std-6 week-12, reads that row and its neighbours, plans against the Week 11 reference lesson and reuses visuals from the existing library first.02 Files
Each session ends up with a lesson in English and Marathi, a five-question quiz in both, a teacher's plan in English and a printable worksheet in both languages.03 Check
A content check validates every file against its schema, checks visual ids, quiz answers and Marathi coverage, and compiles every MDX body, so a broken lesson fails before the build.04 Review
The command marks a session for review, not published. 137 sessions wait for review and one is still a draft; none is published, as each needs a teacher and a native Marathi speaker to read it.05 Classroom
The same files drive the student's lesson player, the teacher's projector Present mode and the worksheet PDF. The status is a label, so a teacher can still open any week.
How it was built
I built it by directing Claude Code agents from a written brief: product and technical specs, the curriculum file, a ten-milestone plan with a definition of done for each, and the lesson command in Fig. 03. The project's notes call it an autonomous build; in the later rounds Sonnet models drafted course content and Opus models built features, and every commit is co-authored by Claude. My part, as the repo records it, was that brief, the checks each milestone had to pass, and the choices its decision log marks as the owner's.
What this doesn't cover
- It has not launched, and no school uses it yet. All 138 sessions are drafted in English and Marathi, but none is published: each is waiting for a review by a teacher and by a native Marathi speaker, which matters all the more because agents drafted them. Nothing here describes students, pilots or learning outcomes.
- The AI tools have run only in a labelled sample mode and, in tests, against a stand-in model; real Claude calls have not been tried end to end. The checks for personal details and unsafe topics are patterns and word lists tuned for Mumbai, and have not been measured against real messages.
- The demo deployment runs outside India, which the project allows only for sample data. A school would need the Mumbai region first, and the privacy policy and terms are still drafts for a lawyer.
- The project is private, so nothing from it is shown here. Every figure on this page is a schematic drawing.