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.3.tar.gz (14.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.3-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: alsorn-0.2.3.tar.gz
  • Upload date:
  • Size: 14.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.3.tar.gz
Algorithm Hash digest
SHA256 d9610a7a8dcbaf2e00018b4d641512680615d8bf7a23ef0d321fbc148b8b6670
MD5 a0b03b3f80b317f5c34bb91815008521
BLAKE2b-256 2fcd96fd49e89a064e17878870a76360b06ebd48e838308bb8927f5f77bcfbf3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: alsorn-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 14.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2c1e53b32cadadeee7689320cc176bc332536d255669e4619530a023aebdc706
MD5 61c2d7427e6628d914a3e922e2977f1e
BLAKE2b-256 0efcb1e227631550a395d9dd18bc52ce0adfc4fd826b837f8ad992b11baa9236

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