Python SDK for agent action control: posture checks, action gates, signed receipts, and proof packets
Project description
AgentVeil
Action control for autonomous agents — check posture, gate risky actions, prove execution.
AgentVeil is the Python SDK for agent action control: posture checks, Runtime Gate decisions, signed receipts, W3C verifiable credentials, plus DID identity, reputation signals, and MCP integrations.
pip install agentveil
Quick Start
Run locally with real cryptography and mocked HTTP. No server is required.
from datetime import timedelta
from agentveil import AVPAgent
owner = AVPAgent.create(mock=True, name="workflow-owner")
agent = AVPAgent.create(mock=True, name="demo-agent")
agent.register(display_name="Demo Agent")
delegation = owner.issue_delegation_receipt(
agent_did=agent.did,
allowed_categories=["deploy"],
valid_for=timedelta(minutes=15),
)
verification = agent.verify_delegation_receipt(delegation)
print("delegation valid:", verification["valid"])
print("scope:", verification["scope"][0]["value"])
For production setup, see the Customer Integration guide.
What AgentVeil Provides
- Posture checks before risky agent actions reach production.
- Runtime Gate decisions for allow, approval required, or block outcomes.
- Signed receipts and proof packets for audit and offline verification.
- W3C VC v2.0 credentials with
eddsa-jcs-2022Data Integrity proofs. - DID identity with portable
did:keyEd25519 keys. - Framework integrations for CrewAI, LangGraph, AutoGen, OpenAI, Claude MCP, Gemini, PydanticAI, Paperclip, and AWS Bedrock.
Offline Verification
Fetch a W3C Verifiable Credential:
curl https://agentveil.dev/v1/reputation/{agent_did}/credential?format=w3c
Verify it with any VC library, or with the SDK:
cred = agent.get_reputation_credential(format="w3c")
assert AVPAgent.verify_w3c_credential(cred)
MCP Server
The base install includes the MCP runtime dependency:
pip install agentveil
agentveil-mcp
The compatibility extra agentveil[mcp] still works for legacy setups. MCP setup details are in the MCP README.
Resources
- Full GitHub README and demo
- API reference
- Customer integration guide
- Framework integrations
- Security context
- Examples
- AgentVeil API
- Live Network
License
MIT. See the license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentveil-0.7.11.tar.gz.
File metadata
- Download URL: agentveil-0.7.11.tar.gz
- Upload date:
- Size: 92.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fd371ffb2664c77b30554897aa7bbe026f60a3a6c20af49cb1a3dd7d1d23552
|
|
| MD5 |
7ed340076076f974c72afabdfbcd1d0f
|
|
| BLAKE2b-256 |
f85b9efe55ecdff3d517235b406d460e63e5956adbc79ca7072b5b5a6af3857a
|
File details
Details for the file agentveil-0.7.11-py3-none-any.whl.
File metadata
- Download URL: agentveil-0.7.11-py3-none-any.whl
- Upload date:
- Size: 73.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a96911c3f04523d82e60d2c00bf287283f32d4c7216ef1c7b493a18091ef9b2
|
|
| MD5 |
aedacfda17b8a779b77be3964fb0089e
|
|
| BLAKE2b-256 |
693a8c1cac0b420be18d876a1f012bb8d86bcce670299571e23818599763aff4
|