Skip to main content

Quick Reference


Authentication & Session

Authenticate with the AUI platform.
Clear the local session and stored credentials.
Show or switch the active environment.
The active environment is stored in ~/.aui/environment.
Display current session info, linked agent, and a summary of local project files.

Agent Management

Manage agents interactively. Alias: aui agent.
Quick table view of all agents in the current account. Alias: aui ls.
Manage accounts (projects). Alias: aui accounts.

Import & Create

Download an agent’s configuration as local .aui.json files. Alias: aui import.
Downloads from 6 backend endpoints: general settings, parameters, entities, integrations, tools, and rules. Also fetches JSON schemas for editor autocomplete and generates a GUIDE.md.
Scaffold a new blank agent project with example files.

Push, Diff & Validate

Upload local changes to the AUI backend.
Push uses smart patching: PATCH for modified fields, POST for new tools, PUT (upsert) for parameters, entities, and rules. Changes are detected via git diff against the last push baseline.
Compare two agent configurations, or show changes since the last import/push.
Validate .aui.json files against domain schemas.
Performs:
  • JSON syntax checking
  • Required fields validation
  • Cross-reference integrity (e.g., tools referencing valid integrations)
Fetch the latest domain schemas (.dschema.json) from the backend for local validation and editor autocomplete.

Development & Testing

Start an interactive conversation with an AUI agent in the terminal.
Features:
  • Real-time streaming via WebSocket
  • Inline product cards with images
  • AI-generated follow-up suggestions
See Chat Commands for in-session commands.
Launch a web-based chat playground on localhost.

Runtime Messaging — Apollo

Start a new conversation thread with an agent.
Returns a task ID that you use for sending messages.
Send a message to an agent and get a reply. Forwards your local agent files by default.
By default, your local .aui.json files are validated and forwarded to the runtime so the reply reflects your latest edits. Use --no-bundle to skip this and use the agent’s stored configuration instead.
Regenerate a previous interaction with edited text. Forwards your local agent files by default.
Returns a new regenerated task ID and the agent’s reply.
Fetch interaction traces for a conversation thread. Always outputs JSON.
This command always emits JSON output. There is no human-rendered (Ink) output mode.

Version Management

Interactive version menu for managing agent versions.
Version states:
  • Draft — editable, not live
  • Published — locked, can be activated
  • Active — the live version users talk to
  • Archived — preserved but inactive
Manage version snapshots for comparing agent configurations.
Snapshots capture the complete agent configuration at a point in time for version comparison and rollback.

Integrations

Interactive menu for managing integrations (MCP and Composio).
Supports both manual MCP server integrations (your own server) and native Composio integrations (from the toolkit directory).

Agent Configuration

Manage RAG (Retrieval-Augmented Generation) knowledge bases.
Capabilities:
  • List knowledge bases
  • Upload files and URLs
  • Export knowledge base content
  • Bulk-edit knowledge base entries
The RAG API key is stored securely at ~/.aui/kbm-key (file mode 600).
Add an integration (API, RAG, or MCP) to the current agent project interactively.
Walks you through selecting the integration type and configuring it.