Looping into a Game About AI Evals
Summary
Pelly's Clinic is a browser game developed by Jetty that teaches AI agent evaluation through an interactive experience, avoiding explicit "eval" terminology. The game centers on players coaching Pelly, an AI pelican scribe, to accurately convert doctor-patient conversations into structured SOAP notes while preventing "fish stories" or hallucinations. This initiative stems from Jetty's "loop engineering" principle, which enhances AI workflows by leveraging agent inputs, logs, and prior outputs for iterative improvement. The game's development itself utilized AI evaluation: agents played the game in a sandboxed Chromium browser, journaling points of confusion with timestamps and screenshots. Their reports were then scored against a five-part rubric, and Claude code, integrated with the Jetty plugin, reviewed these playtests to propose and implement iterative design changes, significantly improving the game's user experience over five rounds.
Key takeaway
For AI Engineers focused on improving agent reliability and user experience, consider integrating "loop engineering" principles into your development lifecycle. You can utilize AI agents for automated playtesting and iterative design refinement, similar to how Jetty improved Pelly's Clinic. This approach, especially for agent-based systems, can surface critical usability issues and reduce hallucinations more effectively than traditional methods, accelerating your development cycles and enhancing user engagement.
Key insights
Loop engineering enhances AI workflows and evaluations through iterative, context-aware feedback loops.
Principles
- Human-in-the-loop AI workflow improvement.
- Reflective prompt optimization can outperform reinforcement learning.
- Gamification aids complex concept understanding.
Method
Jetty's agent loop involves a prompt, a runbook with evals, an application, then optimization, using agents to playtest and self-critique.
In practice
- Use AI agents for UI/UX playtesting and bug discovery.
- Frame complex AI concepts as interactive games for experiential learning.
Topics
- Loop Engineering
- AI Evaluation
- Agent Systems
- Gamification
- Prompt Optimization
- UI/UX Testing
Best for: NLP Engineer, AI Engineer, Machine Learning Engineer, Prompt Engineer
Related on AIssential
See Counsel's argued verdicts on the open AI decisions leaders are weighing →
Editorial summary, takeaway, and curation by AIssential. Original article published by The Jetty Blog: Ground Truth.