Curriculum for every grade all in one place

Free, research-backed curriculum in computer science, AI science, and data science, ready to teach. Find where your students belong and start from there.


150M+
Students reached
3M+
Teachers engaged
2B+
Hours of learning
190+
Countries with students engaged

One clear path

from any starting point

CodeAI curriculum is organized by grade band and broken into units, lessons, and activities, so you can teach a full semester or drop in a single lesson.

Course

A collection of units, taught in a variety of formats to fit your needs.

Unit

A topic-focused set of lessons spanning a week to a month, taught individually or as part of a course.

Lesson

A concentrated set of activities crafted to build understanding of a concept.

Activity

A single, concept-driven exercise, whether the main event or a quick filler.

Browse courses by grade band

AI Foundations

6 Units • Grades 9-12 Pathway

A free, flexible high school curriculum where students go from understanding how AI works to building web apps with AI as a creative partner.

Grades 9-12

Problem Solving with AI

Explore how AI generates content, identify issues like bias and hallucinations, and learn to debug and improve AI outputs for real-world use.

Topics: Artificial Intelligence
Grades 9-12

Foundations of AI Programming

Learn Python through hands-on projects and explore ethical computing topics like accessibility, bias, and inclusivity in software design.

Topics: Programming
Grades 9-12

AI and the Systems That Power It

Discover how computing systems operate, focusing on the interaction between hardware, software, and operating systems.

Topics: Physical Computing
Grades 9-12

The Fabric of the Internet and AI

Understand how the Internet works, including protocols like IP and DNS, and examine its impact on communication and society.

Topics: Internet
Grades 9-12

Cybersecurity and Global Impacts

Explore cybersecurity basics, from encryption and security risks to data privacy and the human factors behind digital breaches.

Topics: Data, Cybersecurity
Grades 9-12

Insights from Data and AI

Investigate how data is collected, visualized, and analyzed, while examining privacy and ethics in the age of big data.

Topics: Data

AI Discoveries

8 Units • Grades 6-8 Pathway

A free, flexible middle school course that puts digital fluency at the center so every student leaves knowing not just how to use AI, but how to think about it too.

Grades 6-12

AI and Machine Learning

Explore how computers learn from data to make decisions, then develop projects around real-world data and design an app to solve a personally relevant problem.

Topics: Artificial Intelligence, Data
Grades 6-12

Web Development

Students learn problem solving, creative expression, and teamwork as they work to create and share content on their very own web pages.

Topics: Programming, Web Design
Grades 6-12

Programming with Music Lab

Students use Music Lab to create interactive songs while building coding, problem-solving, and computational thinking skills.

Topics: Programming, Art and Design
Grades 6-10

Interactive Animations and Games

Engaging the same design process that computer scientists use, students learn programming concepts and develop images, animations, interactive art, and games.

Topics: Art and Design, Games and Animations, Programming
Grades 6-12

The Design Process

Through design challenges, a team project, and building an app prototype, this unit prompts students to consider the broader social impacts of computer science.

Topics: Art and Design, App Design
Grades 6-11

Data and Society

In this unit, students learn about the importance of using data to solve problems and understand how computers can help in this process.

Topics: Data
Grades 6-12

Creating Apps with Devices (Circuit Playground)

In this unit, students use App Lab and Adafruit's Circuit Playground to develop programs that use the same hardware inputs and outputs found in smart devices.

Topics: Physical Computing, Programming, App Design, Art and Design
Grades 6-12

Creating Apps with Devices (micro:bit)

In this unit, students use App Lab and the BBC micro:bit to develop programs that use the same hardware inputs and outputs found in smart devices.

Topics: Physical Computing, App Design, Art and Design, Programming

AP Computer Science A

4 Units • Grades 9-12 Pathway

An introduction to software engineering and object-oriented design where students learn the Java programming language in a free curriculum for AP® Computer Science A (AP® CSA).

Grades 9-12

Computer Science A: Objects First Sequence

This version of the CodeAI CSA curriculum follows an object-first sequence instead of the unit structure outlined in the AP Computer Science A Course and Exam Description (CED).

Topics: Art and Design, Games and Animations, Programming, Data
School YearExplore Unit
Grades 9-12

CSA Data Lab

Is this real life? Yes! Incorporate real-world data sets into hands-on programming assignments with this lab.

