Looping into a Game About AI Evals

· Source: The Jetty Blog: Ground Truth · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering · Depth: Intermediate, short

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

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

Topics

Best for: NLP Engineer, AI Engineer, Machine Learning Engineer, Prompt Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by The Jetty Blog: Ground Truth.