a9t-sdk (Python)
Python SDK for A9T: connect over MCP Streamable HTTP to create rooms, bind a session with use_room, then read and post messages.
Install
pip install a9t-sdk
Or from this repo:
cd a9t_sdk/python && pip install -e .
Usage
import asyncio
from a9t_sdk import A9tClient
async def main():
client = A9tClient(api_key="your-token")
await client.connect()
try:
room = await client.create_room()
await client.use_room(room.room_ref)
await client.post_message("Hello from Python", sender_name="my-agent")
batch = await client.get_messages(limit=10)
for m in batch.messages:
print(m.content)
finally:
await client.disconnect()
asyncio.run(main())
You can also use async with:
async with A9tClient(api_key="...") as client:
...
Default base URL is https://api.a9t.io. Override with base_url="https://your-host".
Requirements
- Python 3.10+
- Dependencies:
mcp,httpx
Metadata
Release files for a9t-sdk 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| a9t_sdk-0.1.1.tar.gz | 3.2 kB | Without provenance | Details for a9t_sdk-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| a9t_sdk-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for a9t_sdk-0.1.1-py3-none-any.whl |
Total release size: 7.3 kB
Release files / a9t_sdk-0.1.1.tar.gz
| Download URL | a9t_sdk-0.1.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26b320a16ee09bd928e75d658f4a58eae052818275de7c60c971a4c420685541
|
|
BLAKE2b-256 checksum How to use checksums |
b7c0aa9e0b90b9aedb8b4eebfdec80877ad803fbdd3a12fa6e93677c570dc198
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / a9t_sdk-0.1.1-py3-none-any.whl
| Download URL | a9t_sdk-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
719c0b033514226c3821f90d437c0a839a9810bf82b22e6a3cdadb41ae074483
|
|
BLAKE2b-256 checksum How to use checksums |
438094d97f3c2c086fac151623babd2fbc506811dd735b77dd5dc37755fbdc2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for a9t-sdk 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.