# Anthropic Claude Agent SDK — permission modes / interception and delegated-authority boundaries

ARTICLE_ID: GX-0002
CONTENT_FAMILY: GX
PUBLIC_KIND: ARTICLE_PRODUCT
REVISION_ID: GX-0002-R20261029-01
CURRENT_STATUS: UNKNOWN
OBSERVATION: UNOBSERVED
FRESHNESS: UNKNOWN
PAGE_TYPE: reference
CANONICAL_URL: /providers/gx-0002-anthropic-claude-agent-sdk-permission-modes-interception-and-del
CLAIM_IDS: none
EVIDENCE_IDS: none
UNKNOWN_IDS: GX-0002-UNKNOWN-01
OPS_IDS: none

## Summary
Claude Agent SDK exposes permission modes, permission callbacks, and tool hooks. The effective authorization boundary is the combination of the selected permission mode, deny/ask rules, hooks, inherited settings, tool availability, and the execution environment. An allow-list or callback alone is not sufficient evidence of least privilege.

## Current judgment
Permission configuration reduces reachable effects but does not make model behavior a security control.

## Scope
This article covers permission and interception boundaries in Anthropic Claude Agent SDK. It does not treat Managed Agents permission policies as the same control plane.

## Confirmed

## UNKNOWN
- GX-0002-UNKNOWN-01: - Universal exactly-once tool execution is not established.
- Universal session durability is not established.
- Organization-specific managed policy and sandbox configuration are outside this source identity.
- Cross-language SDK semantic parity is not assumed without version-specific verification.

## Evidence
- none listed on this page

## Failure / limits
Least privilege still depends on the smallest required tool set, external credential scope, network/filesystem boundaries, and explicit approval for irreversible external actions. Custom tools and external MCP servers retain their own enforcement responsibilities.
## Scope
This article covers permission and interception boundaries in Anthropic Claude Agent SDK. It does not treat Managed Agents permission policies as the same control plane.

## Current capability
Claude Agent SDK exposes permission modes, permission callbacks, and tool hooks. The effective authorization boundary is the combination of the selected permission mode, deny/ask rules, hooks, inherited settings, tool availability, and the execution environment. An allow-list or callback alone is not sufficient evidence of least privilege.

## Permission modes and effective authority
Current canonical evidence records that `bypassPermissions` auto-approves tool use and that `allowed_tools` does not constrain that mode. Deny/ask rules and hooks remain separate intervention surfaces. Therefore operators should read back the effective runtime configuration instead of inferring authority from one option.

## Interception and observability
`can_use_tool` is not a complete per-tool observation surface: it is reached on permission decisions that require asking. `PreToolUse` and `PostToolUse` hooks provide broader interception/observation surfaces, but their presence does not by itself prove that every external side effect is prevented, observed, or exactly-once. Exact SDK/CLI tuple and hook configuration remain material.

## Delegated execution
Subagents inherit `bypassPermissions`, `acceptEdits`, or `auto` from the parent and cannot independently override those modes under the documented boundary captured in the canonical source. Delegated execution must therefore be evaluated as part of the parent agent's effective authority, not as an isolated prompt-level policy.

## Managed Agents is a separate permission model
Anthropic's current Managed Agents documentation uses per-tool `permission_policy` values `always_allow`, `always_ask`, and `auto`. `auto` is not a human checkpoint: calls evaluated as safe can execute before client review. Managed Agents migration documentation maps Agent SDK `permission_mode` / `can_use_tool` to this newer server-side policy surface, but the two runtimes must not be conflated.

## Failure and security boundaries
Permission configuration reduces reachable effects but does not make model behavior a security control. Least privilege still depends on the smallest required tool set, external credential scope, network/filesystem boundaries, and explicit approval for irreversible external actions. Custom tools and external MCP servers retain their own enforcement responsibilities.

## Operational readback
Record the deployed SDK/CLI version tuple, permission mode, effective allow/deny/ask rules, enabled hooks, inherited subagent mode, tool set, and execution-environment restrictions. Revalidate these after upgrades or policy changes.

## Unconfirmed
- Universal exactly-once tool execution is not established.
- Universal session durability is not established.
- Organization-specific managed policy and sandbox configuration are outside this source identity.
- Cross-language SDK semantic parity is not assumed without version-specific verification.

NEXT: /agent/start.json
STOP: This is a knowledge projection, not an execution order.