Docs/Authority/Overview

Predicate Authority Overview

predicate-authority is an authorization layer for AI agents. It evaluates actions before execution, issues short-lived mandates, and records proof events for audit and governance.

Identity -> Policy -> Decision -> Action -> Ledger


Core capabilities


IdP compatibility checks (Okta, Entra, OIDC)

Use capability-gated checks before production rollout to choose the delegation path safely:

See runnable commands in:


Package model


Installation

Python SDK

# Core SDK only
pip install predicate-authority

# SDK with sidecar extra (use quotes for zsh compatibility)
pip install "predicate-authority[sidecar]"

# IMPORTANT: The binary is NOT downloaded automatically during pip install.
# You must manually download it:
predicate-download-sidecar

TypeScript SDK

npm install @predicatesystems/authority

# With sidecar binary (automatically included for your platform)
npm install @predicatesystems/authorityd

Sidecar binary (manual download)

Download pre-built binaries from GitHub Releases:

| Platform | Binary | |----------|--------| | macOS ARM64 | predicate-authorityd-darwin-arm64.tar.gz | | macOS x64 | predicate-authorityd-darwin-x64.tar.gz | | Linux x64 | predicate-authorityd-linux-x64.tar.gz | | Linux ARM64 | predicate-authorityd-linux-arm64.tar.gz | | Windows x64 | predicate-authorityd-windows-x64.zip |


Execution model

  1. Build ActionRequest from current agent context.
  2. Call ActionGuard.authorize(request) or sidecar equivalent.
  3. Execute action only when decision is allowed.
  4. Emit mandate + proof events for governance and forensics.

This keeps control decisions explicit and auditable for each action boundary.


Typical deny reasons

Next steps