1. Define an ADK Agent Module
Createagent_adk.py:
2. Configure aion.yaml
3. Optional: Add Control Plane Credentials to .env
.env only when
running outside Aion-hosted deployments or when testing local control plane connectivity.
4. Start and Test
5. Optional: Add aion-adk for Deeper Integration
Aion Server integration with Google ADK is designed to work without any
framework-specific Aion authoring dependency. A plain ADK agent can run behind
Aion as long as the server-side adapter is installed.
Add aion-adk only if you want deeper Aion-aware protocol integration in your
agent code, such as helper APIs and richer control over how responses are
buffered and mapped back into A2A.
6. Understand Message Mapping
Once the agent is running, Aion will:- accept inbound A2A requests from clients or distributions
- expose the full request through
ctx.a2a_inbox - use the SDK response buffer first, then
a2a_outbox, then framework-native fallback to determine the outbound reply - return the final A2A response to the caller or distribution