Skip to main content

IDProva SDK — AI agent identity, delegation, and audit

Project description

IDProva Python SDK

Verifiable identity for the agent era. Ed25519-based agent identity, scoped delegation tokens, and hash-chained audit receipts.

Install

pip install idprova

Quick Start

from idprova import AgentIdentity

# Create an agent identity
identity = AgentIdentity.create("my-agent", domain="example.com")
print(identity.did)  # did:aid:example.com:my-agent

# Issue a delegation token
dat = identity.issue_dat(
    "did:aid:example.com:sub-agent",
    ["mcp:tool:read"],
    expires_in_seconds=3600,
)
print(dat.to_compact())  # JWS compact serialization

Documentation

See idprova.dev for full documentation.

License

Apache-2.0

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

idprova-0.1.1-cp39-abi3-win_amd64.whl (575.1 kB view details)

Uploaded CPython 3.9+Windows x86-64

File details

Details for the file idprova-0.1.1-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: idprova-0.1.1-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 575.1 kB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.12.6

File hashes

Hashes for idprova-0.1.1-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9be4a84b238b130727fe8302ff128f4569de1624181b6498235eafe6ff446dd1
MD5 7e32b4c07a0072396448396551c0d814
BLAKE2b-256 efc66fd68f10c4dccf9cac0fd9afa8f14b5c44f6200daed0d869a534efd93c37

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