Skip to main content

Python SDK for AgentVeil: agent identity, 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 agentveil import AVPAgent

agent = AVPAgent.create(mock=True, name="demo-agent")
agent.register(display_name="Demo Agent")

rep = agent.get_reputation()
print(rep["score"], rep["interpretation"])

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-2022 Data Integrity proofs.
  • DID identity with portable did:key Ed25519 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

License

MIT. See the license.

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

agentveil-0.7.10.tar.gz (91.8 kB view details)

Uploaded Source

Built Distribution

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

agentveil-0.7.10-py3-none-any.whl (73.1 kB view details)

Uploaded Python 3

File details

Details for the file agentveil-0.7.10.tar.gz.

File metadata

  • Download URL: agentveil-0.7.10.tar.gz
  • Upload date:
  • Size: 91.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for agentveil-0.7.10.tar.gz
Algorithm Hash digest
SHA256 384992d0dbb3fcef2aca799e2023750733eabf954dd485fbd265672e2acc3400
MD5 857281fd8befa7305205b2ca97bff34c
BLAKE2b-256 ca4fdd78b5ab397509f400a4de1138588c26e8716536ee548c69260104dabc65

See more details on using hashes here.

File details

Details for the file agentveil-0.7.10-py3-none-any.whl.

File metadata

  • Download URL: agentveil-0.7.10-py3-none-any.whl
  • Upload date:
  • Size: 73.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for agentveil-0.7.10-py3-none-any.whl
Algorithm Hash digest
SHA256 69fa979c16e3fe931258c998108381166474e03d4b630b6ac9f5cdda47e77c69
MD5 854e0c99bd3cd043678481ba0a46aa3a
BLAKE2b-256 82ab690e62b69e2e41001e0999dffcd0a38652c455b807cb80264625ba879f5e

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