Skip to main content

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

Metadata

Release files for idprova 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for idprova 0.1.1
File Interpreter ABI Platform
idprova-0.1.1-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details

Release files / idprova-0.1.1-cp39-abi3-win_amd64.whl

Download URL idprova-0.1.1-cp39-abi3-win_amd64.whl
Size 575.1 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
9be4a84b238b130727fe8302ff128f4569de1624181b6498235eafe6ff446dd1
BLAKE2b-256 checksum
How to use checksums
efc66fd68f10c4dccf9cac0fd9afa8f14b5c44f6200daed0d869a534efd93c37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.12.6

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page