Idea · Jul 18, 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.

What it would do

Memory is the unsolved problem of AI agents in 2026, yet most intro AI courses treat it as an afterthought. This multi-week classroom assignment gives students hands-on experience with the three dominant memory architectures by having them build a minimal CS-tutoring agent three times, once with each architecture. The shared test domain (a student asking questions about sorting algorithms across multiple sessions) makes performance differences concrete and comparable. Students use the Claude API for the agent's reasoning layer, Supabase for the vector store and knowledge graph storage, and a provided React dashboard to visualize what each architecture stores and retrieves for a given query. A benchmark harness runs five standardized tasks (recent recall, cross-session synthesis, contradiction detection, cost per query, latency) and produces a comparison table. Students submit a 4-6 page comparative analysis connecting empirical results to architectural choices. The assignment teaches agent design, database fundamentals, and empirical evaluation in a single coherent project.

Key features

  • Three starter templates: sliding context buffer, vector-store RAG, and graph-based memory (using Supabase pgvector and pg_graphql)
  • Shared CS-tutor benchmark domain with five standardized evaluation tasks
  • React dashboard that visualizes stored memories and retrieval decisions in real time
  • Benchmark harness that produces a comparison table of recall, cost, latency, and contradiction handling
  • Guided analysis template connecting measurements to architectural trade-offs

More in AI Literacy & Ethics

Socratic Agent Trio

A multi-week assignment where students design and build a three-agent chatbot system — an Explainer, a Devil's Advocate, and a Synthesizer — then run a peer user study measuring whether their trio improves quiz scores on a target CS concept.

AI Literacy & EthicsClass assignmentLargeJul 31, 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.

AI Literacy & EthicsClass assignmentLargeJul 17, 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 →