Interpreting Coding Agents Through Their Behavioral Trajectories

Ibragim Badertdinov, Alexander GolubevarXiv 2026

TL;DR

Success rates only tell half the story: coding agents with identical solve rates often exhibit wildly different "behavioral signatures." By analyzing over 143,000 execution trajectories, researchers have developed a way to identify specific agent stacks (model + scaffold) based solely on their workflow patterns, revealing how scaffolding and reasoning effort fundamentally reshape how AI explores and modifies code.

What Problem Does This Paper Address?

Current benchmarks for coding agents, like SWE-bench, typically treat the agent as a black box. They focus on a binary outcome: did the agent fix the bug and pass the tests? While useful for ranking, this "solve rate" metric obscures how the agent achieved its goal.

Analyzing behavior at scale is difficult because different agents use different "harnesses" or scaffolds. One agent might use standard shell commands, while another uses a specialized API or inline Python scripts. This heterogeneity makes it nearly impossible to compare workflows directly. This paper seeks to move beyond the black box by creating a shared representation of agent actions, allowing researchers to diagnose failures and understand the distinct "personalities" of different AI coding systems.

Methods

The authors developed a deterministic, rule-based parser to normalize heterogeneous execution traces. This parser maps raw tool calls and environment observations into a common taxonomy across four core attributes:

  1. Primary Operation: (e.g., repository search, file editing, test execution).
  2. Target File Role: (e.g., non-test code vs. test files).
  3. Mutation Type: (e.g., create, edit, or delete).
  4. Read Mode: (e.g., full-file read vs. targeted line-range slicing).
Figure 1. Automated action classification pipeline. The rule-based parser pairs each tool call with its execution output and classifies it across four core attributes: primary operation, target file role, mutation type, and read mode.

To validate this parser, they audited it against a "consensus reference" generated by six frontier LLMs (including Claude Opus and GPT-5.6) on a sample of 500 events, achieving an 82.4% agreement on primary operations. They then used these annotations to calculate six core workflow metrics, such as "Exploration Share" and "Unproductive Tail" (actions taken after the final productive edit).

Datasets

The study analyzes a massive corpus of 143,209 execution trajectories sourced from the SWE-rebench Leaderboard.

  • Scope: 125 agent configurations spanning 117 unique models.
  • Tasks: 860 Python tasks across 413 repositories and a multilingual set of 111 tasks covering Go, Java, Python, Rust, and TypeScript.
  • Timeline: Tasks span from January 2025 to May 2026.

Key Insights and Ideas

  • Solve Rate is Not Identity: Agents with nearly identical solve rates (within 1 percentage point) can be distinguished by their workflows in 100% of cases. Some agents are "cautious," performing extensive verification, while others are "minimalist," submitting immediately after a single test pass.
  • Behavioral Signatures are Portable: An agent's behavioral profile is so distinct that it can be used to identify the specific "stack" (the combination of model and scaffold) even when the agent is working on entirely new repositories or in different programming languages.
  • Scaffolding Dictates Interaction: The "harness" around the model (e.g., Claude Code vs. SWE-agent) often has a greater impact on how the agent reads and edits code than the underlying model weights themselves.
  • Reasoning Effort Shifts Workflow: Increasing the "reasoning budget" (e.g., moving from Low to xHigh effort in Claude) doesn't just make the agent "smarter"—it systematically increases repository exploration and post-write verification rather than just repeating failed commands.

Key Results

  • High Retrieval Accuracy: Using an 8-dimensional behavioral vector (excluding outcomes and tool names), the authors could retrieve the correct agent stack across disjoint repository sets with 85.1% Top-1 recall.
  • Cross-Language Stability: The behavioral signatures remained robust across different programming languages, achieving 90.3% Top-1 recall in cross-language matching.
  • Workflow Divergence: In one case study (Task pypsa-1653), Claude Opus 5 used 62.4 actions and relied on shell redirections, while GPT-5.6 Sol achieved the same result in just 15 actions by using inline Python scripts.
Figure 2. Workflow differences across outcome-matched agent pairs.

Limitations and Future Work

  • Semantic Nuance: The rule-based parser captures the structure of actions but may miss the intent or semantic context found in the agent's internal "thought" process or free-form verbal planning.
  • LLM-Based Audit: The parser was audited against other LLMs rather than human experts, which might introduce shared model biases into the validation.
  • Task Composition: While the profiles are distinct, the authors note that differences in task difficulty across repository splits could still be a confounding factor in behavioral analysis.
  • Future Directions: The authors suggest that these behavioral profiles could be used to provide supervision for process-based reward models (PRMs) or to optimize agents for specific constraints like token cost and latency.

Summary updated

Abstract

Standard coding-agent benchmarks primarily evaluate binary task success, treating execution as a black box and obscuring the behaviors that produce those outcomes. We analyze a large corpus of 143,209 execution trajectories from 125 agent configurations spanning 117 unique models. To enable comparisons across heterogeneous agent interfaces, we develop a rule-based parser that maps raw execution traces to high-level actions such as repository search, file editing, and test execution, and audit its predictions against a six-model consensus reference on 500 events. We find that agents with similar solve rates can nevertheless differ substantially in how they explore, modify and verify code. Moreover, without using task outcomes, token counts, or tool names as features, aggregate behavioral profiles retrieve the corresponding agent stack across disjoint repository sets and programming languages, although task composition is not fully controlled in the cross-repository setting. Through analyses of frontier models and agent scaffolds, we further show that scaffold choice and reasoning effort systematically shift agents' search, editing, and testing behavior. We release the deterministic parser together with the full annotation and analysis pipeline alongside an annotated trajectory subset.
BibTeX
@misc{badertdinov2026interpreting,
  author = {Ibragim Badertdinov and Alexander Golubev},
  title = {{Interpreting Coding Agents Through Their Behavioral Trajectories}},
  year = {2026},
  eprint = {2611.17440},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.17440},
}
Figure