Coding with AI
The Coding with AI unit teaches strategies for using AI to simplify complex concepts, guide problem-solving, and even generate code, empowering students to become informed and ethical future coders.

Empower students to become confident, ethical coders
Teach students how AI can become an effective support tool with this versatile, language-neutral unit.
Language agnostic
Tailored for universal relevance, this unit goes beyond specific programming languages, focusing on foundational AI and coding principles and challenges.
Flexible course structure
Beyond the introductory lesson, this unit is designed to be flexible. You can teach each lesson on it's own or in the order that suits your classroom learning goals.
AI as a support tool
This unit is an ideal add-on to any language-specific instruction, helping you teach how AI can be used as a support tool and equip students with future-ready skills.
Curriculum at a glance
Grades: 6, 7, 8, 9, 10, 11, 12
Level: Beginner
Duration: Week
Devices: Computer, Chromebook
Topics: Artificial Intelligence, Programming
Professional Learning: Computer, Chromebook
Accessibility: Text to Speech, Closed captioning, Immersive reader
Languages supported: English
Explore the complete course

Grades 6-12
Coding with AI
The Coding with AI unit teaches strategies for using AI to simplify complex concepts, guide problem-solving, and even generate code, empowering students to become informed and ethical future coders.
Lessons in this course
With the exception of lesson 1, the lessons in this course are flexible and can be taught in any order!
Preparing to teach Coding with AI

6-12 Teachers
Teaching Coding with AI
This professional learning module prepares teachers to guide students through Code.org's Coding with AI unit, where students leverage Large Language Models to write more powerful code while exploring ethical considerations and responsible AI use.
Frequently asked questions
What programming language is the module for?
None! This module is intentionally designed to be language-agnostic so you can incorporate these lessons into your existing curriculum.
What are the prerequisites for this module?
There are no required prerequisites, but you may choose to teach one or more of the How AI Works lessons before these to provide additional context about chatbots and large language models, algorithmic bias, and ethical considerations of AI.
What tools and setup are required for teaching this module?
Students need to have their own devices to type on. They also need access to Bing, Bard, ChatGPT, or some other general chatbot on their computers. Check with your principal or IT department to make sure students can access one of these LLMs (Large Language Models).
What is the recommended timing for teaching this module?
Due to the flexibility of these lessons, you could choose to teach these lessons in any order, in sequence, spread out over multiple weeks, or back-to-back within one week.
How can I access answer keys?
With an approved teacher account, you can find answer keys in a blue "Teacher Only" panel that shows in the online lessons and activities. If you need an approved teacher account, you can apply for access to protected teacher-only materials (answer keys, etc) through this form. Please keep in mind that it may take 3-5 business days to verify your account.
Is this module mapped to standards?
Yes, the Coding with AI curriculum is mapped to the CSTA K-12 Standards and the AI for K-12 Guidelines.
Stay informed on AI at Code.org
Keep up with Code.org's innovative AI tools and updates. Subscribe to our newsletter for the latest insights and developments.
You can unsubscribe at any time.
Additional resources
Paragraph
Curriculum Catalog

Comprehensive curriculum offerings for every grade and experience level featuring robust structured and self-paced learning options.
Artificial Intelligence (AI)

Explore how AI is shaping our world through free curriculum, videos, and integrations that make artificial intelligence accessible and inspiring.
Professional Learning

Flexible, high-quality training that helps build confidence and equips teachers to effectively teach computer science with our curriculum.