Skip to main content
The SDK is one PyPI project, aionto-sdk, and its extras select how much of the stack comes with it: the framework you write agents in, and whether the environment also serves them.

Prerequisites

  • Python 3.12, 3.13 or 3.14
  • pip, poetry or uv
  • Node.js 22+ — required by aion chat, which launches the bundled terminal UI. Not needed for aion serve or the client libraries.

Install

The base install gives you the aion command, the API and MCP clients, and the shared authoring types:
To run agents with aion serve, add the extra for the framework they are written in. This is what a project normally installs: Poetry uses the same specifiers:
To run both frameworks from one environment, name both extras in a single command: pip install "aionto-sdk[langgraph-server,adk-server]".

Choosing an extra

Each *-server extra installs its authoring extra too, so [langgraph-server] covers everything [langgraph-authoring] does.

When an extra is missing

The first call that needs a library from an uninstalled extra raises MissingOptionalDependency, carrying the command that fixes it:
MissingOptionalDependency is both an AionError and an ImportError, so except ImportError around an SDK import catches it. See Troubleshooting for the full set of messages.

Optional Control Plane Credentials

For deployments hosted by Aion, these values are supplied by the control plane. Set them yourself only when running outside Aion-hosted deployments or when testing a server locally against the Aion control plane. Create .env in your project root when you need to provide them manually:
Without these variables, you can still run aion serve locally and invoke agents through the local A2A and proxy endpoints, but the SDK will not connect to the Aion control plane or register agent manifests automatically. See Environment Variables for full settings.

Minimal aion.yaml

path is the only field an agent needs. It points at a graph, an agent, or a factory that returns one, and the adapter for the framework you installed picks it up — see the aion.yaml reference.

Verify CLI