An AI assistant you actually control

A configurable AI chatbot embedded in the code editor. Set it up as a virtual TA that asks guiding questions, or a full coding assistant. You decide per assignment.

Student seeking help from CodeGrade's AI assistant within the Python editor for a Fibonacci sequence problem.CodeGrade AI assistant providing a clear explanation of a 'while loop' with a code structure example.

1. From virtual TA to coding assistant, you decide

CodeGrade's AI assistant lives inside the code editor. 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 AI Assistant in the online editor, explaining programming concepts like recursion to a student.
Configuring CodeGrade's AI assistant with content guardrails, model selection, and a custom system prompt for a Python course.

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.

  • 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
  • Free for courses up to 50 students. No trial, no expiration.
Instructor reviewing a student's AI assistant chat conversation about debugging code in CodeGrade.

Bring AI into the classroom in a nuanced and responsible way with CG-AI.

Keep your students prepared for new demands in the industry with AI guidance and exercises to boost computational thinking.

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!"

Get started today and unlock the power of CodeGrade.