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.1.3.tar.gz (10.9 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.1.3-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for alsorn-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f959e3fae0b3eb51ecf2eebdf4339b7d4c4dc26664d3a37d0c7ea3328ddc415a
MD5 5ff1c7981485e032c6fbf24b02cc5c1c
BLAKE2b-256 70da8c22346094702893b3d99fb7cf5aadf0f6a674855deece8fb9d97ea413e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: alsorn-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 14.1 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.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6e3286f9f34fdb8f11e8af47daa8243cded1fbfd75f5598331f086d4b2de5a0e
MD5 6e4c45d99590a354408be74bb61fa5e2
BLAKE2b-256 a89e2149f88e19e70419fb4cd1a7990df17727d89604f8876212aa4c2614fed3

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