Skip to main content

agentic-identity

Python bindings for the AgenticIdentity cryptographic trust anchor.

Install

pip install agentic-identity

Note: The native shared library must be built first:

cargo build --release -p agentic-identity-ffi

Quick Start

from agentic_identity import Identity, verify_receipt, version

print(f"Library version: {version()}")

# Create a new identity
identity_id = Identity.create(
    path="agent.aid",
    passphrase="strong-passphrase",
    name="my-agent",
)
print(f"Created: {identity_id}")

# Load and use the identity
with Identity.load("agent.aid", "strong-passphrase") as identity:
    print(f"ID: {identity.identity_id}")
    print(f"Public key: {identity.public_key}")

    # Sign an action
    receipt = identity.sign_action(
        action_type="decision",
        description="Approved deployment to production",
    )

    # Verify the receipt
    assert verify_receipt(receipt)
    print("Receipt verified!")

Features

  • Zero dependencies — only Python stdlib (ctypes, json, dataclasses)
  • Ed25519 signatures — identity anchors, action receipts, trust grants
  • Type-safe models — frozen dataclasses for all domain types
  • Context manager — automatic cleanup of native handles
  • Full FFI coverage — all 11 C API functions bound

Requirements

  • Python >= 3.10
  • Native library: cargo build --release -p agentic-identity-ffi

License

MIT

Metadata

Release files for agentic-identity 0.3.0

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

Source distribution (sdist)

Source distribution for agentic-identity 0.3.0
File Size Uploaded Provenance
agentic_identity-0.3.0.tar.gz 14.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for agentic-identity 0.3.0
File Interpreter ABI Platform
agentic_identity-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 25.5 kB

Release files / agentic_identity-0.3.0.tar.gz

Download URL agentic_identity-0.3.0.tar.gz
Size 14.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7c1f3c2765e7615556b3d7260ac2d914ea3eb07d0d7e4710e853330f8de14807
BLAKE2b-256 checksum
How to use checksums
baf31c22ae57b23a7bda43899ce15ed6c95dbf03ac646fac49c801b877290e79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / agentic_identity-0.3.0-py3-none-any.whl

Download URL agentic_identity-0.3.0-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
74ee6e1db41cb6825d717acb453ed1aa0a44d3f36dd23ae22a4457dff9875ff8
BLAKE2b-256 checksum
How to use checksums
08074f13e372626c935ad3127de4fa8693a92e36587d4cf48d8328c91b440fb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Security for agentic-identity 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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