arXiv(opens in a new tab)cs.AIOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.06406

What Did the Agent Actually Do? Evidence-Grounded Oversight for Long-Horizon Agents

Zhongxiang Sun, Jiahao Yan, Hongkang Zhao, Haojie Ding, Boheng Zhang, Fan Yang, Xiao Zhang, Jun Xu

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

ABSTRACT

As agents take on long-horizon tasks, users shift from making individual decisions to overseeing autonomous execution. Yet the volume of agent activity and the fragmentation of supporting evidence make it difficult to determine which decisions warrant user verification. We study monitors that identify consequential decisions and locate evidence to help users assess their implications. We introduce AgentMonBench, a software-engineering benchmark comprising three subsets that cover two complementary dimensions: alignment between requirements and behavior, and awareness of consequential autonomous decisions for verification. To support these judgments, we propose the Evidence-Grounded Behavior Graph (EBG), a training-free method that groups source-linked evidence into behaviors and organizes their relationships into a graph. EBG presents task-oriented views of this graph to help monitors interpret behavior in context. Experiments across eight models show that EBG improves decision identification and evidence localization in most settings compared with direct access to the original context. Further experiments show that EBG's evidence-localization gains persist across input scales and hyperparameter settings, while real-world applications illustrate its practical value for human oversight. Data and code are available via the links below.

Code: https://github.com/zhk-lab/EBG

Dataset: https://huggingface.co/datasets/ZhaoHongKang/AgentMonBench

Website: https://zhk-lab.github.io/agentmonbench-ebg/

1 INTRODUCTION

Advances in coding capability now allow agents to carry out long-horizon tasks, from modifying repositories to replicating research and analyzing data (Yang et al., 2024; Wang et al., 2025; Starace et al., 2025; Chen et al., 2025). As users delegate these workflows, their role shifts from making each decision themselves to overseeing the agent's execution. Yet responsibility does not disappear with delegation: users still need to determine whether the agent's choices serve their goals. However, maintaining effective human oversight of long-horizon agents is challenging, as the volume and complexity of their activities can exceed users' capacity to follow and evaluate them (Kasirzadeh & Gabriel, 2026; Mitchell et al., 2026).

This supervisory role requires situation awareness: noticing what happened, understanding its significance, and anticipating what may follow (Endsley, 1995). Effective oversight therefore requires both alignment between execution and user requirements and awareness of consequential autonomous decisions for verification. For example, changing an evaluation criterion can alter a research conclusion, while dropping incomplete records can change the population represented by

∗^{*}These authors contributed equally and share first authorship.

†^{\dagger}Xiao Zhang is the corresponding author (e-mail: zhangx89@ruc.edu.cn)

Long-horizon delegation

What warrants user verification?

Figure

Figure 1: User oversight in long-horizon workflows. This illustrative research example links data exclusion to its implications and supporting evidence. AgentMonBench evaluates these oversight needs in software engineering, while EBG organizes evidence for monitoring.

an analysis. Such choices may be reasonable yet still warrant user judgment. Their evidence is distributed across messages, tool results, and intermediate artifacts, while limited user attention makes identifying which decisions require verification difficult (Figure 1).

We ask: Which consequential decisions in long-horizon agent tasks warrant user verification, and what evidence helps users understand their implications? Prior work considers trajectory quality (Sahoo et al., 2026), problem discovery and evidence retrieval (Jeong et al., 2026), and clarification or proactive interaction (Vijayvargiya et al., 2026; Zhang et al., 2026; Chen et al., 2026). Addressing our research question requires a monitor that can identify specific choices affecting task goals, constraints, or outcome interpretation and connect them to evidence in the agent's context.

We introduce AgentMonBench to evaluate monitors' ability to identify consequential decisions warranting user verification in software engineering. The benchmark comprises three subsets covering two complementary dimensions of oversight. For alignment between requirements and behavior, SpecGAP assesses consequential repository behaviors left unspecified by incomplete requirements, while SilentSwap assesses semantic deviations from documented requirements even when existing tests pass. For awareness and verification of consequential decisions, FeedbackTrace evaluates whether monitors can surface autonomous choices warranting user verification in real interactions, with targets derived from subsequent user feedback (Section 3).

Both supervisory needs depend on connecting evidence of what the agent actually did to user requirements and potential task consequences. We propose the Evidence-Grounded Behavior Graph (EBG), a training-free method to support these judgments. EBG organizes source-linked evidence from code workspaces or execution trajectories through behaviors, scopes, and explicit relations into evidence views that help the monitor assess observed behavior in context. Its construction and presentation are deterministic, while the monitor makes the semantic judgment (Section 4).

Experiments with eight models across all three components of AgentMonBench show that EBG generally improves decision identification and evidence localization over the evaluated baselines. Ablation results support the complementary roles of EBG components, while average evidence-localization gains persist across input scales and the tested hyperparameter settings. Five real-world research-task cases with EBG integrated into Codex Harness (OpenAI, 2026b) illustrate how evidence-based review can support user verification and subsequent agent actions (Section 5).

Contributions. We contribute (1) a monitoring formulation for consequential decisions requiring user verification, (2) AgentMonBench with complementary software-engineering evaluation conditions, and (3) EBG for organizing behavioral evidence without additional training.

Figure

Figure 2: Overview of AgentMonBench construction.

References (29)