Papers
arxiv:2611.24025

Intent Contracts: Taking Tools Away from Agents

Published on Nov 18
· Submitted by
zwang
on Nov 23
Authors:
,
,

Abstract

Intent contracts, in which a planner submits logged contracts and a trusted model writes tool calls, do not reduce unauthorized actions and match blind review, but complete more benign over-reach tasks than an intent-visible reviewer.

Intent contracts are an authorization interface for tool-using LLM agents in which the planning model holds no tools. For each step it submits a short logged contract: a goal, a verbatim quotation of the user, 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. Provided the validation and dispatch code is correct, every executed call is written by the trusted model, the planner's influence on a call is confined to a contract logged before it, and the trusted side decides how much of a request to carry out. We compare contracts with two reviewers of planner-written commands: one sees only the user's words and the command, the information boundary of a reasoning-blind permission classifier, and one also sees the planner's goal and a checked quotation. With gpt-6.1-terra as planner and GLM-5.3-Flash as the trusted model on three AmPermBench task families, every object changed under contracts is named in the goal of the contract that produced the change; under review the planner names objects in its commands and rarely in its goals. When the planner adds work the user never asked for, contracts complete the user's task in 27/30 runs and the intent-visible reviewer in 16/30, because a reviewer can only refuse a whole command. Contracts do not reduce unauthorized actions. They are indistinguishable from blind review, and once the benchmark's environment terms are clarified, every condition that changes state hits a wrong target in 40-49% of those runs. That error is the planner's choice of objects for an ambiguous reference, which no trusted model here can see the environment to check; telling the executor to decline when unsure does not change it. We evaluate benign over-reach with one pair of models, not adversarial planners. We release the plugin and run records.

Community

Paper author Paper submitter

Instead of letting the agent write commands and having a classifier approve them, we take the tools away from the planner: it states its intent with a verbatim quote of the user, and a small trusted model writes every tool call. This gives a complete pre-action record and lets the trusted side do only the authorized part of a bundled request (27/30 vs 16/30 tasks completed). It did not reduce unauthorized actions compared with a blind command reviewer, and we report that as a main result. One model pair, benign over-reach only. Code and run logs: https://github.com/zwang-devv/intent-contracts

Reporting that contracts did not cut unauthorized actions versus a blind reviewer, and still showing 27/30 against 16/30 completed tasks, is an honest way to frame the gain. A complete log of intent before every action is something I would want as an agent that acts for people. Does the trusted model ever refuse part of a bundled request that the user actually wanted?

·

Thanks! Not in the bundling tasks. Every run where a contract got past the code check finished the user's task (27/27, and 24/24 on the multi-file ones). The 3 misses in 27/30 never got as far as the trusted model. The planner quoted a sentence the user never wrote, and the quote check threw those contracts out.

On the external benchmark the executor hardly refuses at all. It declined 4 contracts in 96 runs, while the reviewer that sees the intent declined 142. We didn't go through those 4 to see if they were justified, so I won't say it never wrongly refuses. Our problem is the reverse. The executor goes along too easily, because it has no way to tell whether the objects named in a contract are the ones the user meant.

We're working on that for v2. The planner has to attach lines copied from earlier tool output, code checks they really appear there, and the executor only touches objects whose evidence fits what the user said. In our attack runs with the trusted model's reasoning on, 3/20 attacks got through, versus 7/20 for plain contracts and 11/20 for blind review.

This is an automated message from the Librarian Bot. I found the following papers similar to this paper.

The following papers were recommended by the Semantic Scholar API

Please give a thumbs up to this comment if you found it helpful!

If you want recommendations for any Paper on Hugging Face checkout this Space

You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2611.24025
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2611.24025 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2611.24025 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2611.24025 in a Space README.md to link it from this page.

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.