This is such a realistic balance between completely banning coding agents and embracing the spirit of higher education
I agree. Learning to code from scratch today would be difficult to say the least. The scar tissue accrued from debugging a compilable typo, a misplaced comma or parenthesis teaches something that's hard to recreate - but replacing it with durable learning that won't age-out is a definite win.
AI Agent Guidelines for CS336 at Stanford
101–110 of 176 posts
Re: AI Agent Guidelines for CS336 at Stanford
#102Earlier quoted context omitted.
Same issue as with cliffnotes. Easy way out means the easy way will be taken. Unless, you actually design a decent assignment or exam. In person essays or exams, heavily weighted, you are simply screwed if you didn't study the old fashioned way. A couple of my more serious classes were like this: no homework, no projects, entire grade based on 3 exams. That put the fear of whatever diety you subscribe to into you lik…
The insidious thing here is that students can think they're studying and practicing by chatting with an AI "tutor", which shifts them into a passive observation role that's no better than watching YouTube videos. It turns out that it's much less memorable if you're too "clear and helpful", so nothing helpful sticks for students. A good teacher (tutor, educator, pick a word) challenges students and makes them the righ…
Re: AI Agent Guidelines for CS336 at Stanford
#103Re: AI Agent Guidelines for CS336 at Stanford
#104I'm trying something similar this semester with my course via AGENTS.md. I think this one is overly verbose and probably falls out of context windows pretty quickly, based on my experience (for me, a very terse but clear set of 30 lines performed better than providing examples and more nuanced explanations during my testing with a few models). I have included the basic "I am a student -- help me learn, don't just do…
I wish you good luck! And add that I'd be interested to hear how you get on. I intend to adopt a similar approach with my classes in September. The . history folder is a great idea. How do you intend to assess your students?
I'm hoping they learn to use it as a tool instead of trying to offload all cognition to it.
This is a CS course targeted at non-majors, so thankfully the "fundamentals" aren't as critical as the overall themes and general skills.
Re: AI Agent Guidelines for CS336 at Stanford
#105I'm trying something similar this semester with my course via AGENTS.md. I think this one is overly verbose and probably falls out of context windows pretty quickly, based on my experience (for me, a very terse but clear set of 30 lines performed better than providing examples and more nuanced explanations during my testing with a few models). I have included the basic "I am a student -- help me learn, don't just do…
As a general rule with LLMs, don't just tell it to do something if you actually need to make sure it gets done. Use a hook script to make it do that, or use the history that's already there (transcripts of all sessions are retained in ~/.claude, for example). There are innumerable scripts out there to parse these, or your agent will whip one up for you in 5 minutes.
However, I see from other comments on this post that I may need to include a CLAUDE.md as a copy (and could maybe just leave the .history part out of that version?).
Re: AI Agent Guidelines for CS336 at Stanford
#106Re: AI Agent Guidelines for CS336 at Stanford
#107This is interesting. I don't know how the AI agent guidelines will be enforced because there will always be a model outside the curriculum that a student can use to bypass the guidelines. Encouraging academic integrity is useful but requires the student to buy into the idea that they are paying for an education, not a diploma. This is a tough problem and I have been wondering how CS departments are incorporating AI i…
Stanford has an honour code. Meant no oversight even during exams. Worked surprisingly well when I was there. The flipside is, if you’re ever caught cheating, there are no second chances. I imagine this applies here, too, if they want to enforce it strictly.
>Cheating has become omnipresent. I don’t know a single person who hasn’t used A.I. to get through some assignment in college, yet the school was at first slow to realize how widespread this would become. As freshman year went on, some professors suggested that the “nuclear option” might be called for: allowing faculty to proctor in-person exams, a practice banned at the university for over a century to demonstrate “confidence in the honor” of students.
snip
>In junior year, 49 percent of the 849 computer science majors who responded to an annual campus survey said they would rather cheat on an exam than fail.
https://www.nytimes.com/2026/05/17/opinion/chatgpt-ai-colleg...
Re: AI Agent Guidelines for CS336 at Stanford
#108I think these are based on the one I posted a while back: https://gist.github.com/1cg/a6c6f2276a1fe5ee172282580a44a7ac
Yes absolutely! We linked your version inside the extended AI policy document, but forgot to add it to our website cs336.stanford.edu
please let me know if you make improvements, I'd love to iterate on it
Re: AI Agent Guidelines for CS336 at Stanford
#109Earlier quoted context omitted.
Stanford has an honour code. Meant no oversight even during exams. Worked surprisingly well when I was there. The flipside is, if you’re ever caught cheating, there are no second chances. I imagine this applies here, too, if they want to enforce it strictly.
Marc Tessier-Lavigne was Stanford's president from 2016 to 2023. Not sure if the honor code means anything nowadays.
Re: AI Agent Guidelines for CS336 at Stanford
#110I am really baffled by the comments in the spirit of "this is unenforceable, and therefore worthless". I bet most people would not steal even if they knew they could get away with it.
>In our tech-enabled, newly A.I.-powered world, students were increasingly fudging just about everything. They would embezzle dorm funds to spend on their friends and lie about having Covid to get the UberEats credits that the school offered to those in quarantine. Some kids I knew published a paper that claimed a groundbreaking new A.I. advancement. Online sleuths quickly pointed out that it appeared to be just a stolen Chinese model, to which the two Stanford co-authors responded by blaming the plagiarism on the third author.
>In junior year, 49 percent of the 849 computer science majors who responded to an annual campus survey said they would rather cheat on an exam than fail. A friend of mine captured the school’s ethos while we were discussing the tech hardware and other items our student club neglected to return to corporate sponsors. It was all, I recall her saying, “just a little bit of fraud.”
https://www.nytimes.com/2026/05/17/opinion/chatgpt-ai-colleg...