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.
Exercise 4.2.5 · Counting Up
for i in range(5):
    print(i)
Give me a hint I'm not sure where to start Why is the autograder failing?
◧ Selected code · main.py, line 1 Give me a hint
⌾ AI Student Hints
Good instinct — the clue is in the line you highlighted. Look at what range(5) counts through: which number does it start on, and which does it stop before?
2 of 3 hints left today
StudentsPro

Get unstuck with AI Student Hints

Every student hits a wall. Instead of stalling out — or opening a chatbot in another tab — students ask for a hint right inside the assignment. They tap a prompt like "Give me a hint" or "Why is the autograder failing?", highlight the line they're stuck on, and get pointed toward the next step.

Hints guide instead of solve: every response is checked so it won't hand over the answer. Students get a set number each day, you turn it on by section or by student, and you can read every conversation.

See AI Student Hints →
— 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 Teacher Hint · Reviewing Priya S.
for i in range(5):
    forward(100)
    left(90)
⌾ AI Teacher Hint · draft
Close! Your loop runs one extra time, so the turtle draws 5 sides instead of 4. Take another look at your range.
Nudge · Identify the problem · Offer a solution
TeachersPro

AI Teacher Hints — coach students without giving the answer

The other half of AI Hints: instead of the student asking, you generate one. While you review a submission, get a hint written from that student's actual code and the test cases it failed. Pick how much it reveals — a general nudge, the problem itself, or the problem plus a solution.

Nothing sends on generation. Edit the draft, delete it, or send it along with your feedback — and every hint you've generated stays in your Teacher Hints Log, by section.

Compare with AI Student Hints →
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 Teacher Hints and grade suggestions on or off, turn on AI Student Hints or 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 Teacher Hints, AI Student Hints, and grade suggestions on or off in your AI settings.
How each kind of hint worksAI Teacher Hints: you generate one on a submission, set how much it reveals, and choose whether to send it. AI Student Hints: students request their own, capped per day, with every conversation open to you.
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-section and per-student control for AI Student Hints and 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 turns on by itself
Vibe Coding and AI Student Hints stay off until you enable them. AI Teacher Hints and grade suggestions are yours to review before they reach a student, and student hint conversations are logged for you to read.

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