Idea · Sep 1, 2026

Belief Propagation Lab

Students build a multi-agent social network simulation where LLM-powered agents with belief states interact, post claims, and spread information. Students implement and compare moderation strategies and visualize belief propagation to learn multi-agent design, graph algorithms, and AI ethics simultaneously.

What it would do

In this three to four week project, student teams implement a simulated social network where each node is an LLM-powered agent with a belief state: a set of facts it holds as true, a set it holds as partially uncertain, and a set it has not yet encountered. Agents interact asynchronously, post claims to a shared feed, and update their belief states based on the perceived credibility of the source and the plausibility of the claim relative to what they already believe. Students implement and compare at least two moderation strategies: algorithmic flagging (flag claims that contradict a ground-truth fact set), reach throttling (reduce the spread velocity of flagged content), and counter-messaging (have a fact-checking agent post corrections). A D3.js graph visualization shows belief states propagating across the network in real time. The final reflection asks students to analyze which moderation strategy was most effective at containing a seeded misconception without suppressing true claims, connecting the simulation results to real-world content moderation debates. The assignment teaches multi-agent orchestration, graph data structures, LLM tool use, and applied AI ethics in one integrated project.

Key features

  • Agent belief state model with three-tier knowledge representation (confirmed, uncertain, unknown) and LLM-driven belief update logic on each incoming claim
  • Asynchronous message-passing architecture with configurable network topologies (random, small-world, scale-free) and seeded misconception injection
  • Three implementable moderation strategies (algorithmic flagging, reach throttling, counter-messaging) with student-selectable combinations and per-run effectiveness metrics
  • Real-time D3.js belief propagation graph and per-agent belief history log for post-run analysis and structured reflection prompts

More in AI Literacy & Ethics

Full-Stack ML from Scratch with Live Viz

A scaffolded multi-week assignment where students implement a miniature transformer (no ML libraries) and watch their own training loop animate gradient magnitudes, weight distributions, and loss curves in a live browser dashboard.

AI Literacy & EthicsClass assignmentLargeSep 18, 2026

Agent Configuration Observatory

Students design and run multiple AI agents with different tool access, memory strategies, and model choices on an identical benchmark task, then compare their behavior side-by-side in a live visual dashboard and write a structured comparative analysis report.

AI Literacy & EthicsClass assignmentLargeSep 6, 2026

AI Ethics Case Forge

An instructor-facing tool that generates rich, discipline-specific AI ethics case studies on demand, complete with named stakeholders, Bloom's-leveled discussion questions, and a grading rubric. Turns ethics from an afterthought into a repeatable, customizable teaching activity for any CS specialization.

AI Literacy & EthicsTeaching toolMediumAug 31, 2026

Competitive Prompt Engineering Lab

A multi-week assignment where students iteratively engineer prompts against a fixed benchmark test suite, studying which strategies improve AI code generation quality and why.

AI Literacy & EthicsClass assignmentLargeAug 18, 2026

All 110 ideas in AI Literacy & Ethics →