Idea · Sep 13, 2026

Protocol Interop Lab

Students design and implement a custom agent-to-agent communication protocol, build two cooperating AI agents that use it to solve a shared problem, then test interoperability with a stranger's implementation on Interop Day.

What it would do

CS students build individual agents all semester but rarely design the protocol that lets two agents built by different people communicate reliably. Protocol Interop Lab has three graded phases. Phase 1 (week 1-2): design a protocol spec document covering message schemas using Pydantic, a handshake/session mechanism, error handling and retry semantics, and an observability contract (what structured JSON logs must contain). Phase 2 (week 3-5): implement two cooperating agents in Python using asyncio and WebSockets that use the spec to solve a shared problem from a provided menu. An automated test harness validates the protocol against the spec. Phase 3 (week 6 - Interop Day): pairs swap specs with a randomly assigned stranger and have 90 minutes to make their agents talk to each other using only the other pair's spec document. The gap analysis from Interop Day, which covers what broke, why, and how the spec should have been written, is the final reflection. Students learn protocol design, async Python, serialization, observability, and how to write specifications that are both precise enough to implement and unambiguous enough that a stranger can implement them correctly.

Key features

  • Protocol spec deliverable: message schemas (Pydantic), handshake/session semantics, error recovery rules, and observability contract (structured JSON log format)
  • Two cooperating agents (Python, asyncio + WebSockets) that solve a shared problem chosen from a provided menu: collaborative sorting, distributed document summarization, or multi-agent code review
  • Automated test harness that validates the protocol against the spec before Interop Day
  • Interop Day: pairs exchange specs with a stranger and attempt to make agents communicate; gap analysis becomes the final reflection deliverable
  • Optional React + Vite flow-visualization dashboard showing message sequences and retry counts in real time

More in Systems & Hardware

Lag Compensation Arena

A networking assignment where students build an authoritative-server multiplayer tank game on a real city map, then add client prediction, server reconciliation, interpolation, and lag compensation while a built-in network simulator injects latency and packet loss.

Systems & HardwareClass assignmentLargeOct 1, 2026

Build Your Own Node-Based Terminal Workspace

A multi-week systems-plus-web assignment where students build a PTY daemon and a canvas UI that arranges live shell sessions as connected nodes, with persistence and reattach like tmux.

Systems & HardwareClass assignmentLargeSep 24, 2026

Browser OS Scheduler Lab

Students build a fully browser-native OS process scheduler simulation using Web Workers and SharedArrayBuffer, then add a Claude-powered inspector that explains scheduling decisions in plain English.

Systems & HardwareClass assignmentLargeSep 4, 2026

Chaos Tester's Toolkit

Students build a three-node HTTP key-value store, then implement a deterministic chaos testing harness that kills nodes, delays messages, and partitions the network. They observe real CAP theorem trade-offs in their own system and write a failure mode postmortem.

Systems & HardwareClass assignmentLargeSep 3, 2026

All 39 ideas in Systems & Hardware →