Skip to content

AgentMonBench: A Software Engineering Benchmark for Long-Horizon Agent Behavior MonitoringAgentMonBench

Paper Tracker· arXiv:2610.06406· Zhongxiang Sun, Jiahao Yan, Hongkang Zhao, Haojie Ding, Boheng Zhang, Fan Yang, Xiao Zhang, Jun Xu·Indexed by this site · 2026-10-06· Originally publishedEvaluation

Quick read

Evaluation and benchmarks

Based on the paper PDF (AI-generated); refer to the original

The authors use AgentMonBench to evaluate eight monitoring models and claim that training-free EBG improves decision identification and evidence localization in most settings.

Questions
After long-horizon agent execution, users still need to judge which choices are worth verifying, but the activity volume is large and evidence is scattered across messages, tool results, and intermediate artifacts. The authors aim to evaluate whether monitors can identify these consequential decisions and locate evidence.
Methods
The authors construct three subsets of AgentMonBench, measuring requirement omission, semantic deviation where tests still pass, and autonomous decisions before feedback. The training-free EBG encodes evidence into behavior and relationship graphs, then renders task views for the monitor to judge.
Experiments and results
Eight monitor models are compared with Base on three subsets, and with RepoGraph on repository tasks. The authors state that EBG improves decision identification and evidence localization in most settings; localization gains hold across input sizes, but some metrics are lower than Base, and judgment failures after evidence is visible account for the majority.
Limitations and future work
The paper does not have a separate limitations section. Appendix G.4 proposes improving content-level evidence coverage and separately examining organization and reasoning when evidence is already visible. Experiments cover eight monitoring models, two review models, and five Codex cases; RepoGraph is not used for FeedbackTrace.
Experimental setupGPT-5.6 Luna、GPT-5.6 Terra et al. · AgentMonBench、SpecGAP et al. · SF1、QQ et al.
Evaluated models
GPT-5.6 LunaGPT-5.6 TerraGPT-5.6 SolClaude Sonnet 5DeepSeek-V4.1-FlashDeepSeek-V4-ProKimi K3GLM-5.3
Benchmarks
AgentMonBenchSpecGAPSilentSwapFeedbackTraceDeNovoSWESWE-chat
Metrics
SF1QQLF1LCCCLSVPAESSEHRTPRFPR
AI summaryThe researchers propose AgentMonBench, a benchmark for agent behavior monitoring in software engineering scenarios, containing three subsets that cover two dimensions: consistency between requirements and behavior, and awareness of key autonomous decisions requiring user verification. To support such judgments, the authors propose the Evidence-Grounded Behavior Graph (EBG), a training-free method that groups evidence with source links into behaviors, organizes them into a graph, and presents them to the monitor in a task-oriented view. Experiments on eight models show that EBG improves decision recognition and evidence localization performance compared to directly accessing the original context in most settings; further experiments show that its evidence localization gains remain stable across different input scales and hyperparameter settings, and practical applications also demonstrate its value for human supervision.

The researchers propose AgentMonBench, a benchmark for agent behavior monitoring in software engineering scenarios, containing three subsets that cover two dimensions: consistency between requirements and behavior, and awareness of key autonomous decisions requiring user verification. To support such judgments, the authors propose the Evidence-Grounded Behavior Graph (EBG), a training-free method that groups evidence with source links into behaviors, organizes them into a graph, and presents them to the monitor in a task-oriented view. Experiments on eight models show that EBG improves decision recognition and evidence localization performance compared to directly accessing the original context in most settings; further experiments show that its evidence localization gains remain stable across different input scales and hyperparameter settings, and practical applications also demonstrate its value for human supervision.

Related events and news

