Please enable JavaScript to use CodeHS

AI at CodeHS

The most complete AI toolkit in CS education

Five tools. One platform. Use what works for your classroom.

Explore tools Upgrade to Pro
— For students

What students can do with CodeHS AI

StudentsPro

Build real things with Vibe Coding

Students describe what they want. They build it. A personal portfolio, a game, an app idea they've had for years. Vibe Coding pairs students with AI so they can create projects that feel legit, not just textbook exercises.

The full Vibe Coding course teaches students to prompt, iterate, evaluate, and ship — skills employers are actually asking for.

Explore Vibe Coding →
Vibe Code · HTML Sandbox
Make my page space-themed with a starry background and a rocket button
<body class="starfield">
  <h1>Mission: Learn to Code</h1>
  <button>Launch</button>
</body>
Wait — what does class="starfield" actually do?
AI · Vibe Code
Good question! It connects your <body> to the CSS rule that draws the stars. Try renaming it in both places and watch what happens.
Code Editor · square_drawer.py
for i in range(5):
    forward(100)
    left(90)
⌾ AI hint
Close! Your loop runs one extra time, so the turtle draws 5 sides instead of 4. Take another look at your range — but don't change anything else, the rest is solid.
StudentsPro

Get unstuck with AI Hints

Every student hits a wall. While you review a student's code, generate an AI hint tuned to their actual work — from a gentle nudge to pinpointing the problem — without giving away the answer.

You pick how much the hint reveals, edit the draft however you like, and decide whether to send it. Students get unstuck; you stay in control. Available only when you turn it on.

— For teachers

What teachers get

TeachersPro

Ask AI — your built-in CodeHS assistant

Teachers spend a lot of time on things that aren't teaching. Looking up which course fits which grade, checking who hasn't submitted, finding that one assignment from last semester. Ask AI handles all of it.

Ask in plain language. Get a real answer.

"What courses align to my state's standards for 10th grade?"
"Which students are falling behind in section 3?"
"Assign this module to my AP class with a due date of Friday"

Student data insights are opt-in only. You choose what Ask AI can see.

Ask AI · Teacher Dashboard
Create a 9-week pacing guide Which course fits 8th grade? Summarize quiz 3
What courses align to my state's standards for 10th grade?
Ask AI
Three courses cover your 10th grade standards: Computer Science Principles hits all 24, Intro to Programming covers 21. Want the full alignment breakdown?
AI Creator · New Activity
What do you need?
Practice on while loops — my class is obsessed with soccer
Format
Notes Quiz Practice problems Parsons Worked example
Penalty Shootout Simulator — 4 practice problems, starter code included
✓ Standards-aligned · Editable · Ready to assign
TeachersProAdd-on

AI Creator — custom assignments in under a minute

Type what you need. Choose the format. Get a ready-to-assign activity back instantly.

Notes, quizzes, practice problems, Parsons problems, worked examples — align them to your standards when you need to, all editable before you assign.

See AI Creator →
TeachersPro

AI Grading — real feedback at scale

Open-ended questions and code submissions take forever to grade. AI Grading generates feedback on student work so you can review, refine, and approve instead of starting from scratch every time.

Consistent feedback across every student
You review and approve before anything goes out
Works on code and written responses
See AI Grading →
AI Fast Grade · Period 3
Maya R. — Fun GraphicsGreat use of loops! Consider naming variables more clearly. 10/10
Devon K. — Fun GraphicsWorks! One circle is drawn off-canvas — check line 14. 9/10
Priya S. — Fun GraphicsCreative solution using functions — nice job. 10/10
AI Hint · Reviewing Priya S.
for i in range(5):
    forward(100)
    left(90)
⌾ AI hint · draft
Close! Your loop runs one extra time, so the turtle draws 5 sides instead of 4. Take another look at your range.
Edit before sending · Send to Priya
TeachersPro

AI Hints — coach students without giving the answer

While you review a student's submission, generate an AI hint tuned to their actual code. Pick how much it reveals — a nudge, the problem, or a fix.

Edit the draft however you like, then decide whether to send it. Every hint is yours to approve before it reaches a student.

TeachersPro

Build classroom tools with Vibe Coding

Vibe Coding isn't just for students. Describe the tool you want — a method-signature simulator, a sorting-algorithm visualizer, a quick concept demo — and build a custom, interactive tool for your class in minutes.

No setup and no separate app. Your simulations run right inside CodeHS.

Explore Vibe Coding →
Vibe Code · Method Signature Simulator
Make a simulator where students pick a return type and parameters and watch the Java method signature update live
public int calculateScore(int points, int bonus)
AI · Vibe Code
Built it — students toggle the return type and add parameters, and the signature rebuilds instantly. Want a "call it" example too?
— Configuration

Set it up the way you want

You're in control from your AI settings. Switch AI Hints and grade suggestions on or off, turn on Vibe Coding for the students in one class and not another, and choose — submission by submission — whether to send a hint or accept a suggested grade.

Some teachers run everything. Some run one tool. The platform works either way.

Student data is never shared externally, and Ask AI only sees student data if you opt in. You're never locked into anything.

What you control
Which AI features you useTurn AI Hints and grade suggestions on or off in your AI settings.
How AI Hints workWhen they're on, you generate a hint on a student's submission, set how much it reveals, and choose whether to send it.
What Ask AI can seeStudent data insights are off until you opt in, and you can revoke access any time.
Organization-level accessAI tools can be enabled or turned off for your whole organization.
— For schools & districts

Built for schools, not just classrooms

CodeHS AI is designed to work inside real school policies — including ones that are skeptical of AI.

Granular controls
Controls at the teacher level, with per-student control for Vibe Coding — you decide who uses what.
Student data stays private
Always. Never sold, never shared with third parties.
FERPA-compliant
Built for schools first, with the privacy obligations that come with that.
Nothing reaches students on its own
Vibe Coding stays off until you enable it, and every hint or grade suggestion is teacher-reviewed before a student sees it.

AI in the classroom is a big decision. We built these tools so you can make that decision on your own terms, for your own students, one step at a time.

— Start where you are

You don't have to use everything

Pick the tool that solves your most pressing problem and go from there.

Book a demo