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.1.tar.gz (57.4 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.1-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: delegate_manifest-0.1.1.tar.gz
  • Upload date:
  • Size: 57.4 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.1.tar.gz
Algorithm Hash digest
SHA256 7916d718f76536e6f83e81c2d7615a58c74b1c30145f5ad7c7700914820078a2
MD5 b4e876f365095a8695182c18705e45ff
BLAKE2b-256 418951169595af49b327c852dee1d9ec12f73947f0b062e05f417fb3a03c92bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for delegate_manifest-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eaca568edd789d944d66425c824c8fb9d455539da8a742f38f1f04e12b3d6631
MD5 31a4a2454f2dd47781e6181c0df511bf
BLAKE2b-256 59f2e38a91524a15fb82ff62ec1ad87b7ef7efc632d2ced8345d1e427f4205c4

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