@amd-gaia/agent-ui 0.17.0
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.
- package/LICENSE +21 -0
- package/README.md +101 -0
- package/app.config.json +37 -0
- package/assets/icon.ico +0 -0
- package/assets/icon.png +0 -0
- package/assets/tray-icon-active.png +0 -0
- package/assets/tray-icon-active@2x.png +0 -0
- package/assets/tray-icon.ico +0 -0
- package/assets/tray-icon.png +0 -0
- package/assets/tray-icon@2x.png +0 -0
- package/assets/tray-iconTemplate.png +0 -0
- package/assets/tray-iconTemplate@2x.png +0 -0
- package/bin/gaia-ui.mjs +572 -0
- package/dist/assets/browser-CTB2jwNe.js +8 -0
- package/dist/assets/dm-sans-latin-Xz1IZZA0.woff2 +0 -0
- package/dist/assets/gaia-robot-NKaQnEIp.png +0 -0
- package/dist/assets/index-C7oO2M6Q.js +432 -0
- package/dist/assets/index-TyWv9Ej0.css +1 -0
- package/dist/assets/jetbrains-mono-latin-6fWv1k7M.woff2 +0 -0
- package/dist/assets/space-mono-400-Co7bH5Hm.woff2 +0 -0
- package/dist/favicon.png +0 -0
- package/dist/index.html +14 -0
- package/main.cjs +511 -0
- package/package.json +83 -0
- package/preload.cjs +61 -0
- package/services/agent-process-manager.cjs +818 -0
- package/services/notification-service.cjs +419 -0
- package/services/tray-manager.cjs +239 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2024-2025 ADVANCED MICRO DEVICES
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# @amd-gaia/agent-ui
|
|
2
|
+
|
|
3
|
+
Privacy-first agentic AI interface with document Q&A — runs **100% locally** on AMD Ryzen AI hardware.
|
|
4
|
+
|
|
5
|
+
No cloud. No API keys. No data leaves your device.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install -g @amd-gaia/agent-ui
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Prerequisites
|
|
14
|
+
|
|
15
|
+
GAIA Agent UI requires the Python backend running locally:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# Install the GAIA Python package
|
|
19
|
+
pip install amd-gaia
|
|
20
|
+
|
|
21
|
+
# Start the LLM backend (AMD Ryzen AI accelerated)
|
|
22
|
+
lemonade-server serve
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Usage
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
# Start GAIA Agent UI (launches backend + opens browser)
|
|
29
|
+
gaia-ui
|
|
30
|
+
|
|
31
|
+
# Custom port
|
|
32
|
+
gaia-ui --port 4200
|
|
33
|
+
|
|
34
|
+
# Frontend-only mode (if backend is already running)
|
|
35
|
+
gaia-ui --serve
|
|
36
|
+
|
|
37
|
+
# Don't auto-open browser
|
|
38
|
+
gaia-ui --no-open
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Then open [http://localhost:4200](http://localhost:4200) in your browser.
|
|
42
|
+
|
|
43
|
+
## Features
|
|
44
|
+
|
|
45
|
+
- **Private** — All processing runs locally on your AMD hardware. No data leaves your device.
|
|
46
|
+
- **Streaming responses** — Real-time token streaming with live agent activity visualization.
|
|
47
|
+
- **Document Q&A** — Upload PDFs, code files, and documents for RAG-powered question answering.
|
|
48
|
+
- **Agent activity** — Watch the AI think, plan, and use tools in real time.
|
|
49
|
+
- **Session management** — Create, search, rename, export, and delete chat sessions.
|
|
50
|
+
- **Dark/light mode** — Automatic theme detection with manual toggle.
|
|
51
|
+
- **Mobile access** — Share your local chat to your phone via secure tunnel.
|
|
52
|
+
- **Markdown rendering** — Code blocks, bold, italic, lists, and links in responses.
|
|
53
|
+
- **Keyboard shortcuts** — Enter to send, Shift+Enter for newlines.
|
|
54
|
+
|
|
55
|
+
## Architecture
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
Browser <--> Python Backend (FastAPI, port 4200) <--> Lemonade Server (LLM, port 8000)
|
|
59
|
+
|
|
|
60
|
+
SQLite DB (~/.gaia/chat/)
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
The npm package includes:
|
|
64
|
+
- **Pre-built React frontend** served by the Python backend
|
|
65
|
+
- **CLI launcher** (`gaia-ui`) that starts the backend and opens the browser
|
|
66
|
+
- **Standalone serve mode** (`--serve`) for serving the frontend independently
|
|
67
|
+
|
|
68
|
+
## Desktop Installers
|
|
69
|
+
|
|
70
|
+
For a native desktop experience, download the installer from
|
|
71
|
+
[GitHub Releases](https://github.com/amd/gaia/releases):
|
|
72
|
+
|
|
73
|
+
- **Windows**: `gaia-ui-setup.exe`
|
|
74
|
+
- **Ubuntu/Linux**: `gaia-ui-setup.deb`
|
|
75
|
+
|
|
76
|
+
## Documentation
|
|
77
|
+
|
|
78
|
+
- [Agent UI Guide](https://amd-gaia.ai/guides/agent-ui) — Full setup and usage guide
|
|
79
|
+
- [Agent UI SDK Reference](https://amd-gaia.ai/sdk/sdks/agent-ui) — Backend API, models, endpoints
|
|
80
|
+
- [GAIA Documentation](https://amd-gaia.ai) — Complete GAIA framework docs
|
|
81
|
+
|
|
82
|
+
## Development
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
# Clone the repo
|
|
86
|
+
git clone https://github.com/amd/gaia.git
|
|
87
|
+
cd gaia/src/gaia/apps/webui
|
|
88
|
+
|
|
89
|
+
# Install dependencies
|
|
90
|
+
npm install
|
|
91
|
+
|
|
92
|
+
# Start dev server (proxies API to localhost:4200)
|
|
93
|
+
npm run dev
|
|
94
|
+
|
|
95
|
+
# Build for production
|
|
96
|
+
npm run build
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## License
|
|
100
|
+
|
|
101
|
+
MIT — see [LICENSE](./LICENSE)
|
package/app.config.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "agent-ui",
|
|
3
|
+
"displayName": "GAIA Agent UI",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"description": "Privacy-first agentic AI interface with document Q&A - runs 100% locally on AMD Ryzen AI",
|
|
6
|
+
"author": "AMD AI Group",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"window": {
|
|
9
|
+
"width": 1400,
|
|
10
|
+
"height": 900,
|
|
11
|
+
"minWidth": 900,
|
|
12
|
+
"minHeight": 700
|
|
13
|
+
},
|
|
14
|
+
"backend": {
|
|
15
|
+
"command": "gaia",
|
|
16
|
+
"args": ["chat", "--ui", "--ui-port", "4200"],
|
|
17
|
+
"port": 4200,
|
|
18
|
+
"healthCheck": "/api/health",
|
|
19
|
+
"startupTimeout": 15000
|
|
20
|
+
},
|
|
21
|
+
"devServer": {
|
|
22
|
+
"port": 4200,
|
|
23
|
+
"vitePort": 5174
|
|
24
|
+
},
|
|
25
|
+
"installer": {
|
|
26
|
+
"nsis": {
|
|
27
|
+
"oneClick": false,
|
|
28
|
+
"allowToChangeInstallationDirectory": true,
|
|
29
|
+
"installerIcon": "assets/icon.ico",
|
|
30
|
+
"uninstallerIcon": "assets/icon.ico",
|
|
31
|
+
"installerHeaderIcon": "assets/icon.ico"
|
|
32
|
+
},
|
|
33
|
+
"appId": "com.amd.gaia.agent-ui",
|
|
34
|
+
"productName": "GAIA Agent UI",
|
|
35
|
+
"copyright": "Copyright (C) 2025-2026 Advanced Micro Devices, Inc."
|
|
36
|
+
}
|
|
37
|
+
}
|
package/assets/icon.ico
ADDED
|
Binary file
|
package/assets/icon.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|