Education · From building AI Ninjas

How to teach AI in middle and high school without hiring a machine learning engineer

Some schools do not have a machine-learning specialist on staff. Our work on the AI Ninjas curriculum has shown us how clear lessons, mentor guides and teacher training can help a subject teacher lead an introductory AI course. Here are the design choices behind it.

Students working on laptops in a classroom
Illustrative photo, not one of the classrooms we work with.

1. Decide what “teaching AI” means at your school

There are two very different courses hiding under the same name:

  • AI use: how to prompt a chatbot, when not to trust it, and the school’s rules on using it for homework. Every student needs this, and it fits in a few lessons.
  • AI understanding: how a model actually learns from data, why it is sometimes confidently wrong, and how to build one. This is a subject, and it takes years, like any other.

These goals need different lessons. To understand how models learn, students need opportunities to build and examine one.

2. Make every unit end in something that runs

Students remember what they build. We structure the path so each stage produces working code:

A five-year sequence, roughly two modules per school year.
YearFocusStudent builds
1Data as numbers, first Python, first predictionFirst working AI programs
2Finding patterns automaticallyA first predictive model
3Which inputs matter; layers and weightsA two-layer neural network
4Optimization; error down, accuracy upA three-layer network with backpropagation
5Production practiceA model in Keras and TensorFlow

Introduce the mathematics alongside the related activity, such as vectors when students work with images and gradients when they train a model.

3. Put the expertise in the materials, not the teacher

This is the decision that makes the rest possible. Two things carry it:

  • Lessons that explain themselves. Every concept is taught in the student-facing material, in short lessons of two to seven minutes. The teacher leads the room; they do not lecture from scratch.
  • A mentor guide for every session. With the answers, the misconceptions students commonly hold, and the points where a class usually gets stuck. Planning is done before term starts.

Our teacher support includes a 45-minute introductory session, program onboarding before the first class and optional co-teaching. Teachers practice helping students work through problems without simply giving them the answer.

4. Fit the schedule you already have

Short lessons and about two modules a year can fit into computing, math or STEM electives, or an after-school club. U.S. schools often start around Grade 8; schools elsewhere may start earlier. Leave additional time for the final project.

5. Assess with evidence you can show

Department heads, parents and inspectors all ask the same question: what can the students actually do? Build the answer in from the start:

  • A short diagnostic at the start, so progress is measured from a baseline.
  • A mastery check at the end of every module, with concept questions and a small piece of working code.
  • A project graded against a published rubric at the end of every level.
  • Credentials that verify, so a certificate means the work was done, not that the videos were watched.

6. Ask hard questions about student data

Any platform your students use for AI will hold their names and their work. Before you sign, ask the vendor:

  • Will you sign a data processing agreement with the school as the controller?
  • What exactly do you collect? (The answer should be short: name, school email, grade, class, progress.)
  • Is any student data used for advertising or to train AI models?
  • Are leaderboards optional, and off by default for students under 13?
  • How do parents see their child’s record and request deletion, and how fast do you act?
  • What happens to the data when we leave?

U.S. schools and education service providers have responsibilities under student-privacy laws, including FERPA and COPPA, that depend on the context. Request written answers to these questions and have the appropriate school staff review them before selecting a vendor.

7. Pilot small, then decide

Run the course with one class and one teacher for a semester. Review student work, assessment results and the teacher’s feedback before deciding whether to expand the program.