Catalog PyPI
PACKAGE EXPLORERView in registry

agent-passport-standard

PyPI

Agent Passport Standard (APS) — Python SDK

ai-agentapsdided25519identitypassporttrust
Versions collected1
Direct dependencies6From release 1.0.0
Last observed20 Oct, 22:50 UTC

README

Version 1.0.0 documentation

APS Python SDK

Python SDK for the Agent Passport Standard v1.0.0.

Install

pip install aps

Quick Start

from aps import AgentPassport, PassportConfig, Skill, Soul, Policies, Lineage, generate_key_pair

pub, priv = generate_key_pair()
from cryptography.hazmat.primitives.serialization import Encoding, PublicFormat
pub_hex = pub.public_bytes(Encoding.Raw, PublicFormat.Raw).hex()

passport = AgentPassport.new(PassportConfig(
    id="did:key:z6MkExample",
    public_key=pub_hex,
    owner_did="did:key:z6MkOwner",
    skills=[Skill("python", "1.0.0", "Python dev", ["code_write"], "0x" + "ab" * 32)],
    soul=Soul("focused", "tdd", [], "0x" + "cd" * 32),
    policies=Policies("0x" + "ef" * 32, ["can_bid"]),
    lineage=Lineage("original", [], 0),
))

passport.sign(priv)
assert passport.verify(pub)

Development Build

python -m pip install -e ".[dev]"
python -m pytest tests/ -v
python -m build

Publish Commands

python -m twine upload dist/*

Tests

python -m pytest tests/ -v

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.011 Jun 20266

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
cezexpl/agent-passport-standard

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:50 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:c4b9651ce329fe83dee43db03949f392b86c9daa81a253126443762fc65f68c8