Python SDK for AitherOS — the canonical client library
Project description
AitherSDK
The canonical Python client for AitherOS. Used by AitherShell, AitherDesktop, AitherConnect, and third-party apps.
Install
pip install aithersdk
# or from source
pip install -e aithersdk/
Quick Start
from aithersdk import AitherClient
async def main():
async with AitherClient() as client:
# Simple chat
response = await client.chat("What is AitherOS?")
print(response.text)
print(f"Model: {response.model}, Elapsed: {response.elapsed_ms}ms")
# Delegate to agent
result = await client.delegate("demiurge", "Write a REST API for tasks")
print(result.text)
# Switch persona
await client.set_will("private-mode")
# Stream response
async for chunk in client.stream("Tell me a story"):
print(chunk, end="")
# Check system health
health = await client.health()
print(f"Status: {health.status}")
Scripting
from aithersdk import AitherClient
import asyncio
async def batch_process():
async with AitherClient(url="https://elysium.aitherium.com") as client:
questions = ["What is ML?", "What is NLP?", "What is CV?"]
for q in questions:
r = await client.chat(q, effort=3)
print(f"Q: {q}\nA: {r.text}\n")
asyncio.run(batch_process())
Configuration
# Local Genesis
client = AitherClient() # http://localhost:8001
# Cloud (Elysium)
client = AitherClient(url="https://elysium.aitherium.com")
# Environment variables
# AITHER_URL=https://elysium.aitherium.com
# AITHER_WILL_URL=http://localhost:8097
client = AitherClient() # picks up env vars
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aithersdk-0.2.0.tar.gz.
File metadata
- Download URL: aithersdk-0.2.0.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
663c196f3fcfc108b5366d2c59f54ca526733e4b6d33d99126977b772110998f
|
|
| MD5 |
37ce3fcffcf99aadfadbd948b837bd51
|
|
| BLAKE2b-256 |
9b5f0067fd063d7767a9fc6d6aeda6b08c0803c55112efee132a012b6e603f95
|
Provenance
The following attestation bundles were made for aithersdk-0.2.0.tar.gz:
Publisher:
pypi-publish.yml on Aitherium/aithersdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aithersdk-0.2.0.tar.gz -
Subject digest:
663c196f3fcfc108b5366d2c59f54ca526733e4b6d33d99126977b772110998f - Sigstore transparency entry: 1208775821
- Sigstore integration time:
-
Permalink:
Aitherium/aithersdk@abd6f765a705fdfbeb4655691be40bc32f11c0a4 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Aitherium
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@abd6f765a705fdfbeb4655691be40bc32f11c0a4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file aithersdk-0.2.0-py3-none-any.whl.
File metadata
- Download URL: aithersdk-0.2.0-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ecd6955e50560de6367e4a144413caeae61a0bd14ab3a2c536c7daa29f95f24
|
|
| MD5 |
2fe88279b6de130106e27b2c1cbb4d36
|
|
| BLAKE2b-256 |
ec32fb9aa59b039b1feb6d940504b36d49fb6b10560b7968f0efaa197901cea7
|
Provenance
The following attestation bundles were made for aithersdk-0.2.0-py3-none-any.whl:
Publisher:
pypi-publish.yml on Aitherium/aithersdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aithersdk-0.2.0-py3-none-any.whl -
Subject digest:
1ecd6955e50560de6367e4a144413caeae61a0bd14ab3a2c536c7daa29f95f24 - Sigstore transparency entry: 1208775851
- Sigstore integration time:
-
Permalink:
Aitherium/aithersdk@abd6f765a705fdfbeb4655691be40bc32f11c0a4 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Aitherium
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@abd6f765a705fdfbeb4655691be40bc32f11c0a4 -
Trigger Event:
release
-
Statement type: