liveBook · Manning

Constraint-aware planning

As explained in Authorization in Action

Constraint-aware planning is an agent planning technique that incorporates authorization constraints into strategy selection before actions are executed.

An agent pursuing a goal should learn which actions are possible before executing them. Constraint-aware planning queries authorization policy early, incorporates the resulting constraints into strategy selection, and avoids discovering boundaries only through failed requests. section 18.4

Avoiding restricted credential files

A reactive agent may probe several paths to restricted credential files, receiving repeated denials and revising its plan after each failure. A constraint-aware agent queries policy first, recognizes that the operation is prohibited, and avoids generating the request. section 18.4.3

The technique changes authorization from a passive boundary into planning guidance:

  • Policy systems can return residual constraints from partial requests, allowing agents to shape plans before execution. section 18.4
  • Across domains, downstream resources can advertise permitted and prohibited operations so upstream agents fit their plans to layered authorization boundaries. section 18.7
  • This reduces invalid exploration, unnecessary requests, and risky attempts while preserving policy enforcement at the resource that owns the decision. section 18.4.3 section 18.7
Figure 18.5 Cross-domain delegation in a society of agents. Two policy-limited agents collaborate across domains. The receiving agent makes promises about its future behavior, and the requesting agent assesses those promises and the partner’s reputation and then grants authority using a credential. The receiving agent operates under its own policies, and both domains log the outcome for future decisions.

A cross-domain delegation diagram shows how policy-limited agents exchange promises and credentials while each domain retains its own authorization policies and logs. section 18.7

How Authorization in Action covers it

How deep it goes
Explains policy prequeries and plan incorporation, but stops short of specifying a general planning algorithm.
Examples
Uses restricted credential files and cross-domain reimbursement delegation to contrast denial-driven exploration with policy-guided planning.
What it assumes
Assumes agent goals and authorization denials, then teaches how policy responses can guide plans before execution.
What you can do after
Apply it to avoid prohibited operations by querying policy constraints before selecting agent actions.
How it connects
Connects agent planning with authorization policy, delegation, layered authorization, identity, and portable authority evidence.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Authorization in Action. The section links point to the parts of the book it draws on.