Graphectory Viewer: Peeking Inside AI Agent Trajectories Through Interactive Graphs

1 September 202616 views

A new web tool turns raw agent work logs into clear graphs, linking individual steps to overall behavioral patterns. It helps compare successful and failed runs, find recurring scenarios, and analyze large corpora of trajectories.

Graphectory Viewer: Peeking Inside AI Agent Trajectories Through Interactive Graphs

Why Look Inside AI Agent Trajectories

When an agent solves a task, we usually only see the result: success or failure. But how exactly it reasoned, what steps it took, and where it went off track — that stays behind the scenes. For researchers and developers debugging agent behavior, this "black box" is the main problem. Knowing that an agent failed a task isn't enough; it's important to understand at which stage it happened and which patterns repeat time after time.

This is exactly where process-oriented analysis comes in. Instead of evaluating only the outcome, it examines the entire chain of actions: thoughts, observations, tool calls. This approach makes it possible to compare successful and failed runs, find typical errors, and ultimately make agents more predictable.

What Is Graphectory Viewer

Graphectory Viewer is a web tool built for interactive analysis of software agent trajectories. Its main goal is to turn scattered and heterogeneous execution logs into clear graphs that reflect not only the sequence of steps but also their semantic phases. The tool builds on the Graphectory representation proposed earlier by its authors and extends it into a full-fledged interface for exploration.

The key idea is to link low-level execution details — individual tokens, function calls, observation results — with higher-level behavioral structures. For example, the chain "read the task → plan → execute the action → verify the result" becomes a graph where transitions between phases are visible. This approach helps you see the big picture without losing the details.

How Trajectory Analysis Works

Graphectory Viewer doesn't work with just one framework; it supports trajectories from several popular agent frameworks. This matters because in practice researchers often use different stacks and don't want to be tied to a single log format. The tool takes raw data, normalizes it, and builds so-called phase-aware graphs — graphs that account for phases.

Interactivity is another strong point. Users can:

  • Inspect nodes — view the contents of thoughts, actions, and observations right in the graph;
  • Search and filter — work with large trajectory collections, selecting only the scenarios they need;
  • Build Sankey-like summaries — visualize how agents transition between task-solving phases.

The last capability is especially useful when comparing successful and failed runs. The flow diagram shows where successful trajectories diverge from dead ends and which transitions more often lead to failure.

Exploring Large Trajectory Corpora

A single trajectory is already interesting, but the real value emerges when analyzing large datasets. Graphectory Viewer makes it possible to identify recurring behavioral patterns that aren't visible to the naked eye. For example, you might discover that agents systematically skip the result-verification step or finish tasks too early.

For researchers, this means the ability to go beyond final metrics. Instead of asking "how many tasks were solved successfully?", a more precise question arises: "which strategies lead to success, and which lead to systematic errors?". This shifts the focus from evaluation to understanding, which is critical for developing reliable agent systems.

Open Artifact and Reproducibility

Importantly, the work didn't stay on paper only. The authors published Graphectory Viewer as an open artifact along with documentation, precomputed graphs, and a large-scale trajectory corpus. This means anyone can not only look at a demo but also deploy the tool locally, run their own data through it, and reproduce the results from the paper.

This approach sets a good standard for research tools: showing a nice screenshot isn't enough — the community needs the opportunity to verify and use the development. Open code and data are a step toward making trajectory analysis a standard practice rather than a one-off effort.

The Bottom Line

Graphectory Viewer fills an important gap in the toolkit for working with AI agents. It gives researchers and practitioners the ability not just to observe agent behavior but to systematically analyze it. Interactive graphs, support for different frameworks, and work with large corpora make this tool useful both for debugging individual runs and for large-scale research.

Perhaps the most valuable thing here is the shift in perspective. Instead of asking "what did the agent do?", we can finally ask "how and why did it do it?". And get an answer you can see with your own eyes.

Frequently asked questions

Related materials

All materials
STAR: Adaptive Normalization of Temporal Context and Service Graphs for End-to-End Incident Management
Research

STAR: Adaptive Normalization of Temporal Context and Service Graphs for End-to-End Incident Management

The STAR framework trains representations from metrics, logs, and traces, using learnable normalization that accounts for multiscale temporal dynamics and dependency structures between services. On two real-world datasets, this pipeline delivers consistent improvements in anomaly detection, failure ranking, and root cause analysis over state-of-the-art baselines.

10 November 2026
Chern–Simons Reservoir Memory: Autonomous Connectivity Dynamics and Density Transport
News

Chern–Simons Reservoir Memory: Autonomous Connectivity Dynamics and Density Transport

The article explores how a reservoir preserves the history of input signals both in its density distribution and in its geometric degrees of freedom. A comparison of four mechanisms shows that current creates a separate connected component that alters the subsequent density response, while accounting for all measured features yields a small improvement in decoding pulse order.

10 November 2026
Validating Candidates Costs More Than Generating Them: Honeypots Against LLM Vulnerability Hunting
News

Validating Candidates Costs More Than Generating Them: Honeypots Against LLM Vulnerability Hunting

The study examines the cost asymmetry in agentic vulnerability discovery: generating candidate versions is cheap, while confirming them through reachability analysis, execution, and PoC development consumes most of the budget, making verification a potential standalone target for defense. The proposed RedHerring—repository-adapted decoys with a hidden certificate—reduced the number of real vulnerabilities found by 38.7–60.4% at equal cost across 33 OSS-Fuzz projects; even after the agent was warned, the reduction remained at 37.2%.

9 November 2026
Graphectory Viewer: Peeking Inside AI Agent Trajectories Through Interactive Graphs