liveBook · Manning

Chapter 18: Authorization for AI agents

What you will learn in chapter 18 of Authorization in Action

ACME’s experience shows why agents that choose and revise actions at runtime need explicit, ongoing authorization rather than access based merely on their ability to reach a tool.

After this chapter you will be able to

What it builds on

Section by section

Introduction

ACME’s experience shows why agents that choose and revise actions at runtime need explicit, ongoing authorization rather than access based merely on their ability to reach a tool.

Key terms: authentication, authorization, internal APIs, dynamic planning loop, runtime, principal, action, resource, context, policy

18.1 Why authorization is the hard problem in agentic AI

This section explains why agents’ changing plans and tool use make authorization a continuous, action-by-action governance problem rather than a one-time application check.

Key terms: dynamic planning, tool-based execution, adaptive behavior, zero-trust principles, runtime decision-making process, policy engine, policy architecture, tool use, delegation, runtime constraints

18.2 How agents interact with external systems

This section explains how agents use external tools and why each proposed tool action needs authorization that accounts for the authority behind it.

Key terms: tool invocations, structured tool interfaces, command-line interfaces, Model Context Protocol, MCP server, input schema, PARC, confused deputy, principal, action

18.3 A policy-aware agent loop

This section explains how an agent checks each proposed action against policy before execution and replans when an action is denied.

Key terms: agent, authorization decisions, execution loop, Policy Enforcement Point (PEP), PARC model, Principal, Action, Resource, Context, Policy Decision Point (PDP)

18.3.1 Authorization as part of the feedback loop

This subsection explains how authorization decisions become feedback that guides an AI agent’s next action.

Key terms: agent loop, feedback loop, PEP, permit, deny, authorized boundaries

18.3.2 Defining operational boundaries with policy

This section shows how policies keep agents within task-specific resource boundaries and prevent them from changing the controls that govern their work.

Key terms: policies, resources, current task, current customer, operational, control-plane actions, workflows, critical controls

18.3.3 From predefined workflows to governed behavior

The section explains why agents’ unpredictable action sequences require authorization at each action rather than only at predefined workflow checkpoints.

Key terms: predefined workflows, agentic systems, static authorization models, policy-aware loop, policy evaluation, execution loop, per-action access control, zero-trust principles, current conditions

18.3.4 Practical implications

This section explains the practical effects of checking agents’ actions against policy and shows how an external policy layer can govern tool use without preventing agents from adapting.

Key terms: continuous enforcement, dynamic adaptability, operational boundaries, behavioral feedback, principal, policy framework, AgentCore Policy, Cedar, enforcement gateway, external policy layer

18.4 Beyond denial: Guiding agent behavior with policy constraints

The section explains why permitting or denying each attempted tool call is not enough to guide an agent toward actions policy allows.

Key terms: policy-aware loop, permit or deny, trial and error, policy constraints

18.4.1 From reactive enforcement to constraint-aware planning

This section explains how an agent can query policy during planning to identify actions or resources that policy permits, rather than discovering constraints only after proposing an action.

Key terms: Typed Partial Evaluation (TPE), partial authorization request, PARC model, policy-derived constraints

18.4.2 Integrating constraints into the planning loop

This subsection shows how an agent uses policy-derived constraints to plan while leaving authorization decisions to runtime checks.

Key terms: constraint query, partial request, policy residual, policy-derived constraints, authorization check, runtime enforcement, policy engine

18.4.3 Reducing trial and error

This subsection shows how checking policy constraints before acting prevents an agent from repeatedly attempting prohibited access.

Key terms: constraint-aware planning, policy system, trial-and-error behavior

18.4.4 Policy as a source of guidance

This subsection contrasts policy as a reactive gate with policy as guidance that helps an agent plan within authorized boundaries.

Key terms: policy constraints, constraint-aware model, planning, gate, guide

18.4.5 From control to collaboration

This section explains how authorization can guide an agent’s planning and control the order of its actions through policy context or changing delegation.

Key terms: constraint-aware authorization, policy, replan, sequencing, contextual attributes, authorization request, task progression, delegation data, authority, runtime

18.5 Childproofing the control plane

This section explains how ACME lets agents perform useful tasks while using policy to keep the system’s configuration and governing rules out of their reach.

Key terms: control plane, safeguards, operational actions, control-plane actions, delegated authority, trusted administrative principals, operational boundaries, control-plane protections

18.6 Delegation and subagents

The section introduces the authorization problem created when a primary AI agent delegates work to specialized subagents and explains why delegation must be explicit.

Key terms: primary agent, subagents, implicit delegation, structured data, policies

18.6.1 Delegation as data

The section explains how a subagent’s delegated authority can be represented as data or attached policies, and how either approach remains subject to authorization policy.

Key terms: delegation record, delegator, delegate, delegation scope, expiration, PEP, authorization request, policy system, Policy as Data, Policy as Code

18.6.2 Enforcing delegation at runtime

This section explains how a subagent’s proposed action is authorized at runtime using both general policies and the limits of its delegation.

Key terms: subagent, PEP, delegation record, authorization request, context, base policies

18.6.3 Policies that enforce delegation

This section explains how layered Cedar policies enforce an agent’s delegation by checking the named delegate and limiting the grant to its recorded scope.

Key terms: delegation record, delegate, subagent, forbid policy, permit policy, allowed actions

18.6.4 Allowed and denied behavior

This subsection shows how authorization decisions keep a subagent’s actions within its delegated authority.

Key terms: subagent, delegated scope, delegation constraints, authorization request, permit decision, deny decision

18.6.5 Delegation as constrained authority

This section explains that delegation lets agents share work only within authority already granted by policy and narrowed by task-specific constraints.

Key terms: base policies, delegation constraints, delegation data, task-bound scope, controlled and auditable, subagent, evaluated in context

18.6.6 Extending the policy-aware architecture

The section shows how policy-aware authorization extends to delegated agents, using bounded mandates, checks before issuance, and enforcement at every tool call.

Key terms: policy-aware architecture, delegation record, policy engine, subagents, OVID, OVID-ME, Cedar mandate, attenuated authority, ambient authority, Carapace

18.7 Cross-domain delegation among agents

The section explains how agents can delegate authority across organizations while preserving local authorization boundaries, and how changing authorization context affects decisions in agentic systems.

Key terms: society of agents, promises, reputation, local policies, promise, verifiable credential, delegated authority, reputation database, authorization context, steering signals

18.8 Summary

Where this is used later

Concepts explained in this chapter

← Chapter 17: AI in policy practice Chapter 19: Authorization as strategy →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.