1 events · 0 news mentions

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Monitors need to identify decisions worth user verification in long-horizon software engineering tasks and locate evidence.

    In long-horizon execution, which consequential decisions deserve user verification, and what evidence can show their impact.

    • Scenario: the authors say once users delegate long-horizon tasks to agents, their role shifts from making decisions personally to supervising execution, but responsibility remains. Activity volume and complexity may exceed users' ability to track and evaluate.
    • Why it is hard: the authors map effective supervision to situational awareness: noticing what happened, understanding implications, anticipating what comes next. Evidence is scattered across messages, tool results, and intermediate artifacts; under limited attention it is hard to decide which item to verify (Figure 1).
    • Existing gaps: the authors say trajectory quality, problem finding and evidence retrieval, clarification or proactive interaction, do not directly answer this paper's question. Need a monitor that identifies specific choices affecting goals, constraints, or outcome interpretation, and connects them to contextual evidence.
    • Proposed here: monitoring formulation, software engineering benchmark AgentMonBench, and training-free EBG. Three subsets cover requirements and behavior alignment, and awareness and verification of consequential autonomous decisions.
    • Monitoring inputs: SpecGAP and SilentSwap do not provide deleted conditions or gold mappings. FeedbackTrace only gives pre-feedback history; later feedback does not enter the input (Section 3, Figure 3).
  2. What related research exists?

    Related work covers human oversight, clarification interaction, process evaluation, and evidence organization. The authors position this paper as decision verification.

    Grouped according to the introduction, Section 2, and Appendix A.

    Human oversight

    • Oversight responsibility: Bainbridge (1983) and Endsley and Kiris (1995) discuss the oversight responsibility that remains after automation reduces direct involvement.
    • Situation awareness: Endsley (1995), Lee and See (2004) emphasize situation awareness and designing appropriate reliance on automation.
    • User side: Shen et al. (2025) examine user effort and collaborative utility; Shen et al. (2026) examine how end users guide and audit learning systems. The authors state these perspectives motivate making decisions and their evidence easier to inspect.

    Clarification and proactive interaction

    • Specification clarification: Ambig-SWE (Vijayvargiya et al., 2026) and Ask or Assume (Edwards and Schuster, 2026) study how coding agents identify specification gaps and seek clarification.
    • Intent and consent: π-Bench (Zhang et al., 2026) evaluates hidden intents in long interactions; KnowU-Bench (Chen et al., 2026) examines preference elicitation, consent, and restraint after refusal.
    • Authors' contrast: These works emphasize supplementing information, inferring intent, and appropriate interaction. The authors state AgentMonBench evaluates consequential choices not presented to the user during long-horizon execution, and the evidence for verification.

    Task benchmarks and process evaluation

    • Task benchmarks: PaperBench, ScienceAgentBench, EvoArena, and SWE-bench evaluate research replication, scientific tasks, evolutionary environment adaptation, and issue resolution, respectively. The authors use DeNovoSWE and SWE-chat to construct monitoring tasks.
    • Process and problem discovery: AgentLens (Sahoo et al., 2026) still examines process quality when tests pass; TIDE (Jeong et al., 2026) evaluates problem discovery, evidence retrieval, and solutions. The authors state they share the concern of examining behavior with evidence, but the focus is on decisions for user verification; FeedbackTrace's targets come from subsequent real feedback and are hidden from the monitor.
    • Benchmark auditing: BenchGuard and Automated Benchmark Auditing examine flaws in evaluation benchmarks themselves, focusing on the reliability of evaluation artifacts.

    Evidence organization and reasoning monitoring

    • Reasoning monitoring: ReDeEP, ReARTeR, and DS-MCM handle the use of retrieved context and parametric knowledge, process rewards, and consistency checks in long-horizon search, respectively. The authors state they evaluate generation reliability or guide the agent's own reasoning; this paper focuses on user verification.
    • Repository graphs and provenance: RepoGraph (Ouyang et al., 2025) organizes repository structure for navigation; Wang et al. (2026b) study traceable action records. The authors state EBG organizes behavior, scope, and explicit relations, then renders them to the monitor.
    • Baselines and data: The experimental baseline is Base, plus RepoGraph adaptations on SpecGAP and SilentSwap. The evaluation set is AgentMonBench. In Table A1, the authors label their user feedback as Real and hide it from the monitor input.

    The authors separate this paper from clarification work: they do not evaluate whether the agent proactively asks questions, but whether the monitor can identify unshown consequential choices and locate evidence.

  3. How does the paper address this problem?

    Training-free EBG encodes the visible context into a behavior graph, then renders a task view for the monitor to make semantic judgments.

    The authors use AgentMonBench to define three verification conditions, then use the training-free EBG to organize visible context into evidence views. Graph construction and presentation are deterministic procedures that do not call an LLM; semantic judgment is done by the monitor.

    Benchmark construction

    • SpecGAP: Delete the exact textual spans of selected consequential conditions from DeNovoSWE documents; the repository is unchanged. Keep 4–5 per task where possible. Criticality is divided into Must-Ask and Worth-Ask.
    • Evidence mapping: Per-condition mapping and whole mapping search the same repository independently, without sharing intermediate results. A human compares the two mappings, selects the correct one or rewrites; then runs deterministic checks for deleted spans, provenance, and excerpts.
    • SilentSwap: Task documents are unchanged; five semantic replacements per task. The Selector picks traceable, observable, documented behaviors; the Builder makes minimal modifications and writes semantic tests; the Quality Checker rejects candidates that affect unrelated semantics or hardcoded special cases.
    • Execution verification: Existing tests must pass before and after replacement, and the corresponding semantic tests must change from passing to failing. When five replacements coexist, each semantic test fails only when its corresponding replacement is present. FeedbackTrace takes Python sessions from SWE-chat, with at most one pushback per session; evidence units are assistant reply paragraphs, and tool calls with matching results. Gold contains verification points, one or two minimally sufficient evidence units, and Must-Disclose or Worth-Disclose.

    Structured behavior graph

    • Input: Visible context is X, where task requirements are Q; type is repository or trajectory. The pipeline is G = Fτ(X), V = Pτ(G, Q), Yb = M(Q, V).
    • Evidence: Each entry retains an identifier, original text, and source location. Repository locations contain file, containing symbol, and line range; trajectories retain event positions and available source identifiers. Multiple behaviors can reference the same evidence.
    • Behavior: Repository is Condition–Operation–Result; trajectory is Demand–Action–Response. Repository anchors on returns, exceptions, or state updates, with mutually exclusive paths separated; trajectory aggregates tool actions and assistant replies by the same user demand.
    • Scope and edges: Repository Scope is by function, method, and other symbols, identified by path and qualified name; trajectory Scope is by task identifier or reply, execution link. Repository edges are calls and data supply; trajectory edges are explicit references and precedence by first occurrence. Each edge retains supporting evidence. Formalization is in Appendix D.1.

    Task view

    • Repository four steps: Q guides directory ordering; the monitor selects files. Scopes that directly match the document are seeds; when there is no match, a fixed representative Scope is used. Each seed expands only one hop, retaining incoming edges and their counterparts, then partitions into weakly connected components.
    • Reading root: Each component selects the seed with the most neighbors; on ties, the one mentioned earliest in Q. The root only determines the reading entry point, does not change the selected evidence, and does not indicate an execution start.
    • Trajectory: Grouped by Task Scope, preserving original order within Scope. The Scope of the last visible behavior is marked Current, the rest History. Labels indicate task status as of the cutoff, not discovery location. Appendix D.2, D.3.

    Runtime interface

    • Monitor output: Against Q and the view, point out consequential decisions worth verifying, and ground findings in evidence traceable to original sources. All methods share the task objective, selection criteria, and evidence requirements; prompts only describe their respective input representations.
    • Repository budget: SpecGAP at most 8 rounds, SilentSwap at most 6 rounds, both including finish. Search at most 12 queries, each at most 512 characters. Base at most 6 consecutive blocks per read, each at most 400 lines; RepoGraph at most 32 symbol subgraphs; EBG at most 6 seed files, retaining all one-hop neighbors. Each read returns a budget of 65,536 tokens.
    • Trajectory calls: FeedbackTrace calls the full Base trajectory or task-scope view once, with no tool calls and no compression. Single output limit is 32,768 tokens. Details are in Appendix D.4. Scoring rules are placed in the experimental setup; scores are not expanded here.
  4. What experiments did the paper conduct?

    Across eight models, the authors state that EBG is better than directly reading the original text in most settings, but several metrics are lower than Base.

    Experimental setup

    • Monitoring models: GPT-5.6 Luna, GPT-5.6 Terra, GPT-5.6 Sol, Claude Sonnet 5, DeepSeek-V4.1-Flash, DeepSeek-V4-Pro, Kimi K3, GLM-5.3. Temperature and top-p use endpoint defaults; inference settings are in Table C1.
    • Data: 100 cases per subset. SpecGAP has 484 omitted conditions, 7 types; SilentSwap has 500 replacements, 5 per task, 8 mechanisms; FeedbackTrace has 100 verification points, 4 feedback types. Average input tokens are 22,870.32, 22,855.91, and 53,942.98 respectively (Table B1).
    • Baselines and interaction: Base gives repository content or the original trajectory up to the cutoff. RepoGraph adaptation is only used for two repository subsets, extracting functions, classes, and contain/invoke relations with Python AST; FeedbackTrace is marked as not applicable (Appendix C.2). Repository round limits are 8 and 6; trajectory tasks are single-call (Appendix D.4).
    • Metrics: Rule-based are LF1 for SpecGAP, LS for SilentSwap, EHR for FeedbackTrace. Semantic are SF1, QQ, LC, CC, VPA, ESS. Range 0 to 1, equal weight per case, evaluation failure counts as 0.
    • Review: GLM-5.2 and Qwen3.7-Max independently evaluate six semantic metrics; the main results report the arithmetic mean. LF1, LS, EHR do not depend on review models. Scoring rules are in Appendix C.3.
    • Unspecified items: The paper does not report multiple repetitions, nor the agreement between monitor predictions and human judgments. Gold double-annotator agreement is in Section 3.4.

    Main results

    Semantic scores are the arithmetic mean of two reviewers; rule scores are reviewer-independent. RepoGraph is not in the table below; the method is not applicable on FeedbackTrace.

    Swipe horizontally to read the table

    Monitoring modelSpecGAP SF1 BaseSpecGAP SF1 EBGSilentSwap LS EBGEHR BaseEHR EBG
    GPT-5.6 Luna0.2500.3260.4550.5300.570
    GPT-5.6 Terra0.2750.3920.6230.5400.580
    GPT-5.6 Sol0.4560.5050.6710.5500.610
    Claude Sonnet 50.3280.3310.4250.4800.600
    DeepSeek-V4.1-Flash0.3760.3720.4920.5400.600
    DeepSeek-V4-Pro0.1230.2180.4080.3400.370
    Kimi K30.4940.5580.6810.5500.610
    GLM-5.30.4810.5260.7080.5100.570

    According to Table 1.

    • Authors state there is still room: Even with structured context, identifying consequential decisions and grounding them in evidence still has room for improvement.
    • Not every cell is higher: The authors state EBG is higher than Base in most settings, and also higher than RepoGraph in repository comparisons, with gains varying by model and task. Results not in the table that are lower than Base include Terra's FeedbackTrace VPA 0.508 vs. Base 0.513, ESS 0.565 vs. 0.588; Sol's SilentSwap CC both 0.598 (Table 1). Flash's SpecGAP SF1 in the table is also lower than Base.
    • Retrieval and understanding separated: The authors state that better evidence retrieval can co-occur with weaker decision explanation. Appendix E.1 states that on SilentSwap's LS and LC, EBG is higher than Base and RepoGraph for all eight monitors.

    Input scale

    • What was tested: Reused GPT-5.6 Luna, Kimi K3, GLM-5.3's main predictions, split into Low, Medium, High by input tokens within each subset. Figure 5 reports the equally weighted average of the three models' LF1, LS, EHR.
    • Results: The authors state that the three Base means decrease from Low to High: FeedbackTrace EHR from 0.667 to 0.422, SilentSwap LS from 0.557 to 0.429, SpecGAP LF1 decreases less. All nine group average comparisons favor EBG. Absolute gains in the High group are LF1 0.078, LS 0.115, EHR 0.108.
    • Individual exceptions: Appendix E.3 states that on SpecGAP LF1 and SilentSwap LS, all three monitors improve at each scale. FeedbackTrace EHR decreases for Luna's Medium group and Kimi K3's Low group, and is unchanged for GLM-5.3's Low group; all three improve in the High group. The authors state these are differences between samples at different input scales.

    Disclosure detection and false alarms

    • Protocol: For each subset, randomly select 50 should-disclose samples from the 100 formal cases, and construct 50 should-not-disclose samples. Three monitors perform binary classification. TPR and FPR each have 50 as the denominator (Table E6; table note states numbers are percentages).
    • Results: The authors state EBG improves TPR in all nine group comparisons and reduces FPR in eight groups. The exception is Luna on SilentSwap where FPR rises from 52% to 58%; its EBG FPR on FeedbackTrace remains 84%. Kimi K3's EBG TPR on that subset is 58%.
    • Authors' interpretation: Reporting both metrics is to separate false alarm reduction from missing should-disclose decisions. The authors state unnecessary disclosure remains a problem for some monitors.

    Failure stages

    • Categorization: Reuse the EBG predictions of the above three monitors. Failures are categorized once by the earliest stage: file not selected, file selected but view lacks content, reference evidence already visible but judgment failed. SilentSwap only analyzes localization failures. FeedbackTrace has no file selection step (Appendix G).
    • Proportions: Under GLM-5.2, judgment failures account for 74.0%–81.2% of SpecGAP failures and 69.4%–76.9% of SilentSwap failures (Table G1). Luna's 362 SpecGAP failures include 294 (81.2%) in the judgment stage.
    • Trajectory: Under both reviewers, audited FeedbackTrace failures all contain complete reference events, evidence presentation omissions are 0, and all are classified as judgment. The authors state they have not yet attributed omissions to specific root choices, expansions, or rendering rules.

    Other ablations and analyses

    • Component ablation (Table E4, Luna, Kimi K3, GLM-5.3): Removing Behavior, Graph, or Guidance lowers the representative metrics SF1, LS, or ESS for each task below full EBG; a few other metrics rise slightly. FeedbackTrace has no separate Guidance ablation.
    • Expansion depth 1 to 3 hops (Appendix E.4, Luna and GLM-5.3): At tested depths, SpecGAP's three metrics and SilentSwap's LS and LC are all higher than Base; SF1 or LS for the same monitor and task varies at most 0.0303 across depths. CC is lower than Base for Luna at three hops and GLM-5.3 at two hops.
    • Interaction rounds: At each matching budget, EBG improves SpecGAP's three metrics and SilentSwap's LS and LC; SF1 and LS vary at most 0.0272 within monitor × task. On CC, Luna is lower than Base at four and five rounds, and GLM-5.3 has a small decrease at four rounds.
    • Two-reviewer direction: In 48 monitor–metric comparisons, 40 (83.3%) agree on the direction of EBG relative to Base (Table E3). LC's mean absolute difference is 0.0969, VPA is 0.0953.
    • Gold double-annotator agreement: SpecGAP 447/484 (92.4%), SilentSwap 468/500 (93.6%), FeedbackTrace 93/100 (93.0%) (Table B2). This is separate from model draft retention rates: mapping 322/484 (66.5%), SilentSwap drafts 486/500 (97.2%), evidence sets 64/100 (64.0%) (Table B3).
    • Codex Harness five research tasks, with and without harness once each (Table 2, Appendix F). The authors state that without harness, key issues are not disclosed; with it, they are identified and disclosed. The paper does not report quantitative scores for these five cases.
  5. What are some points that can be further explored?

    Appendix G.4 proposes improving evidence coverage and separately examining organization and reasoning when evidence is already visible.

    Limitations and future directions noted by the authors

    The paper does not have a separate Limitations section. Appendix G.4 lists two future directions.

    • Content-level coverage: File selection and presentation omissions motivate better task-guided retrieval and adaptive graph expansion. The authors write that future evidence views could judge whether selected content supports candidate decisions, and request context when support is incomplete (Appendix G.4).
    • Failures with evidence already visible: The authors write that many failures occur when reference evidence is already provided to the monitor. Future experiments could fix the evidence content and separately vary organization and reasoning to see which changes reduce these failures (Appendix G.4).

    Experimental coverage

    • Main results are for eight monitoring models, three subsets of 100 cases each, compared against Base; RepoGraph is only used for SpecGAP and SilentSwap, and Appendix C.2 states it is not applicable to FeedbackTrace.
    • Semantic scores are independently given by GLM-5.2 and Qwen3.7-Max, with the main table reporting the arithmetic mean; LF1, LS, EHR are rule-computed.
    • Input scale analysis covers GPT-5.6 Luna, Kimi K3, GLM-5.3; depth and round scans cover Luna and GLM-5.3 on the two repository subsets, excluding FeedbackTrace (Appendix E.3, E.4).
    • False alarm evaluation is 50 should-disclose plus 50 should-not-disclose per subset, with three monitors (Table E6). Failure attribution reuses these three monitors' EBG predictions, with two reviewers separately counting (Appendix G).
    • Codex application is five research tasks, run once with and once without harness (Appendix F.3). The paper does not report agreement between monitor predictions and human judgments, nor statistical significance tests.
  6. Summarize the main content of the paper

    AgentMonBench evaluates consequential decision monitoring, EBG organizes evidence; the authors state there are improvements in most settings, but still room for improvement.

    In long-horizon software engineering tasks, users need to judge which agent choices are worth verifying. The authors use AgentMonBench to evaluate monitors and use the training-free EBG to organize evidence with sources.

    The benchmark is constructed from DeNovoSWE and SWE-chat, with 100 examples in each of three subsets. SpecGAP deletes consequential conditions from documents; SilentSwap adds five semantic replacements while existing tests still pass; FeedbackTrace locates verification points with real feedback, but the monitor only sees the pre-feedback trajectory. EBG encodes evidence into behaviors, then graphs them by scope and explicit relations, rendering one-hop repository views or Current/History trajectory views, leaving semantic judgment to the monitor.

    Eight monitor models are evaluated against direct reading of the original text; repository tasks additionally compare RepoGraph (Table 1). The authors state that decision identification and evidence localization are higher in most settings; Appendix E.1 states that SilentSwap's LS and LC are higher than Base and RepoGraph on all eight monitors. Kimi K3's EBG SF1 is 0.558, GLM-5.3's EBG LS is 0.708, and Kimi K3 and GPT-5.6 Sol's EBG EHR is 0.610. DeepSeek-V4-Pro's Base SF1 is 0.123. Terra's VPA is 0.508, lower than its Base's 0.513.

    The authors conclude that current models still have room for improvement, and that organizing evidence by behavior can serve as a basis for human oversight. When evidence is already visible, judgment failure still accounts for 74.0%–81.2% of SpecGAP failures (GLM-5.2, Table G1).

Read originalarxiv.org