Metadata-Version: 2.4
Name: alsorn
Version: 0.2.0
Summary: Official Python SDK for the Alsorn Protocol — Identity, Trust & Transaction Infrastructure for AI Agents
Home-page: https://github.com/your-org/alsorn
Author: Alsorn
Author-email: Alsorn <hello@alsorn.com>
License: MIT
Project-URL: Homepage, https://alsorn.com
Project-URL: Documentation, https://alsorn.com/docs/sdks/python
Project-URL: Repository, https://github.com/alsorn/alsorn
Keywords: alsorn,ai,agents,identity,trust,protocol
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: httpx>=0.24.0
Provides-Extra: langchain
Requires-Dist: langchain-core>=0.1.0; extra == "langchain"
Provides-Extra: openai
Requires-Dist: openai>=1.0.0; extra == "openai"
Provides-Extra: all
Requires-Dist: langchain-core>=0.1.0; extra == "all"
Requires-Dist: openai>=1.0.0; extra == "all"
Dynamic: author
Dynamic: home-page
Dynamic: requires-python

# Alsorn Python SDK

The official Python SDK for the Alsorn Protocol.

## Installation

```bash
pip install alsorn
```

## Quick Start

```python
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](https://alsorn.com/control/settings) —
> it's also shown in the sidebar at [alsorn.com/control](https://alsorn.com/control).

## Documentation

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