AI Briefing
KO

AI Agent Guidelines for Stanford CS336

·2026.06.02 15:33

Key point

Stanford's CS336 course has established guidelines requiring AI coding tools to serve as teaching aids rather than simple solution generators.

Details

Stanford University's CS336 course aims to have students learn by directly implementing code using Python and PyTorch. Accordingly, AI coding assistance tools such as ChatGPT, Claude Code, and GitHub Copilot must fulfill the following roles so as not to undermine the student's learning experience.

Role of the AI Agent: Teaching Aid AI should focus on providing explanations, guidance, and feedback so that students can build their own understanding.

Permitted Assistance

  • Pointing students in the right direction for conceptual understanding and directing them to relevant lecture materials/official documentation
  • Suggesting edge cases, invariants, and debugging checks for code the student has written
  • Explaining error messages from tools such as Python, PyTorch, CUDA, Triton
  • Providing high-level explanations of algorithms and suggesting testing (sanity check) methods

Prohibited Assistance

  • Directly writing Python code or pseudocode
  • Completing TODO sections in assignment code and providing direct solutions to problems
  • Modifying code in a student's repository or executing bash commands
  • Implementing core components (Transformer block, Optimizer, Training loop, etc.) on the student's behalf

In conclusion, the principle is that AI should suggest next steps rather than implementing them, and encourage students to check tests and invariants rather than giving answers, so that students can solve problems and learn on their own.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.