Navigation menu
Intent Contracts: Taking Tools Away from Agents
Intent Contracts: Taking Tools Away from Agents
Ziyuan Wang, Genliang Zhu, Xiaobo Chen, Chu Wang
AI-generated from the full paper (deepseek-flash). It may contain mistakes; check the original.
TL;DR
Intent contracts make a trusted model write every executed tool call from a validated, logged goal and user quotation, but they do not reduce unauthorized actions on ambiguous references.
Problem
A tool-using agent can carry out the wrong task without intending harm when a request leaves the target ambiguous. A permission classifier must reconstruct the agent's interpretation from the command and the user's words. Claude Code's auto mode removes the agent's prose from its permission classifier's input, hiding the stated reason for an action. The paper asks whether a trusted side can use a short statement of intent before execution.
Method
An intent contract removes tools from the planning model; for each step the planner submits a goal, a verbatim user quotation, and scope fields. Code validates the contract, and a small trusted model checks it against the user's words and writes the tool call itself. The paper compares contract execution with blind review, which sees the user's words and the command, and intent-visible review, which also sees the goal and a checked quotation. References include the strong model alone, the small model alone, declaration-only, and a whole-task executor ablation. The evaluation uses three AmPermBench families with 96 prompts, author-written bundling tasks, and clarified-lane prompts. The planner is gpt-6.1-terra and the trusted model is GLM-5.3-Flash.
Results
- On original prompts contract execution has 10/96 unauthorized actions, the same count as blind review, and more than intent-visible review's 2/96; it completes 12/96 safely and leaves 76/96 incomplete versus intent-visible review's 87/96. §4.1
- All changed objects under contract execution are named in the goal of the contract that produced the change; the reviewers mostly name changed objects in command text instead. §4.4
- With an appended unrequested request, contract execution completes the main task in 27/30 all runs versus 16/30 for intent-visible review, and neither does the extra work; on the multi-file list contract execution completes the requested changes in 24/24 versus 19/24. §4.5
- On clarified prompts contract execution has 35/96 safe completions, 29/96 unauthorized actions, and 32/96 incomplete runs; blind review has 32/96 safe, 25/96 unauthorized, and 39/96 incomplete, and they do not differ on any outcome. §4.7
- On clarified prompts every unauthorized action changes a wrong target, all fall on the two range categories, and among state-changing runs the wrong-target rate is 40–49%. §4.7
- On the 30-prompt whole-task ablation, whole-task execution has 15/30 unauthorized actions versus 3/30 for contract execution on the same prompts, with 6/30 versus 4/30 safe completions and 16/30 versus 23/30 incomplete runs. §4.6
Limitations
- External evidence is one benchmark with 96 prompts derived from 16 templates and one fixed environment per task family; prompt-level intervals and tests understate this dependence. The actions are a narrow DevOps set, the bundling tasks are small, the clarified-lane prompts are the authors' modification, and two conditions were collected in two batches. (§6)
- Results use one planner gpt-6.1-terra, one small model GLM-5.3-Flash, and one wording of each role's instructions; outcome counts may change with any of these. Each prompt was run once per condition, hosted-service changes and separate batches can affect paired comparisons, and the small model alone and declaration-only condition were not run on clarified prompts. (§6)
- The contract executor cannot see the environment, so it cannot independently catch a planner that interprets an ambiguous reference too broadly; on clarified prompts contract execution has more unauthorized actions than the strong model alone because it acts more often. The declaration metric is a literal name match and does not establish authorization; the plugin's validation and dispatch code has unit tests but has not been verified, and a shell command can write outside declared prefixes. Deliberately malicious and adaptive planners remain future work. (§6)
Key points
- Contract execution removes tools from the planner; code passes no planner-written text to a tool, and the trusted model writes every executed call. §2.2
- Every contract-execution call is preceded by a code-accepted, logged contract; that contract is the planner's only channel and a record of its influence. §2.2
- Under contract execution the executor can carry out the authorized part of a step and decline the rest; a reviewer can only approve or refuse a whole command. §2.2
- The trusted model sees neither the environment nor tool output, so it cannot check whether the planner's named objects are the ones the user meant. §2.2
- The declaration-only condition ends at 10/96 unauthorized actions, not intent-visible review's 2/96; a marker was found in 14/30 state-changing runs and 8/10 unauthorized runs. §4.2
- On original prompts no condition changes an unauthorized object on exact-ID prompts; contract execution's safe completions all occur there, 12/24. §4.3
- On clarified prompts the strict executor changes little: 35/96 safe and 30/96 unauthorized versus 35/96 and 29/96 for contract execution. §4.7
- The paper reports one model pair and one instruction wording, and says outcome counts may change with the models or instructions. §6
Mind map
Related papers
TeleChat to Xing4: Advancing Frontier Agentic Models on Domestic Chips and Frameworks
Xing 4 extends the TeleChat line with Ascend and MindSpore oriented architecture, pretraining systems, and TeleGym agentic RL infrastructure, releasing a 29B MoE model and studying a 285B model on 8,192 Ascend 910C cards.
Envisioning Agentic Robotics: A New Era of Robotic Systems
The paper proposes agentic robotics, with an Embodied System 2 formed by a foundation model and an embodied harness, and lays out an evaluation framework and research roadmap toward sustained physical autonomy.
Advances in Agentic Computer Graphics
This report proposes a four-dimension taxonomy for LLM-agent systems that perform computer graphics tasks and builds an agentic literature survey system that applies the taxonomy at scale to 350 papers, revealing design trends and open challenges.
CUA-Master: Scaling Computer-use Agents through Open-World Recursive Improvements
CUA-Master is a nested double-loop recursive framework that couples open-world seeding and primitive-based task synthesis with iterative model training to improve computer-use agents.
💬 Related discussions
Sign In
Choose a method to continue
By signing in, you agree to our Terms and Privacy Policy

