Quick Reference
| Command | Alias | Description |
|---|---|---|
aui login | Authenticate with the AUI platform | |
aui logout | Clear session and credentials | |
aui env | Show or switch environment | |
aui status | Display session and project info | |
aui agents | aui agent | Manage agents |
aui list-agents | aui ls | Quick table of all agents |
aui account | aui accounts | Manage accounts |
aui import-agent | aui import | Download agent config locally |
aui create-agent | Scaffold a new agent project | |
aui push | Upload local changes to backend | |
aui diff | Compare agent configurations | |
aui dvalidate | Validate .aui.json files | |
aui pull-schema | Fetch latest domain schemas | |
aui chat | Interactive terminal chat | |
aui serve | Web-based chat playground | |
aui rag | Manage knowledge bases | |
aui add-integration | Add integration to agent |
Authentication & Session
aui login
aui login
Authenticate with the AUI platform.
| Option | Description |
|---|---|
--email <email> | Authenticate with email + OTP |
--token <jwt> | Authenticate with an access token |
--environment <env> | Target environment (staging, custom, production) |
--account-id <id> | Pre-select account |
--api-key <key> | Use API key authentication |
--url <url> | Override API base URL |
aui logout
aui logout
Clear the local session and stored credentials.
aui env
aui env
Show or switch the active environment.The active environment is stored in
~/.aui/environment.aui status
aui status
Display current session info, linked agent, and a summary of local project files.
Agent Management
aui agents
aui agents
Manage agents interactively. Alias:
aui agent.| Option | Description |
|---|---|
--list | List all agents |
--create | Create a new agent interactively |
--switch | Switch active agent |
--import | Import agent config files |
aui list-agents
aui list-agents
Quick table view of all agents in the current account. Alias:
aui ls.aui account
aui account
Manage accounts (projects). Alias:
aui accounts.| Option | Description |
|---|---|
--list | List all accounts |
--create <name> | Create a new account with the given name |
--switch | Switch active account |
Import & Create
aui import-agent
aui import-agent
Download an agent’s configuration as local
Downloads from 6 backend endpoints: general settings, parameters, entities, integrations, tools, and rules. Also fetches JSON schemas for editor autocomplete and generates a
.aui.json files. Alias: aui import.| Option | Description |
|---|---|
--dir <path> | Target directory for imported files |
--api-key <key> | Use API key instead of session token |
GUIDE.md.aui create-agent
aui create-agent
Scaffold a new blank agent project with example files.
| Option | Description |
|---|---|
--force | Overwrite existing project files |
Push, Diff & Validate
aui push
aui push
Upload local changes to the AUI backend.
| Option | Description |
|---|---|
--dry-run | Show what would be pushed without making changes |
--force | Push all files, not just changed ones |
--skip-validation | Skip local validation before pushing |
--api-key <key> | Use API key instead of session token |
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.
aui diff
aui diff
Compare two agent configurations, or show changes since the last import/push.
aui dvalidate
aui dvalidate
Validate
Performs:
.aui.json files against domain schemas.| Option | Description |
|---|---|
--verbose | Show detailed validation messages |
- JSON syntax checking
- Required fields validation
- Cross-reference integrity (e.g., tools referencing valid integrations)
aui pull-schema
aui pull-schema
Fetch the latest domain schemas (
.dschema.json) from the backend for local validation and editor autocomplete.| Option | Description |
|---|---|
--api-key <key> | Use API key instead of session token |
--improved | Fetch improved schemas optimized for coding agents |
Development & Testing
aui chat
aui chat
Start an interactive conversation with an AUI agent in the terminal.
Features:
| Option | Description |
|---|---|
--api-key <key> | Use API key instead of session token |
--env <env> | Target environment |
--user-id <id> | Custom user identifier |
--rest | Use REST fallback instead of WebSocket streaming |
- Real-time streaming via WebSocket
- Inline product cards with images
- AI-generated follow-up suggestions
aui serve
aui serve
Launch a web-based chat playground on localhost.
| Option | Description |
|---|---|
--port <number> | Port to run the server on (default: 3000) |
--no-open | Don’t auto-open the browser |
Agent Configuration
aui rag
aui rag
Manage RAG (Retrieval-Augmented Generation) knowledge bases.
Capabilities:
| Option | Description |
|---|---|
--add-file | Upload a file or URL to a knowledge base |
- 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).aui add-integration
aui add-integration
Add an integration (API, RAG, or MCP) to the current agent project interactively.Walks you through selecting the integration type and configuring it.
