mlsanityData to 14 Oct 2026

ContractBench: Can LLM Agents Preserve Observation Contracts?

arXiv 2605.17281 ↗First posted 17 May 2026cs.SE cs.AIcited by 2

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

Tool-augmented LLM agents call APIs whose intermediate outputs, such as presigned URLs, session tokens, and OAuth state parameters, are observation contracts: artifacts whose later use is constrained by the external system that produced them. We show that observation contract compliance (preserving the temporal validity and byte-level integrity) is an emergent, regression-prone capability: it is neither guaranteed by general tool-use ability nor consistently improved by larger or newer models. To measure this, we introduce ContractBench, a benchmark of 33 dual-axis tasks that probe two orthogonal failure modes no existing benchmark evaluates: validity failures (using an artifact after expiry) and integrity failures (corrupting an artifact's bytes through the observation-to-action pipeline). Our evaluation is deterministic and programmatic, with a virtual clock controlling time and SHA-256 hashes verifying byte integrity. We assign each outcome a failure label drawn from real-world API specifications. We evaluate 38 models and report four findings: (i) no evaluated model clears 80%, with Claude-Opus-4.6 leading at 77.8%, revealing that current frontier models still fail to comply with observation contracts; (ii) a sharp within-family capability cliff in Qwen 3.5 between 4B (0%) and 9B (56.6%), smoothing to 70.7% at 397B-A17B: what emerges across the cliff is mid-trajectory restraint, not tool-call competence; (iii) non-monotonic scaling across the GPT-5 family: agentic post-training can erode compliance through sycophancy-driven regression; (iv) our failure taxonomy works as an actionable in-context reward signal, yielding +7.1 pp on 42 paired GPT-5.1 failures.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 22 of its 44 references that are in the map. First posted on arXiv 17 May 2026.

Builds on

22 of 44 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Security of AI Agents12 Jun

Other references · 21

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  3. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  4. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  5. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  6. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  7. 2022Emergent Abilities of Large Language Modelscited by 2,512
  8. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
  9. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,947
  10. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
  11. 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,402
  12. 2023AgentBench: Evaluating LLMs as Agentscited by 1,267
9 more
  1. 2024TravelPlanner: A Benchmark for Real-World Planning with Language Agentscited by 392
  2. 2023Inverse Scaling: When Bigger Isn't Bettercited by 207
  3. 2024NATURAL PLAN: Benchmarking LLMs on Natural Language Planningcited by 128
  4. 2025Medical Large Language Model Benchmarks Should Prioritize Construct Validitycited by 38
  5. 2025Agent-R1: A Unified and Modular Framework for Agentic Reinforcement Learningcited by 29
  6. 2025Your LLM Agents are Temporally Blind: The Misalignment Between Tool Use Decisions and Human Time Perceptioncited by 9
  7. 2026Reward Modeling for Reinforcement Learning-Based LLM Reasoning: Design, Challenges, and Evaluationcited by 7
  8. 2026Real-Time Deadlines Reveal Fragile Temporal Adaptation in LLM Strategic Dialoguescited by 5
  9. 2025Can LLM Agents Solve Collaborative Tasks? A Study on Urgency-Aware Planning and Coordinationcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Schema First Tool APIs for LLM Agents: A Controlled Study of Tool Misuse, Recovery, and Budgeted Performance
  2. 2026Capability Gates Are Not Authorization: Confused-Deputy Failures in LLM Agent Frameworks
  3. 2026AgentProv: Auditing Agentic LLM API Providers via Tool-use Policy Probes
  4. 2026LiveClawBench: Benchmarking LLM Agents on Complex, Real-World Assistant Tasks
  5. 2026Verified Tool Calls Improve LLM Agent Reliability Under Non-Atomic Failures
  6. 2026AEX: Non-Intrusive Multi-Hop Attestation and Provenance for LLM APIs
  7. 2025From REST to MCP: An Empirical Study of API Wrapping and Automated Server Generation for LLM Agents
  8. 2026Toward Safe LLM Agents: A Survey of Specification, Verification, and Enforcement