From Benchmarks to Behaviors: A Framework for Auditing AI Agents
Nick Hagar
Abstract
Generative AI systems increasingly mediate access to information. Their behavior depends on tools, instructions, and user memories that are often difficult for researchers to observe or control. Here, I introduce TRACE (Transparent Research on Agent Contexts and Environments), a framework for systematically auditing how these components shape AI agent behavior. Built on an open-source agent harness, TRACE enables controlled manipulation of system components. It also records inputs, outputs, and task execution for downstream analysis. I demonstrate this framework through an experiment examining how user memories influence source selection when agents answer questions about the 2026 U.S. midterm elections. I find that memories expressing explicit preference for a publisher increase its inclusion among the first three cited sources in a response by 33-39 percentage points. Memories identifying the user as a Republican or expressing distrust of mainstream media shift citations rightward. That same media distrust memory also increases citation of sources expressing misinformation or conspiracy theories by 6.3 percentage points, with substantial variation across models. These findings demonstrate that concise user memories can alter source selection in consequential settings, even when questions and search results remain fixed. TRACE extends algorithm auditing to agent harnesses, providing a transparent way to study agent behaviors that benchmarks or commercial interfaces may struggle to isolate.
Create a lesson
Related papers
SEAM: Situated Executable Associative Memory for a Co-located Community
Keru Wang, Michael Xu, Ken Perlin et al.
OmniScribble: Mixed-Initiative Authoring of Animated Sketches through Inspectable and Repairable AI Decisions
Hien Trinh, Tan-Hiep To, Trung-Nghia Le
Agentic Path Maps: Exposing an Agent's Traversal Through the Garden of Forking Paths
Madeleine Grunde-McLaughlin, Hafsah Usman, Daniel Mitroshkov et al.
Must AI Spell It Out? Pragmatic Comprehension of Alerts in a Time-Critical Task
Anwesha Das, Vera Demberg, Anna Maria Feit
Proceedings of the CSCW 2026 Workshop on Women's Health as Cooperative Work: Participatory AI Across Care, Community, and Policy
Sherilyn Francis
EmbryoProfiler: A Visual Clinical Decision Support System for IVF
Johannes Knittel, Simon Warchol, Jakob Troidl et al.