Current collected state Current
Observed since 20 Oct, 22:54 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Python SDK for AgentPKI — cryptographic identity for AI agents. PASETO v4 passports, Ed25519 signing, RFC 9421 HTTP Message Signatures.
Python SDK for AgentPKI — cryptographic identity for AI agents.
pip install agentpki
from agentpki import generate_key_pair, sign_passport, verify_passport
import time
kp = generate_key_pair()
now = int(time.time())
token = sign_passport(
{
"v": 1,
"iss": "example.com",
"sub": "agent:example.com/research-bot-v1",
"iat": now,
"exp": now + 3600,
"jti": "0e4f8a2c91b34e7b9c5d8a1e2f3b4c5d",
"tier": 1,
"scope": ["read:articles"],
},
private_key=kp.private_key,
kid="example-2026-q2",
)
result = verify_passport(token, kp.public_key)
assert result.valid
assert result.payload["iss"] == "example.com"
See examples/round_trip.py for a complete sanity check covering signing, parsing, verification, tamper detection, expiry enforcement, lifetime cap, and RFC 9421 HTTP Message Signatures.
MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.2.0a1 | 30 May 2026 | 4 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 22:54 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:6c90704a1ea808a0cee4af897c4463b9fd9b2ba5576244acff16b439e2ae5e08