
Composer Controls
| Control | Behavior |
|---|---|
Enter | Send the message or select the active menu item. |
Shift+Enter | Insert a newline. |
@ | Open the agent picker. |
/ | Open the slash command picker. |
Esc | Dismiss the active menu or clear the draft. |
Ctrl+C | Clear the draft or exit when the draft is empty. |
Python SDK CLI
Use the Python SDK CLI when you are working inside a Python SDK project or want to launch chat frompoetry run aion chat. Install it from the Python SDK installation guide.
Start interactive chat:
aion chat connects to http://localhost:8000. That default is useful when you are
running a local Aion proxy or agent server with the Python SDK.
Options
| Option | Default | Description |
|---|---|---|
--url, --host, -u | http://localhost:8000 | Agent or proxy URL to connect to. |
--agent-id | none | Agent identifier for proxy-aware routing with an explicit endpoint. |
--token | none | Bearer token for authenticated explicit endpoints. |
--header | none | Custom HTTP header in key=value format. Repeatable. |
--push-notifications | disabled | Include local push notification configuration. |
--push-receiver | http://localhost:5000 | Push notification receiver URL. |
--help | n/a | Show help text. |
aion chat run also supports headless one-shot messages:
| Option | Default | Description |
|---|---|---|
--agent | none | Discovered agent handle, display id, identity id, or agent key. |
--request-mode | send-message | send-message or streaming-message. |
--response-mode | message | message for rendered output or a2a for raw protocol JSON. |
positional message | none | Message text. Use - to read stdin. |
Examples
Connect to the default local endpoint:Standalone npm Package
Use the standalone npm package when you want the terminal chat client without installing the Python SDK. Install the standalone chat tool globally:aio connects to http://localhost:8000. The package also installs an aion-chat
alias:
Options
| Option | Default | Description |
|---|---|---|
--url, --host, -u | http://localhost:8000 | Agent or proxy URL to connect to. |
--agent-id | none | Agent identifier for proxy-aware routing with an explicit endpoint. |
--token | none | Bearer token for authenticated explicit endpoints. |
--header | none | Custom HTTP header in key=value format. Repeatable. |
--push-notifications | disabled | Include local push notification configuration. |
--push-receiver | http://localhost:5000 | Push notification receiver URL. |
--help | n/a | Show help text. |
--version | n/a | Print the package version. |
aio run and aion-chat run also support headless one-shot messages:
| Option | Default | Description |
|---|---|---|
--agent | none | Discovered agent handle, display id, identity id, or agent key. |
--request-mode | send-message | send-message or streaming-message. |
--response-mode | message | message for rendered output or a2a for raw protocol JSON. |
positional message | none | Message text. Use - to read stdin. |