Premium Only Content

Implementing the CS50 Duck with OpenAI's APIs - Rongxin Liu & David J. Malan
A hands-on introduction to implementing your own AI-based chatbot using OpenAI’s APIs, maybe a duck or even a cat!
Source code at https://github.com/cs50/ai-workshop.
Slides at https://docs.google.com/presentation/....
Paper at https://cs.harvard.edu/malan/publicat....
In Summer 2023, we developed and integrated a suite of AI-based software tools into CS50 at Harvard University. These tools were initially available to approximately 70 summer students, then to thousands of students online, and finally to several hundred on campus during Fall 2023. Per the course's own policy, we encouraged students to use these course-specific tools and limited the use of commercial AI software such as ChatGPT, GitHub Copilot, and the new Bing. Our goal was to approximate a 1:1 teacher-to-student ratio through software, thereby equipping students with a pedagogically-minded subject-matter expert by their side at all times, designed to guide students toward solutions rather than offer them outright. The tools were received positively by students, who noted that they felt like they had "a personal tutor.'' Our findings suggest that integrating AI thoughtfully into educational settings enhances the learning experience by providing continuous, customized support and enabling human educators to address more complex pedagogical issues. In this paper, we detail how AI tools have augmented teaching and learning in CS50, specifically in explaining code snippets, improving code style, and accurately responding to curricular and administrative queries on the course's discussion forum. Additionally, we present our methodological approach, implementation details, and guidance for those considering using these tools or AI generally in education.
***
This is CS50, Harvard University's introduction to the intellectual enterprises of computer science and the art of programming.
***
-
42:00
CS50 Harvard
2 months agoOffice Hours with Professor Malan and Yuliia Zhukovets CS50 Office
161 -
1:26:16
JULIE GREEN MINISTRIES
2 hours agoLIVE WITH JULIE
34.9K99 -
LIVE
The Pete Santilli Show
1 hour agoOur Memorial & Prayer Vigil For Charlie Kirk - September 15, 2025
835 watching -
LIVE
Welcome to the Rebellion Podcast
21 hours agoWhere Do We Go From Here? - WTTR Podcast Live 9/15
427 watching -
LIVE
The Chris Salcedo Show
16 hours agoFALLOUT: Charlie Kirk's Assassination
707 watching -
LIVE
The Bubba Army
2 days agoCharlie Kirk's Shooter, Had a Trans BF? - Bubba the Love Sponge® Show | 9/15/25
2,257 watching -
30:31
DeVory Darkins
15 hours ago $5.56 earnedCNN forced to admit the shocking truth about shooter as Fetterman drops bomb on Democrats
13.2K71 -
20:54
Professor Nez
16 hours ago🚨BREAKING: Shooter’s Own Words in Charlie Kirk Case Revealed
5.05K5 -
16:48
itsSeanDaniel
16 hours agoGenius Republican Defends Charlie Kirk and CALLS OUT The Radical Left
3.54K2 -
9:09
Freedom Frontline
16 hours agoFox News Just Showed The Video Biden Never Wanted Seen
14.6K16