Skip to main content

Official Python SDK for the Alsorn Protocol — Identity, Trust & Transaction Infrastructure for AI Agents

Project description

Alsorn Python SDK

The official Python SDK for the Alsorn Protocol.

Installation

pip install alsorn

Quick Start

from alsorn import AlsornClient

client = AlsornClient(api_key="als_your_api_key")

# Register an agent
agent = client.agents.register(
    name="my-agent",
    authorized_actions=["execute_trades"],
    org_id="your-org-id",
    spending_limit=10000,
    currency="USD",
    environment="production",
)

print(agent.id)
print(agent.fingerprint)

Find your org_id in the Alsorn dashboard at alsorn.com/control/settings — it's also shown in the sidebar at alsorn.com/control.

Documentation

Full documentation at https://alsorn.com/docs/sdks/python

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alsorn-0.2.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

alsorn-0.2.0-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file alsorn-0.2.0.tar.gz.

File metadata

  • Download URL: alsorn-0.2.0.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for alsorn-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d9dcc6324eecc69bc9835839e968821c9ddb64ec6192af4412f29cd9b952db82
MD5 a5e97612c11e1fc707c7de9523ad3171
BLAKE2b-256 1a93407049ce98978d537d4c128ff875e7a3ade247e168c56f0a98d2e39669c2

See more details on using hashes here.

File details

Details for the file alsorn-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: alsorn-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for alsorn-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a10ba5755b496c498bae603d739bf012bf972dde25ea2426dcbd7a537d407f67
MD5 ba71b2928e43169978e3c90d0a4b7f02
BLAKE2b-256 a05c4abca17f3dca326b3698217f6aa569c956e16d764c9d0cb5c84407f6ada2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page