arXiv:2609.08301cs.SESep 2026

Manuscript Offprint

arXiv:2609.08301

Agent ATO: Visualizing Agent Interaction Timelines from Logs

Takuto Kawamoto, Yoshiki Higo, Raula Gaikovina Kula

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Takuto Kawamoto*, Yoshiki Higo*, Raula Gaikovina Kula*

*The University of Osaka, Japan

Abstract—AI coding agents are becoming part of developers' workflows, but their behavior is difficult to understand from final code changes alone. During a task, agents interact with software repositories through sequences of actions such as searching for files, reading code, editing programs, and running tests or build commands. These interactions, together with token usage, are often recorded in console logs, but raw logs are difficult for developers to inspect. In this paper, we propose Agent ATO (Agentic Trajectory Observer), a tool for visualizing AI coding agent interaction timelines from console logs. Agent ATO extracts agent interactions, classifies them by command or tool type, and visualizes them as timelines. In addition to an all-interaction timeline, Agent ATO provides filtered timelines that emphasize file discovery, file reading, file editing, and execution while preserving surrounding context. We illustrate how Agent ATO may help developers inspect and compare agent actions using selected runs from two repair tasks. Future work will apply Agent ATO to more agents, tasks, and development environments, and will evaluate whether it reduces the effort needed to compare trajectories.

Index Terms—AI Coding Agent, Agentic Trajectory, Prompt Debugging

I. INTRODUCTION

AI coding agents are increasingly used to automate software engineering tasks by interacting with development environments. Unlike one-shot uses of large language models, these agents iteratively search repositories, inspect files, edit code, and run tests through an agent-computer interface [1]. Their work processes are often recorded in console logs, which contain tool calls, commands, file inspections, edits, execution results, and errors. These logs can reveal how the agent proceeded toward final code changes, such as whether it explored relevant files before editing, validated its changes, or returned to exploration after failures.

Prior studies have analyzed agent trajectories and traces to understand agent behavior. Some work examines software engineering agent trajectories through thought-action-result sequences and execution traces in automated program repair agents [2], [3]. Other work analyzes trajectories to identify why LLM agent systems fail [4]. Tool support has also been motivated by the need to debug agent workflows and review long agent histories [5]. In parallel, visual tools for LLMs have compared responses across prompts or trials for prompt improvement [6]–[8]. Recent work on coding agents also shows that comparing agent behavior across trials is a relevant visual analytics problem [9].

However, although console logs record events in temporal order, they do not clearly present interaction types or their ordering. Developers and researchers must still read long logs to locate searches, reads, edits, executions, and segments requiring closer analysis. This makes it difficult to notice process-level cues, such as missing validation after edits or no further exploration after failures. A clearer view of agent execution can help developers inspect past runs and refine future runs. Similar problems have arisen in other software-development contexts, where event logs have been aggregated and visualized to support behavioral understanding, such as in debugging activity analysis [10].

We propose Agent ATO, a timeline visualization that transforms console logs into classified interaction sequences for inspecting and comparing agent trajectories. We focus on interaction histories observable from console logs. In this paper, an interaction is a coherent unit of agent activity initiated by an LLM response and realized through tool use, such as repository navigation, file reading, file editing, or command execution. A sequence of interactions forms an agent trajectory. Agent ATO shows an overview timeline of all interactions and filtered timelines for four tags: Discovery, Reading, Writing, and Execution. Because a single interaction may belong to multiple tags, the filtered timelines let users focus on one perspective while preserving temporal context. We implemented a prototype for the Pi coding agent 1^{1}.

To demonstrate Agent ATO, we conduct two case studies using repeated executions of the same coding task under the same prompt and environment. The first case study shows that executions with similar repair directions can differ in validation behavior: one attempt formed repeated edit-validation cycles, whereas another edited without corresponding test execution. The second case study shows that high token usage can have different causes: some spikes come from long LLM-output segments that repeatedly reconsider repair policies, while others come from large tool results produced by file-reading operations. Together, these cases show how Agent ATO helps users compare trajectories and identify process-level cues that are difficult to see from final patches or raw logs alone.

This paper makes the following three contributions. First, we define AI coding agent behavior as an interaction trajectory composed of observable software-development operations. Second, we propose a timeline visualization that combines detailed command/tool types with filtered views based on Discovery, Reading, Writing, and Execution. Third, we demon-

1^{1}https://github.com/areendil-works/pi

Figure

Fig. 1: Overview of our prototype visualization. Each small rectangle represents an interaction reconstructed from the Pi coding agent event log.

strate through two case studies how the visualization supports comparison of repeated executions, exposes differences in edit-validation behavior, and distinguishes token usage caused by LLM output from token usage caused by tool results. Rather than automating diagnosis, the visualization provides a basis for observing and comparing AI coding agent trajectories.