Idea · Jul 17, 2026

Browser-Native Socratic Tutor

Students build a fully in-browser CS tutor powered by a quantized small LLM via WebLLM, with Socratic questioning mode, adaptive hint depth, and a private local conversation history stored in IndexedDB.

What it would do

This multi-week assignment teaches students the emerging skill set of browser-native AI: loading a quantized small model (Phi-3-mini or Qwen2.5-1.5B) via WebLLM with WebGPU acceleration, managing a local conversation history in IndexedDB with no server calls, and implementing Socratic tutoring logic that progressively reveals hints only after failed attempts. The assignment has three graded phases: (1) get a model running in the browser and producing coherent responses; (2) add a Socratic mode that asks one probing question before giving any direct answer, with a configurable minimum-attempts threshold; (3) build a session dashboard showing which programming concepts the student visited and how hint depth evolved over the session. No API keys, no server, and no data leaving the device: privacy is a first-class feature and part of the grading rubric.

Key features

  • Full in-browser LLM inference via WebLLM and WebGPU, no API key required
  • Socratic mode that delays direct answers with a configurable probing-question phase
  • Adaptive hint depth that increases specificity after each consecutive failed attempt
  • Local session dashboard with concept-visit history stored entirely in IndexedDB

More in AI Literacy & Ethics

GenAI Social Thermometer

Students anonymously log which help source they used for each assignment (peer, TA, AI, textbook, self). Instructors see a real-time dashboard of class-level help-seeking trends, including whether peer collaboration is declining as AI use rises.

AI Literacy & EthicsTeaching toolMediumJul 19, 2026

Agent Memory Architecture Studio

Students implement and benchmark three AI agent memory architectures (sliding buffer, vector store, knowledge graph) for a shared CS-tutor domain, then present a comparative analysis of recall, cost, and long-horizon reasoning trade-offs.

AI Literacy & EthicsClass assignmentLargeJul 18, 2026

Comparative LLM Explanation Bench

An instructor dashboard that sends a CS concept question to multiple LLMs simultaneously, displays responses side-by-side with an auto-scored rubric, and exports comparison reports for classroom AI literacy discussions.

AI Literacy & EthicsTeaching toolMediumJul 14, 2026

LLM Negotiation Arena

Students build LLM-powered negotiation agents with defined roles and goals (job offer, lease renewal, software license), which compete in structured conversational tournaments with a referee agent tracking offers and outcomes. Teaches prompt engineering, agent design, and game-theoretic thinking.

AI Literacy & EthicsClass assignmentLargeJul 12, 2026

All 110 ideas in AI Literacy & Ethics →