About AI Tutor
Code.org’s AI Tutor is an interactive, generative AI-powered learning assistant designed to help students 13+ think critically, debug code, and deepen their understanding of computer science concepts while working on projects in Code.org’s curriculum.
The AI Tutor is built with safety, learning science, and responsible use at its core. It’s powered by the Gemini Flash 2.5 model and Open AI ChatGPT 4o Mini. It is designed to use Socratic methods—asking guiding questions rather than giving away answers—to encourage active learning and problem-solving. The AI Tutor is tuned on each level for the type of task, offering the right level of support to scaffold learning effectively.
In Web Lab, the AI Tutor has expanded capabilities: in addition to asking guiding questions and helping students debug, it can also generate code directly when that best supports the learning goals of the activity. This allows students to get hands-on with working code, explore how it functions, and build on it—turning AI-generated output into a springboard for deeper learning.
Access & Permissions
Who can use AI Tutor?
The AI Tutor is available in select Code.org curriculum levels where AI guidance is enabled.
- Students can interact with the AI Tutor directly within supported levels as part of their learning experience.
- Teachers can preview the AI Tutor experience and monitor how students are using it.
Note: If a student or teacher doesn’t have access in their section or curriculum, they may see a message indicating that AI Tutor isn’t available on that level yet.
Note: AI Tutor requires students be 13+ to use.
Privacy & Security
How does AI Tutor handle data privacy and security?
Code.org prioritizes the privacy and safety of all users. We do not share or sell student data to third parties. All interactions with the AI Tutor are stored securely and automatically deleted after 90 days.
For more information, visit our Artificial Intelligence Privacy Policy.
Does AI Tutor use student data to train models?
No. The AI Tutor does not use student interactions to train third-party models.
Safety & Content Moderation
What safeguards are built into AI Tutor?
AI Tutor includes multiple layers of protection to ensure student safety and classroom appropriateness:
- Safety moderation layer: Every student message and AI response is reviewed through a safety system that filters out inappropriate content before it is sent to the model or appears for the student.
- Teacher visibility: Teachers can view student interactions to monitor engagement and ensure the tool is being used responsibly.
While the AI Tutor is designed to be a safe and supportive learning companion, generative AI can sometimes make mistakes or produce unexpected answers. We encourage teachers and students to treat these moments as learning opportunities and to share feedback so we can continue improving the experience.
What should I do if AI Tutor gives incorrect or confusing responses?
AI models can occasionally make factual or logical mistakes. When this happens, try these steps:
- Encourage students to reflect and verify the AI’s response rather than copy it directly.
- Use the moment to discuss how AI generates answers and how to identify and fix errors.
- Share any concerning or confusing behavior by contacting us at artificialintelligence@code.org.
Support & Feedback
How do I provide feedback or report issues with AI Tutor?
We’re constantly improving AI Tutor and welcome feedback from teachers and students.
You can:
- Direct feedback: Use the teacher view to provide feedback on inappropriate/appropriate chats
- Email us at artificialintelligence@code.org to report bugs or safety concerns.
- Contact support at support@code.org for technical issues.
Your input helps us make AI Tutor even better for future learners.
Technical Details
What technology powers AI Tutor?
The AI Tutor uses the Gemini Flash 2.5 model to generate its responses. A dedicated safety layer using the Open AI ChatGPT 4o Mini model moderates both incoming and outgoing messages to maintain a safe classroom environment.
How does AI Tutor support learning?
AI Tutor is designed using Socratic principles—it guides students by asking questions, encouraging exploration, and prompting reflection instead of simply giving answers. This approach helps students strengthen their problem-solving skills and build confidence as independent learners.
In Web Lab, the AI Tutor has expanded capabilities: in addition to asking guiding questions and helping students debug, it can also generate code directly when that best supports the learning goals of the activity. This allows students to get hands-on with working code, explore how it functions, and build on it.
What languages is AI Tutor available in?
AI Tutor is currently available only in English.
Need Help?
- Technical issues: support@code.org
- Safety concerns or AI behavior feedback: artificialintelligence@code.org
- Privacy details: See Code.org’s Artificial Intelligence Privacy Policy.