This release is a pre-release and may not be stable for production use.
Aion Python SDK
A Python library that serves agents over the Agent-to-Agent (A2A) protocol and
runs them on the Aion platform. Bring a LangGraph or
Google ADK agent, point an aion.yaml at it, and run aion serve — you get an
A2A endpoint with an agent card, streaming and conversation state, plus a
terminal client to try it out.
✨ Features
- Framework agnostic: LangGraph and Google ADK agents get the same configuration and the same A2A surface.
- A2A protocol compliant: agent card, streaming and conversation state without writing protocol code.
- Four lines of configuration: an agent needs one field — where to find it. Everything else has a default.
- No account required: runs fully locally; add credentials to reach the Aion model service and MCP tools.
- Multi-agent: a built-in proxy fronts several agents behind one endpoint,
and
aion chattalks to any of them from the terminal.
🚀 Getting started
Prerequisites
- Python 3.12, 3.13 or 3.14
- Node.js 22+ — only for the bundled
aion chatclient
🔧 Installation
Install the SDK plus the extra for the framework you use.
| Feature | uv |
pip |
|---|---|---|
Core SDK — the aion CLI and client libraries |
uv add aionto-sdk |
pip install aionto-sdk |
| LangGraph agents | uv add "aionto-sdk[langgraph-server]" |
pip install "aionto-sdk[langgraph-server]" |
| Google ADK agents | uv add "aionto-sdk[adk-server]" |
pip install "aionto-sdk[adk-server]" |
| LangGraph authoring | uv add "aionto-sdk[langgraph-authoring]" |
pip install "aionto-sdk[langgraph-authoring]" |
| ADK authoring | uv add "aionto-sdk[adk-authoring]" |
pip install "aionto-sdk[adk-authoring]" |
The *-authoring extras are the toolkit on its own — Aion models, tools and
messaging inside your agent — for agents that something other than aion serve
runs.
💡 Example
A LangGraph agent, served over A2A, with four lines of configuration.
-
Write the agent. A plain LangGraph graph, returned uncompiled: Aion compiles it and attaches the checkpointer, so conversation state comes for free.
# agent.py from typing import Annotated, TypedDict from langchain_core.messages import AIMessage, AnyMessage from langgraph.graph import END, START, StateGraph from langgraph.graph.message import add_messages class State(TypedDict): messages: Annotated[list[AnyMessage], add_messages] def reply(state: State) -> dict: question = state["messages"][-1].content return {"messages": [AIMessage(content=f"Echo: {question}")]} def create_graph() -> StateGraph: workflow = StateGraph(State) workflow.add_node("reply", reply) workflow.add_edge(START, "reply") workflow.add_edge("reply", END) return workflow
-
Point Aion at it.
pathis the only field an agent needs.# aion.yaml aion: agents: support: path: "./agent.py:create_graph"
-
Serve it. The port is assigned automatically and printed on startup.
aion serve -
Talk to it from another terminal.
aion chat
That is a complete local run — no account, no credentials. To connect the agent
to the platform, add AION_CLIENT_ID and AION_CLIENT_SECRET to a .env
beside the configuration.
For Google ADK the configuration is the same — see the ADK quickstart.
📚 Documentation
Full documentation lives at docs.aion.to:
- LangGraph quickstart · Google ADK quickstart
aion.yamlreference · Environment variables- CLI reference · Multiple agents and the proxy
- Troubleshooting
🤝 Contributing
Contributions are welcome. For development setup and how to run the test suites, see the Development Guide.
📄 License
This project is licensed under the MIT License. See the LICENSE file for more details.
Metadata
Release files for aionto-sdk 0.1.0rc3
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 | |
|---|---|---|---|---|
| aionto_sdk-0.1.0rc3.tar.gz | 902.3 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aionto_sdk-0.1.0rc3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.0 MB
Release files / aionto_sdk-0.1.0rc3.tar.gz
| Download URL | aionto_sdk-0.1.0rc3.tar.gz |
|---|---|
| Size | 902.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0bc59fb5de12c9f3461193389647d6c361b545de52b91562ba391cac776e54ab
|
|
BLAKE2b-256 checksum How to use checksums |
c056a8d22fd5c519650fcb7d724a5a99e2dc420596473a154c52fec16901cb95
|
| 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 11, 2026.
Transparency logRelease files / aionto_sdk-0.1.0rc3-py3-none-any.whl
| Download URL | aionto_sdk-0.1.0rc3-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c82df7a4b15f8e1a71e6cfae6002d4684af4fcde1b27a313ee72c6d55929407b
|
|
BLAKE2b-256 checksum How to use checksums |
0804d92450c06b940c22db4ac52c8c650ebb9b7e8b086fb8c07d8d74539bcafd
|
| 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 11, 2026.
Transparency logSecurity for aionto-sdk 0.1.0rc3
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for aionto_sdk-0.1.0rc3.tar.gz
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 11, 2026.
Transparency logA 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.