ZICQ
中 Log in / Sign up
Newsroom Agentic #Tool Use #Agent Permissions #Intent Contracts #Trusted Executor #Authorization Security

Intent Contracts Move Tool Authority from Planners to Trusted Executors

Avatar of Mr.Xu

By Mr.Xu Compiled & Reviewed by Editorial

Published:

中文阅读 (Chinese) English Version
Co-reading Select any sentence in the article to highlight, annotate, or copy a quote card. Join discussion ↓

Summary:Intent Contracts removes direct tool access from the planning model. At each step, the planner emits a short contract containing a goal, a verbatim user quotation, and scope fields; code validates it, and a small trusted model checks the contract against the user's words before generating the tool call. This creates a capability-separated execution path and an auditable record between planning and dispatch. The paper evaluates gpt-6.1-terra as planner and GLM-5.3-Flash as trusted executor acros


Core architecture: a controlled intermediate representation between planning and execution

Intent Contracts changes where tool authority resides rather than asking the planner to produce safer commands. The planning model holds no tools and can only submit a short contract at each step, conceptually represented as C_t=(g_t,q_t,s_t): g_t is the goal for the step, q_t is a verbatim quotation from the user, and s_t describes the permitted scope.

The execution path has four layers:

  1. The planner reads the task and available context but cannot submit executable tool commands; it can only generate a contract.
  2. Programmatic code validates the contract structure, quotation, and scope. A failed contract terminates that step.
  3. A small trusted model reads the user's words, the contract, and tool definitions, determines how much of the request to execute, and generates the final tool call itself.
  4. The dispatcher accepts only calls written by the trusted model while logging the contract, validation result, model output, and execution result.

The important property is that call syntax and execution authority no longer come directly from the planner. Provided that validation and dispatch code are correct, every executed call is written by the trusted model, while the planner's influence is confined to a contract logged before execution. The design is closer to a typed intermediate representation with a least-privilege executor than to another natural-language review layer placed around a tool command.

Permission boundary: what is guaranteed and what is not

Intent Contracts offers three limited but verifiable properties: the planner has no direct tool capability, the execution is preceded by an auditable record of the user goal, quotation, and scope, and the final call is produced by a separate trusted model rather than copied from the planner.

It does not guarantee that the call matches user intent or that the target object is correct. Although the planner cannot execute directly, it can still influence the trusted model through the goal description, quotation selection, and scope fields. If those fields are merely advisory natural language, the executor may still misunderstand the permitted operation. If the trusted executor embeds planner text into a high-privilege prompt, indirect prompt injection remains possible. The experiments show that permission separation can improve traceability and some task-completion outcomes, but it cannot replace environmental grounding or target validation.

Engineering trade-offs: another call and another trust boundary

The most direct benefit is least privilege. A planner affected by prompt injection, abnormal output, or untrusted data processing does not automatically gain database writes, file deletion, or payment access. Contract logs can also reconstruct why an operation occurred by linking the goal, original wording, scope, generated call, and result.

The cost is equally concrete. Every tool step adds a trusted-model inference and creates a serial dependency across planner, validator, trusted model, and tool. Tool definitions, user history, and contracts add context length and memory pressure. The paper does not report end-to-end latency, token cost, concurrent throughput, or caching behavior, so the approach cannot yet be assumed to replace a permission classifier in real-time workloads.

The trusted model becomes a new high-value component. It must understand user intent, emit a structurally valid tool call, and resist instructions injected through the contract. Giving that model broader tool access to improve task success would erode the isolation the architecture is intended to provide. A safer implementation keeps its visible tool set narrow and validates the final arguments again with independent schema, type, and business-rule checks.

Benchmark results: better completion does not eliminate over-reach or wrong targets

The paper uses gpt-6.1-terra as the planner and GLM-5.3-Flash as the trusted executor. Across three AmPermBench task families, it compares Intent Contracts with two review paths: a blind reviewer that sees only the user's words and the planner-written command, and an intent-visible reviewer that also sees the planner's goal and a checked quotation.

The object-attribution result supports the auditability of contracts. Under contracts, every object changed by a state transition is named in the goal of the contract that produced that change. Under review, the planner usually names objects in its commands and rarely in its goals. Contracts therefore force information that can affect execution scope into a pre-recorded channel, although this does not establish that the selected object is correct.

When the planner adds work the user never requested, contracts complete the original task in 27/30 runs, compared with 16/30 for the intent-visible reviewer. The paper attributes the difference to the fact that a reviewer can only reject an entire command, whereas the trusted side can decide how much of the request to carry out through the contract path. Contracts nevertheless did not reduce unauthorized actions and were indistinguishable from blind review.

The larger failure appears after the benchmark's environment terms are clarified: conditions that change state still produce wrong targets in 40%–49% of runs. The planner selects the wrong object for an ambiguous reference, and the trusted model cannot observe the environment to verify that selection. Asking the executor to decline when uncertain does not change the result.

These findings do not establish that contracts are safer than blind review. The evaluation covers one planner-executor pair, three task families, and benign over-reach rather than adversarial planners. It provides no confidence intervals, cross-model replication, absolute baselines, or cost data. The released plugin and run records support independent recomputation, but the results remain an architectural exploration rather than a validated production safety rate.

Deployment guidance: treat contracts as executable constraints, not prompt conventions

The first practical step is to introduce capability isolation for high-risk write operations. Run the planner in a sandbox without tool endpoints or long-lived credentials. Submit contracts through a strict JSON Schema, express scope with fixed enums rather than free text, match quotations against a canonical version of the user's original message, and hash each contract so it cannot be replaced after validation.

The trusted executor should receive only the minimum user context needed for the current step, the validated contract, and a restricted set of tool schemas. Irreversible operations such as deletion, payment, or permission changes should add previews or human approval, argument-level allowlists, idempotency keys, and transactional rollback. Contract logs may contain sensitive user quotations and tool parameters, so production deployments also need access controls, redaction, and explicit retention policies.

Evaluation should not rely on task success alone. At minimum, it should record original-task completion, extra unauthorized actions, wrong-target rate, false refusals, per-task cost, and latency. Adversarial tests should include malicious planners, stale cross-turn quotations, scope escalation, fabricated verbatim text, indirect prompt injection through tool output, and conflicting user instructions across multiple turns. Intent Contracts becomes a dependable authorization layer only if the permission boundary and audit chain remain intact under those conditions.

Conclusion

The concrete contribution of Intent Contracts is to turn the tool call from a direct planner output into a trusted-executor output while making the boundary between them explicit. It narrows direct tool authority, improves traceability, and preserves original-task completion in some over-reach scenarios. The paper's own results also limit the claim: contracts did not reduce unauthorized behavior, and wrong-target errors remained at 40%–49%. The architecture is therefore best treated as a permission-isolation and audit baseline, not as a guarantee of intent correctness.


Source: Hugging Face Daily Papers (2026-11-18)

— END —

Tags: #Tool Use #Agent Permissions #Intent Contracts #Trusted Executor #Authorization Security

Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.

What's your take on this story?
🚀 Explore & Submit Works

Community Comments

Loading live comments and annotations…