Abstract
The rapid advancement of Large Language Model (LLM) agents in software engineering (SWE) has led to the generation of massive, complex interaction logs known as trajectories. Analyzing these trajectories to debug agent failures is a labor-intensive process, often requiring researchers to manually parse text files exceeding 128,000 tokens. We introduce SeaView (Software Engineering Agent Visual Interface for Enhanced Workflow), a visual analytics platform designed to streamline the debugging and optimization of SWE agents. SeaView provides structured dashboards that categorize failures, compare experimental runs, and visualize agent reasoning. Our user study demonstrates that SeaView significantly reduces diagnostic time, particularly for novice researchers, by providing clear distinctions between model logic errors and environmental failures.
1. Introduction
Large Language Model (LLM) agents are increasingly capable of resolving real-world software issues, with top-performing models now addressing over 60% of problems in benchmarks like SWE-Bench. However, the "black box" nature of these agents presents a significant challenge for researchers. When an agent fails, the root cause—whether a logical error in reasoning, a tool-call failure, or an environmental issue like a Docker timeout—is often buried in an immense trajectory log. Currently, researchers lack standardized tools for this analysis, frequently relying on ad-hoc scripts to interpret results. SeaView addresses this gap by providing a comprehensive visual interface for agent trajectory analysis.
2. System Architecture
SeaView is a full-stack web application developed using TypeScript, React, and Node.js. The system architecture is designed to handle the high-volume data generated by SWE agent experiments.
As shown in Figure 1, the platform utilizes a specialized Extract, Transform, Load (ETL) pipeline. Raw agent outputs from external environments are uploaded to object storage. The backend then processes these artifacts, storing structured metadata in a PostgreSQL database. This architecture allows the frontend to efficiently query and visualize complex experiment data across multiple benchmarks, including SWE-Bench, Commit0, and SWE-Gym.
3. Analytical Capabilities
SeaView offers four primary analytical views to facilitate deep dives into agent performance:
- Experiment Health: Categorizes stop reasons (e.g., "Agent Error," "Max Turns," "Stuck-in-Loop") to identify systemic vs. model-specific failures.
- Experiment Comparison: Enables side-by-side tracking of performance metrics across different hyperparameters or model versions.
- Experiment Summarization: Aggregates results from multiple runs to determine performance upper bounds during inference scaling.
- Experiment Report: Provides a detailed inspection of agent-generated code patches and reasoning steps.
Figure 2 illustrates the Experiment Health dashboard. By visualizing the distribution of stop reasons, researchers can quickly determine if a failure is due to the agent's logic or external factors like flaky execution environments.
4. Evaluation and Results
A user study involving 10 AI and SWE researchers validated SeaView's utility. Key findings include:
- Efficiency Gains: 70% of participants previously relied on manual scripts for data gathering. SeaView automated these tasks, reducing diagnosis time from up to an hour down to a few minutes.
- Accessibility: While experienced researchers saved approximately 15 minutes per experiment, novices saved up to an hour, suggesting that SeaView significantly lowers the barrier to entry for agent research.
- Diagnostic Accuracy: 100% of users found the "Experiment Health" view essential for identifying the root causes of failure.
5. Conclusion and Future Work
SeaView represents a major step toward standardizing the evaluation of SWE agents. By transforming text-heavy logs into intuitive visual data, it empowers researchers to iterate faster on model development. Future work will focus on real-time monitoring of live experiments and more granular "trajectory diffing" to pinpoint exactly where different models diverge in their reasoning paths. The authors intend to open-source the platform to support the broader research community.
Summary updated