Skip to main content

AgentPermissionManifest — typed permission middleware for LangGraph agents

Project description

🛡️ Delegate Manifest

Zero-Trust Permission Middleware for AI Agents.

PyPI version License: MIT

Delegate Manifest is a framework-agnostic Python library that enforces explicit permission boundaries on AI agents. It was engineered to solve the Agentic Latency Trap: the friction and context loss caused by redirecting users to browsers for OAuth consent mid-execution.

By integrating this library with Auth0 Token Vault and Auth0 CIBA, developers can build agents that hold zero credentials and request high-stakes permissions via out-of-band push notifications (Auth0 Guardian) without ever breaking the LLM's context window.


✨ Key Features

  • Explicit Manifests: Map agent tools to microscopic OAuth scopes and security classifications (safe vs requires_stepup).
  • LangGraph Integration: Drop-in replacement for the standard ToolNode with ManifestToolNode.
  • Runtime Kill-Switch: Tools can be disabled in memory instantly; the middleware hard-interrupts the agent before any Auth0 or API calls are made.
  • Forensic Audit Log: Every action emits a SHA-256 chained receipt (Witness Pattern), creating a tamper-evident cryptographic trail.
  • Framework Agnostic: Decoupled from FastAPI; uses a broadcast_fn pattern to pipe events to SSE, WebSockets, or internal logs.

📦 Installation

pip install delegate-manifest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

delegate_manifest-0.1.0.tar.gz (57.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

delegate_manifest-0.1.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file delegate_manifest-0.1.0.tar.gz.

File metadata

  • Download URL: delegate_manifest-0.1.0.tar.gz
  • Upload date:
  • Size: 57.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for delegate_manifest-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9801e5d9cb61383d1cf503ed89443d1ee5bb406590886501b6250a987b37654d
MD5 e631114eb8db8622c09afb65d79abac5
BLAKE2b-256 66b5a0e2d143c49b4c8db597da104e2a5917f054f6ed579e70c65cdf1d800723

See more details on using hashes here.

File details

Details for the file delegate_manifest-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for delegate_manifest-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 433d0d400326b9da8e90bea5b311b98ce7f2a5dd581d954edfe54b7652027e3b
MD5 14eb22a9f42d34d0efa71226be02fc57
BLAKE2b-256 96d5d1ded764335065e600a12de57a2d2a8ca995fc7616d0812c3977adee11f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page