This release is a pre-release and may not be stable for production use.
aegis-gateway-sdk
Python client for the Aegis gateway — sync (AegisClient) and async
(AsyncAegisClient), covering runs, approvals, audit and chat.
pip install aegis-gateway-sdk
from aegis_sdk import AegisClient
with AegisClient(base_url="http://localhost:8000", api_key="aeg-...") as client:
run = client.create_run(
[{"role": "user", "content": "Wire $40k to vendor 7731"}],
route="payments",
approvers=["jane"],
)
print(run.run_id, run.status)
For plain chat, any OpenAI SDK works against Aegis too. See SDKs.
Links
- Documentation · Changelog · Source
- Most users want the umbrella package:
pip install aegis-gateway.
Part of Aegis, a self-hosted AI gateway. Licensed under AGPL-3.0-or-later.
Metadata
Release files for aegis-gateway-sdk 2.0.0a6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aegis_gateway_sdk-2.0.0a6.tar.gz | 18.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aegis_gateway_sdk-2.0.0a6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.3 kB
Release files / aegis_gateway_sdk-2.0.0a6.tar.gz
| Download URL | aegis_gateway_sdk-2.0.0a6.tar.gz |
|---|---|
| Size | 18.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c769785141eda88a49a6f2434619720b22821ff50ba1301d321d8f6282b0d7e8
|
|
BLAKE2b-256 checksum How to use checksums |
2e355116b76e8ea23dec9441d975c688439dd1094b0b485bbc489542a2653fc2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 27, 2026.
Transparency logRelease files / aegis_gateway_sdk-2.0.0a6-py3-none-any.whl
| Download URL | aegis_gateway_sdk-2.0.0a6-py3-none-any.whl |
|---|---|
| Size | 16.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d636371049fae6934d0a1036ed69f6cb6337426b9bb6b8d90f14dc5dc3485081
|
|
BLAKE2b-256 checksum How to use checksums |
6320ae504ab15b4c71a564cf9a94ad7d06da1e9b5a4aeda5e0065d447efb7e29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 27, 2026.
Transparency log