Lab 2026
Roast Court
Two AI lawyers. One judge. Flying tomatoes.
Two AI lawyers debate any topic in an animated courtroom while a biased gallery reacts, a judge rules on every count and a referee fact-checks every claim, ending with a case brief and a quiz.
What's hard about it
- LangGraph state machine for the trial; every step is a keyed event in SQLite, so crashes resume without regenerating anything.
- The browser acks each beat and the server stays one beat ahead: nobody watching means no API calls.
- Retries with back-off, model fallback, JSON repair and in-character "court recess" breaks when the model is overloaded.