Topics: Data, Programming
Grades 9-12

AP CSA Consumer Review Lab

Practice for the big exam with this lab, which focuses on calling methods and building strings in an interesting and engaging way.

Topics: Data, Programming
Grades 9-12

CSA Magpie Lab

"Hey Siri, what's natural language processing?" The answer may be complicated, but this lab makes it easy to create a program that responds to your sentences.

Topics: Programming

Computer Science Principles

3 Units • Grades 9-12 Pathway

Free year-long curriculum that introduces students to the foundational concepts of computer science and challenges them to explore how computing and technology can impact the world.

Grades 9-12

Computer Science Principles

Free year-long curriculum that introduces students to the foundational concepts of computer science and challenges them to explore how computing and technology can impact the world.

Topics: Art and Design, Data, Programming, Games and Animations
School YearExplore Unit
Grades 9-12

Event-Driven Programming in App Lab

Go at your own pace with this introduction to the App Lab programming environment, in which students use JavaScript to create interactive apps.

Topics: App Design, Programming
Grades 9-12

Self-Paced Introduction to Turtle Programming in App Lab

Unlock the ability to make rich, interactive apps with JavaScript in the App Lab!

Topics: Programming

Computer Science Connections

11 Units • Grades 3-5 Pathway

Makes connections between learning computer science (CS) and other subjects like math, language arts, science, and social studies.

Grades 3-5

Coding Book Covers

Use code to create an interactive cover of a book, using sprites and text to convey characters, setting, and more.

Topics: App Design, Games and Animations, Art and Design, Programming
Grades 3-6

Coding Interactive Maps

Use coding to develop a map that tells a story, allowing you to explore geographic information in an engaging and interactive way.

Topics: App Design, Games and Animations, Art and Design, Programming
Grades 3-8

Coding a Geometric Star Quilt

Learn code to create geometric patterns in stunning star quilts, blending mathematical concepts with creative expression.

Topics: Art and Design, Programming
Grades 3-8

Coding a Time Capsule

Create a digital time capsule poem to capture a moment in time to share with the future.

Topics: Games and Animations, Art and Design, Programming
Grades 3-5

Coding with Music

Explore the world of programming through music. Using code to create music, students learn core programming concepts like sequencing, loops, functions, and events, while discovering how technology drives innovation in music and opens doors to careers.

Topics: Programming
Grades 3-8

Coding with Poetry

Explore the intersection of coding and language arts by creating interactive poems, illustrating the mood and tone with code.

Topics: Games and Animations, Art and Design, Programming
Grades 3-5

Counting Activity

Count, add, and loop your way through a maze as you collect treasures and master coding commands. Let's guide Laurel to glittering victory!

Topics: Programming
Grades 3-5

Spelling Activity

Learn sequencing and word magic with buzzing adventure! Guide the bee to spell like a pro with your own series of coding commands.

Topics: Programming
Grades 6-12

Data Activity

Learn more about how you can explore data in bar charts and histograms. Code, create, and decode data magic using App Lab. Let's visualize and conquer!

Topics: Data, Programming
Grades 3-8

Modeling Animal Adaptations

Use code to model animal adaptations, deepening your understanding of how different species have evolved to survive in their environments.

Topics: Programming
Grades 3-8

Simulating a Marine Ecosystem

Code a marine ecosystem simulation to discover the delicate balance of organisms' interdependencies, then explore sustainable solutions to human impact.

Topics: Programming

Computer Science Fundamentals

9 Units • Grades K-5 Pathway

Free set of elementary curricula that introduces students to the foundational concepts of computer science and challenges them to explore how computing and technology can impact the world.

Grades K-1

CS Fundamentals: Course A

In this course, students work with others, investigate problem-solving techniques, and learn to program using commands like loops and events.

Topics: Programming
Grades 1-2

CS Fundamentals: Course B

Students continue learning programming basics, as well as persistence and critical thinking. At the end of the course, students can create games in Play Lab!

Topics: Programming
Grades 2-3

CS Fundamentals: Course C

In this course, students create programs with sequencing, loops, and events. They also investigate problem-solving techniques and build interactive games.

Topics: Programming
Grades 3-4

CS Fundamentals: Course D

This course covers concepts like loops and events from earlier courses, before moving on to algorithms, conditionals, and more.

