Behaviour analysis for large language model-driven agents
Organizations: Faculty of Information Technology, Monash University, Melbourne, Australia
Abstract
Understanding language-agent behaviour requires learning how actions are organised across a trajectory and how this organisation relates to context and outcomes. We propose a general framework that connects data-driven behavioural discovery with analysis and experimental investigation. Categories developed from recorded activity define what is measured. Analyses preserve the behaviours' positions in the process and express their relationships as interpretable hypotheses. Statistical assessment and tests in held-out contexts examine the strength and scope of the evidence. Experiments, including prompt steering, then test how behaviour and outcomes change under deliberately varied conditions. A study of iterative self-reflection illustrates how discovery, dependency learning and prompt comparisons can inform one another. We develop this approach for trajectories of varying length, event order and agent roles, and identify advances in coding, analysis and experimentation needed to support its wider use.
Figures & tables
| Behaviour | Observations to distinguish | Opportunities | Relations to assess |
|---|---|---|---|
| Planning 87 | Stated plan; precondition check; revised plan; executed step | New information; failed step | Replanning after new information; correspondence between stated plans and subsequent actions |
| Tool use 86 | Tool choice; arguments; returned output; error response; state verification | Timeout; invalid argument; refused permission | Feedback preceding retries, tool changes and replanning; associations with recovery and cost |
| Self-reflection 84 | Identified problem; proposed change; implemented change; renewed check | Critique; new evidence | Correspondence between critiques and revisions; variation across reflection rounds |
| Collaboration 92 , 12 | Work assignment; evidence request; objection; hand-over; shared-state update | Role-specific messages; transferred work | Interaction patterns associated with coordination, omission and duplicated work |
Agent Trajectory Analysis
Agent trajectory analysis studies how agents move or act over time to predict behavior, evaluate execution, and diagnose failures.
See all 48 papers