aui-agent-builder 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +48 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # aui-agent-builder
2
2
 
3
- CLI for importing, editing, and pushing AUI AI agent configurations.
3
+ CLI for building, managing, and chatting with AUI AI agents.
4
4
 
5
5
  ## Installation
6
6
 
@@ -8,12 +8,17 @@ CLI for importing, editing, and pushing AUI AI agent configurations.
8
8
  npm install -g aui-agent-builder
9
9
  ```
10
10
 
11
+ Requires Node.js 18 or higher.
12
+
11
13
  ## Quick Start
12
14
 
13
15
  ```bash
14
16
  # Authenticate
15
17
  aui login
16
18
 
19
+ # Chat with an agent (interactive, with real-time streaming)
20
+ aui chat
21
+
17
22
  # Import an existing agent from the backend
18
23
  aui import
19
24
 
@@ -34,6 +39,7 @@ aui push
34
39
  | Command | Description |
35
40
  |---------|-------------|
36
41
  | `aui login` | Authenticate with AUI |
42
+ | `aui chat` | Interactive conversation with an agent |
37
43
  | `aui list-agents` | List agents in your account |
38
44
  | `aui create-agent` | Create a new agent on the backend |
39
45
  | `aui import [agent-id]` | Download agent as local .aui.json files |
@@ -43,6 +49,46 @@ aui push
43
49
  | `aui status` | Show session and project summary |
44
50
  | `aui diff [a] [b]` | Compare two agent configs or show changes |
45
51
 
52
+ ## Agent Chat
53
+
54
+ Start an interactive conversation with any agent in your account:
55
+
56
+ ```bash
57
+ aui chat
58
+ ```
59
+
60
+ Features:
61
+ - **Real-time streaming** via WebSocket (with REST fallback)
62
+ - **Auto-connect** — select an agent from your account, API key is fetched automatically
63
+ - **Product cards** — results displayed with price, rating, reviews, and links
64
+ - **Follow-up suggestions** — AI-generated next questions
65
+ - **Session commands** — `/help`, `/history`, `/suggest`, `/clear`, `/exit`
66
+
67
+ Options:
68
+
69
+ ```bash
70
+ aui chat --api-key <key> # Skip API key prompt
71
+ aui chat --env azure # Use Azure environment (default: GCP)
72
+ aui chat --user-id <id> # Custom user ID
73
+ aui chat --rest # Force REST mode (no streaming)
74
+ ```
75
+
76
+ Environment selection:
77
+ - **Default (GCP)** — `api.aui.io`
78
+ - **Azure** — `azure-v2.aui.io`
79
+ - **AWS** — `aws.aui.io`
80
+
81
+ Chat commands during a conversation:
82
+
83
+ | Command | Action |
84
+ |---------|--------|
85
+ | `/exit` | End conversation |
86
+ | `/clear` | Clear screen |
87
+ | `/history` | View message history |
88
+ | `/suggest` | Get follow-up suggestions |
89
+ | `/task` | Show current task ID |
90
+ | `/help` | Show all commands |
91
+
46
92
  ## Project Structure
47
93
 
48
94
  ```
@@ -92,7 +138,7 @@ Works automatically in VSCode and Cursor.
92
138
 
93
139
  ### Project Config
94
140
 
95
- `.auirc` — created by `aui import` or `aui init`, links the folder to a backend agent.
141
+ `.auirc` — created by `aui import` or `aui init`, links the folder to a backend agent. Also stores the network API key for `aui chat` after first use.
96
142
 
97
143
  ### Environment Variables
98
144
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aui-agent-builder",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "CLI for importing, editing, and pushing AUI AI agent configurations",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",