Topics: Programming
Grades 4-5

CS Fundamentals: Course E

Get to know the Sprite Lab programming environment in this course! By the end, students will use code to create a game or drawing.

Topics: Programming
Grades 5

CS Fundamentals: Course F

Decisions, decisions! This course teaches students about variables, as they're given greater autonomy and choices while creating an interactive project.

Topics: Programming
Grades K-5

CS Fundamentals Unplugged

Learn computer science without computers. Fun hands on activities that teach computational thinking.

Grades 3-8

CS Fundamentals: Express Course

Let your students learn computer science at their own pace! Learn to create computer programs, develop problem-solving skills, and work through fun challenges.

Topics: Programming
Grades K-3

CS Fundamentals: Pre-reader Express

Let your pre-reader students learn computer science at their own pace! Learn to create computer programs, solve problems, and work through fun challenges.

Topics: Programming

Computer Science Discoveries

6 Units • Grades 6-10 Pathway

An introductory course that empowers students to engage with AI and computer science as a medium for creativity, communication, problem solving, and fun.

Grades 6-12

Problem Solving and Computing

Framed within the broader pursuit of problem solving, this unit is an introduction to computer science featuring a series of puzzles, challenges, and more.

Topics: Data
Grades 6-12

Focus on Creativity (CS Discoveries)

What will you create? This unit empowers students to be creative as they make websites, animations, games, and apps for devices.

Topics: Web Design, Games and Animations, Programming, Art and Design, ...
School YearExplore Unit
Grades 6-12

Focus on Coding (CS Discoveries)

Are you ready to code? This unit empowers students to strengthen their programming skills in web development, app development, and more.

Topics: Physical Computing, Web Design, Games and Animations, Art and Design, ...
School YearExplore Unit
Grades 6-12

Focus on Design with Purpose (CS Discoveries)

In this unit, students are challenged to think about user needs when it comes to designing websites and apps.

Topics: App Design, Art and Design, Web Design
School YearExplore Unit
Grades 6-12

Focus on Data (CS Discoveries)

This unit empowers students to use data to solve problems by engaging with computer science as a medium for creativity, communication, problem-solving, and fun.

Topics: Artificial Intelligence, Data
SemesterExplore Unit
Grades 6-12

Focus on Impact in Society (CS Discoveries)

How does code impact the world around us? In this unit, students are challenged to consider the broader social impacts of various aspects of computer science.

Topics: Artificial Intelligence, App Design
SemesterExplore Unit

Don't know where to start?

Check out teacher resources.

Hour of AI

140+ activities • All grades

Mix & Move with AI

Students use movement to explore how AI recognizes patterns. A high-energy introduction that works for any grade. Ages 8–13.

AI for Oceans

Students train a machine learning model to help protect the ocean — a concrete, hands-on introduction to how AI actually learns. Ages 7–11.

Music Lab: Jam Session

Students use code to create music and explore how AI generates creative output. No instruments required. Ages 8–14.

Labs

Creative tools students want to use.

Labs are free, open-ended environments where students apply what they're learning by making something real: a game, a song, a visual, a story. Every lab integrates with CodeAI curriculum or works as a standalone tool.

Ages 13-18

Web Lab

Create web apps using HTML, CSS, and JavaScript with AI support.

Ages 13-18

Python Lab

Student-friendly IDE that runs real Python code.

Ages 13-18

App Lab

Create an app with Javascript

Ages 12-18

Game Lab

Build animations and games with Javascript

Why teachers trust CodeAI

Research-backed

Every CodeAI course is built on evidence of what works in K-12 computer science, AI science, and data science education.

Free

Every course, lesson, and activity. No subscription, no license fee, no request-a-quote.

Privacy-safe

Student data is never sold or used for advertising. CodeAI is COPPA and FERPA compliant, and has been from the start.

Standards-aligned

Mapped to CSTA K-12 CS standards and AI literacy frameworks nationwide.

Standards-aligned, wherever you teach.

CodeAI curriculum is mapped to CSTA K-12 CS standards and AI literacy frameworks. We track state-level alignment so you don't have to make the case from scratch.

Educator Support

Every course comes with PD built in

CodeAI professional development is designed around the curriculum you're teaching. Explore self-paced and facilitator-led options, whether you have an afternoon or a full week.