An AI assistant you actually control

A configurable AI assistant embedded in the environment where students already write and run code. A virtual TA that asks guiding questions or a full coding assistant. You decide per assignment, and you can read every conversation.

CodeGrade's configurable AI assistant helping a student, with guardrails on.CodeGrade's environment on an AI and machine learning assignment, with the AI assistant available.

1. From virtual TA to coding assistant, you decide

CodeGrade's AI assistant lives inside the environment where students write and run their code. Students ask it questions while they work, and it responds based on rules you set. The same model, the same assignment, wildly different outcomes depending on how you configure it.

Want a virtual TA that never writes code, only asks guiding questions? Write that into the system prompt. Want a coding assistant that helps debug and explains errors? Configure it that way instead. You set the rules per assignment, so the AI fits your teaching goals.

  • Configure the assistant per assignment via a system prompt
  • Three assistant types: Learning, Feedback, and Coding
  • Range from "never write code" to full coding help, your call
CodeGrade's AI assistant asking guiding questions instead of writing the solution.
Configuring CodeGrade's AI assistant: assistant type, guardrail level, and system prompt per assignment.

2. Content guardrails and full visibility into every conversation

Content guardrails add a safety layer on top of your system prompt. Three levels: Standard Safety blocks harmful content. Privacy Protected also masks student PII. Exclusive Educational also blocks off-topic discussions, prevents prompt injection, and stops jailbreak attempts.

Every student-AI conversation is visible in the Assistant Chat tab. You can see exactly what the AI told your students, whether it followed your rules, and where students got stuck. Ban AI and students use it where you cannot see it. Give them a sanctioned assistant with rules you set, and the help-seeking stays inside your course, visible.

  • Three guardrail levels: Standard Safety, Privacy Protected, Exclusive Educational
  • All conversations visible to instructors in the Assistant Chat tab
  • Guardrails work on top of your system prompt, not instead of it

3. The assistant reads the student's actual code

The AI assistant has full file context. It reads all files in the editor: Python, Java, JavaScript, Jupyter notebooks, quiz questions, everything. When a student asks "why isn't my code working?", the assistant sees their actual code and gives a relevant answer, not a generic one.

This means the AI can reference specific lines, explain errors in context, and guide students through their actual assignment, not a textbook example.

  • Full file context: reads .py, .js, .java, .ipynb, and all other files in the editor
  • Answers are grounded in the student's actual code, not generic advice
  • Part of the AI add-on; your first course includes it free
Instructor reading a student's AI assistant conversation in CodeGrade.

Give every student feedback that actually helps.

Inline comments, peer code feedback, and an AI assistant that works on your terms. All in one place.

Discover how institutions use CodeGrade to improve their coding courses

Jamie Andrews

Director of Graduate Programs

I can see the student submissions and slowly watch their scores creep up, which is incredibly rewarding!

Patrick Totzke

Full Professor

I have many students expressing how amazing it is to use CodeGrade for their submissions!

Carey Baldwin

Lecturer at the University of Massachusetts, Amherst in the Isenberg School of Management.

"I really appreciate the partnership that I have with CodeGrade, they help solve every problem!"

Frequently Asked Questions

More features

Speech bubble with a gear, representing AI prompting in programming tasks.
Turn AI into a graded learning outcome
Students write prompts. An LLM generates code. Your autograder tests it. All automatic.
> Learn more
Computer screen with code, symbolizing Integrated Development Environment for programming.
The Integrated Learning Environment: the IDE built for learning
One place inside Canvas, Blackboard, Moodle, or Brightspace where students write and run real code, get instant feedback, and use AI on your terms. And where you see all of it.
> Learn more
Circular gear with a checkmark, representing automated code grading.
The most powerful autograder
Grade code automatically across 175+ languages, with feedback that lands while students are still coding. Free for up to 50 students, forever.
> Learn more

Get started today and unlock the power of CodeGrade.