Catalog PyPI
PACKAGE EXPLORERView in registry

agentsync-sdk

PyPI

Python SDK for the AgentSync x402 micropayment gateway on Radix

Versions collected1
Direct dependencies5From release 1.0.0
Last observed20 Oct, 23:31 UTC

README

Version 1.0.0 documentation

AgentSync Python SDK

Python SDK for the AgentSync x402 micropayment gateway on Radix.

Install

pip install agentsync-sdk

Note: the distribution name is agentsync-sdk; the import package remains agentsync (from agentsync import ...). For local development use pip install -e . in the repo.

Development

pip install -e ".[dev]"
pytest

Platform Attestation Verification

Verify a platform-signed attestation envelope against the trusted platform Ed25519 public key:

from agentsync import SignatureEnvelope, verify_platform_attestation

trusted_public_key = "9afcc1cf66b256d7d9567a906fba4317305d92c3e7fd7f27386dffe182332576"
envelope = SignatureEnvelope(
    payload="account_tdx_2_...:5.500000:0",
    signature="<128-char hex>",
    public_key=trusted_public_key,
    algorithm="ed25519+sha256",
)

valid = verify_platform_attestation(envelope, trusted_public_key)  # bool

verify_platform_attestation() is pure and synchronous: the trusted key is injected by the caller and never fetched from the network. It asserts that the envelope's public_key matches the trusted key before verifying the Ed25519(SHA-256(payload)) signature.

The TypeScript counterpart lives at ../sdk-typescript.

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.05 Sept 20265

Package advisories

0
No matching advisories collected

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

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 23:31 UTC

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

Record identity

package:e9cf289e01276b73f41805cce00567de27739a63e4f40f22c39c9b85ab76e8be