# Overview / Giới thiệu # Giới thiệu > What Kazuo AI and Kazuo Hub are, who they are for, and what the ecosystem contains. # Giới thiệu / Overview ## Tiếng Việt **Kazuo AI** là ứng dụng desktop dạng **overlay trong suốt, click-through, luôn nổi trên màn hình** (giống Rainmeter). Người dùng thả các **widget dạng plugin** lên desktop: AI chat với agent Claude Code hoặc Codex thật, terminal, ghi chú, đồng hồ, quản trị server (Docker, Kubernetes, NGINX, database), quản lý Cloudflare, ghi màn hình, lập lịch công việc... Widget kéo thả, thu nhỏ, đổi kích thước hoặc tách thành cửa sổ riêng. **Kazuo Hub** là ứng dụng launcher riêng (giống Steam/Discord updater): tải về từ `kazuo.kaiitech.net`, đăng nhập Google (tuỳ chọn), rồi cài đặt, cập nhật và khởi chạy Kazuo AI bằng một cú bấm trên Windows, macOS và Linux. Hệ sinh thái gồm: - **Web Dashboard**: cùng bộ widget như overlay nhưng mở trong trình duyệt, kể cả từ máy khác hoặc trên Linux/WSL không có giao diện đồ hoạ. Đăng nhập tại `dash.kaiitech.net` để chọn và điều khiển nhiều máy của cùng tài khoản. - **Plugin Store, Skills Store, MCP Store**: cài plugin mới, cài "Skill" cho AI agent, và cài MCP server remote vào Claude Code / Codex / Hermes / ai-chat trực tiếp từ trong ứng dụng, không cần build lại. - **Điều phối nhiều agent AI**: định nghĩa vai trò agent (agent-role), giao việc cho agent trên máy khác (orchestrator, task-manager), chạy agent theo lịch (cron-job), gọi agent từ plugin khác theo kiểu lập trình (run-agent). - **Bridge + MCP server cục bộ**: cho AI agent điều khiển chính ứng dụng như người dùng thật, hữu ích khi tự phát triển và kiểm thử plugin bằng AI. - **Ứng dụng di động** (Android/iOS) để xem Web Dashboard và nhận thông báo đẩy. - **Dịch vụ đám mây**: đăng nhập, quản lý thiết bị từ xa, giấy phép theo tổ chức/gói, và relay giữa trình duyệt với từng máy. Dành cho ai: lập trình viên và người vận hành hệ thống muốn một "bàn làm việc" trên desktop nơi AI agent và công cụ vận hành đứng cạnh nhau; đội nhỏ muốn quản lý nhiều máy từ một tài khoản. Công nghệ: Electron 33 + Svelte 5 + Vite + TypeScript; dịch vụ đám mây chạy trên Cloudflare Workers. ## English **Kazuo AI** is a **transparent, click-through, always-on-top desktop overlay** (in the spirit of Rainmeter). Users drop **plugin widgets** onto the desktop: AI chat backed by a real Claude Code or Codex agent, a terminal, notes, a clock, server administration (Docker, Kubernetes, NGINX, databases), Cloudflare management, screen recording, scheduled jobs and more. Widgets can be dragged, minimised, resized or popped out into their own window. **Kazuo Hub** is a separate launcher (think Steam or the Discord updater): download it from `kazuo.kaiitech.net`, optionally sign in with Google, and install, update and launch Kazuo AI with one click on Windows, macOS and Linux. The ecosystem includes: - **Web Dashboard**: the same widgets as the overlay, opened in a browser, including from another machine or on Linux/WSL without a graphical desktop. Sign in at `dash.kaiitech.net` to pick and control any of your machines. - **Plugin Store, Skills Store, MCP Store**: install new plugins, install "Skills" for AI agents, and register remote MCP servers into Claude Code / Codex / Hermes / ai-chat from inside the app, without rebuilding anything. - **Multi-agent orchestration**: define agent roles (agent-role), delegate work to agents on other machines (orchestrator, task-manager), run agents on a schedule (cron-job), and call an agent programmatically from another plugin (run-agent). - **Local bridge + MCP server**: lets an AI agent drive the application itself like a user would, which is how plugins are developed and tested with AI. - **Mobile app** (Android/iOS) for the Web Dashboard and push notifications. - **Cloud services**: sign-in, remote device management, per-organisation licensing, and the relay between a browser and each machine. Who it is for: developers and operators who want a desktop "workbench" where AI agents and operations tooling sit side by side; small teams that want to manage several machines from one account. Stack: Electron 33 + Svelte 5 + Vite + TypeScript; cloud services run on Cloudflare Workers. --- # Kazuo AI (desktop app) / Kazuo AI (ứng dụng desktop) # Kazuo AI (ứng dụng desktop) > Transparent overlay, Web Dashboard, Plugin Store and headline features. # Kazuo AI (ứng dụng desktop) / Kazuo AI (desktop app) ## Tiếng Việt ### Cài đặt và sử dụng 1. Tải **Kazuo Hub** tại `kazuo.kaiitech.net` cho đúng hệ điều hành. 2. Mở Hub → đăng nhập Google (tuỳ chọn, dùng cho quản lý thiết bị từ xa) → bấm **Cài đặt Kazuo AI**. Hub tải và cài im lặng, rồi có nút **Khởi chạy**. 3. Những lần sau Hub tự phát hiện bản mới và cập nhật bằng một cú bấm. Sau khi cài, Kazuo AI chạy ẩn trong khay hệ thống và hiển thị overlay trong suốt trên desktop. Widget được thêm, gỡ và cấu hình qua màn hình **Settings** (icon bánh răng), nơi cũng có **Plugin Store**. Nếu overlay không hiển thị đúng trong máy ảo hoặc remote desktop, bật **Chế độ tương thích VM** (software rendering) trong Settings. Trên macOS bản `.dmg` chưa ký số: cài qua Hub thì không vướng Gatekeeper; cài tay thì cần cho phép trong Privacy & Security. Phím tắt mở Launcher mặc định trên macOS là Option+Space. Ứng dụng xin quyền Accessibility (phím tắt toàn cục) và Screen Recording (chỉ khi dùng plugin ghi màn hình). ### Tính năng nổi bật - Overlay desktop trong suốt, click-through; widget kéo thả, đổi kích thước 8 hướng, tách thành cửa sổ pop-out. - **Web Dashboard** qua trình duyệt, dùng chung khung widget với overlay; chạy được ở chế độ headless trên Linux/WSL. - **Plugin Store**, **Skills Store**, **MCP Store** ngay trong ứng dụng. - **Terminal tích hợp** (node-pty + xterm) trên desktop. - **Background động** cho overlay (gradient, hạt, mạch điện tử...), có thể đặt làm hình nền Windows. - **Bridge server + MCP server cục bộ** để AI agent điều khiển ứng dụng. - **Quản lý thiết bị từ xa**: đăng nhập Google; admin khoá máy hoặc ép cập nhật từ xa. - **Phân quyền và giấy phép**: tổ chức, thành viên, gói với giới hạn số thiết bị và số ghế; giới hạn thiết bị thực thi cứng phía đám mây, plugin trả phí gate mềm phía ứng dụng. - Đa nền tảng Windows (nsis), macOS (dmg, Intel + Apple Silicon), Linux (AppImage). ### Nhóm plugin | Nhóm | Ví dụ | |---|---| | AI và agent | ai-chat, agent-role, orchestrator, agent-review, task-manager, cron-job, ai-voice, kchat | | Năng suất | notepad, clock, notification, entity-notes, file-explorer, screen-lock | | Ghi màn hình | capture-record, video-editor | | Hạ tầng / DevOps | docker-manager, kubernetes, nginx-manager, service-manager, process-manager, prometheus, grafana, database-manager, ssh-reverse-proxy, window-sync, file-storage, backup-manager, device-manager, sandbox-manager, git-manager | | Cloudflare | cloudflare-dashboard, cloudflare-dns, cloudflare-r2, cloudflare-security, cloudflare-tunnel, cloudflare-tunnel-runner, cloudflare-workers | | Khác | kazuo-remote-desktop, game-analytic, awesome-selfhosted, n8n, telegram-web-archiver, kazuo-router, nine-router | Danh sách đầy đủ kèm mô tả từng plugin nằm ở nhánh **Plugin** của wiki này. Plugin nào đi kèm bộ cài do cấu hình build quyết định; phần còn lại cài thêm qua Plugin Store. ### Kiến trúc tổng quan ``` Kazuo Hub (launcher) ──tải & cài──► Kazuo AI (Electron) ├─ main process: cửa sổ, vòng đời plugin, IPC, │ bridge server (loopback) + dashboard server, cloud client ├─ renderer (Svelte 5): overlay, Settings, Launcher, │ Web Dashboard, cửa sổ pop-out └─ mỗi plugin = một khung riêng (webview / iframe) + manifest.json ▲ ▲ MCP server cục bộ dịch vụ đám mây (đăng nhập, thiết bị, (AI điều khiển app khi dev) giấy phép, relay nhiều máy) ``` Chi tiết "vì sao chia như vậy" ở trang **Kiến trúc**. ## English ### Install and use 1. Download **Kazuo Hub** for your OS at `kazuo.kaiitech.net`. 2. Open the Hub → optionally sign in with Google (used for remote device management) → click **Install Kazuo AI**. The Hub downloads and installs silently, then offers **Launch**. 3. Later the Hub detects new versions and updates with one click. Once installed, Kazuo AI lives in the system tray and shows a transparent overlay on the desktop. Widgets are added, removed and configured from the **Settings** screen (gear icon), which also hosts the **Plugin Store**. If the overlay renders incorrectly inside a VM or remote desktop, enable **VM compatibility mode** (software rendering) in Settings. On macOS the `.dmg` is not code-signed yet: installing through the Hub avoids Gatekeeper; a manual install needs approval in Privacy & Security. The default Launcher shortcut on macOS is Option+Space. The app asks for Accessibility (global shortcuts) and Screen Recording (only for the capture plugin). ### Headline features - Transparent, click-through desktop overlay; drag, 8-direction resize, pop-out windows. - **Web Dashboard** in the browser, sharing the widget frame with the overlay; headless mode on Linux/WSL. - **Plugin Store**, **Skills Store** and **MCP Store** inside the app. - **Built-in terminal** (node-pty + xterm) on the desktop. - **Animated backgrounds** for the overlay (gradients, particles, circuitry), optionally as the Windows wallpaper. - **Local bridge server + MCP server** so AI agents can drive the app. - **Remote device management**: Google sign-in; admins can lock a machine or force an update remotely. - **RBAC and licensing**: organisations, members and plans with device and seat limits; the device limit is enforced in the cloud, premium plugins are soft-gated in the app. - Cross-platform: Windows (nsis), macOS (dmg, Intel + Apple Silicon), Linux (AppImage). ### Plugin groups | Group | Examples | |---|---| | AI & agents | ai-chat, agent-role, orchestrator, agent-review, task-manager, cron-job, ai-voice, kchat | | Productivity | notepad, clock, notification, entity-notes, file-explorer, screen-lock | | Screen capture | capture-record, video-editor | | Infrastructure / DevOps | docker-manager, kubernetes, nginx-manager, service-manager, process-manager, prometheus, grafana, database-manager, ssh-reverse-proxy, window-sync, file-storage, backup-manager, device-manager, sandbox-manager, git-manager | | Cloudflare | cloudflare-dashboard, cloudflare-dns, cloudflare-r2, cloudflare-security, cloudflare-tunnel, cloudflare-tunnel-runner, cloudflare-workers | | Other | kazuo-remote-desktop, game-analytic, awesome-selfhosted, n8n, telegram-web-archiver, kazuo-router, nine-router | The full list with a page per plugin is under the **Plugins** branch of this wiki. Which plugins ship inside the installer is a build-time choice; the rest install from the Plugin Store. ### Architecture at a glance ``` Kazuo Hub (launcher) ──download & install──► Kazuo AI (Electron) ├─ main process: windows, plugin lifecycle, IPC, │ bridge server (loopback) + dashboard server, cloud client ├─ renderer (Svelte 5): overlay, Settings, Launcher, │ Web Dashboard, pop-out windows └─ each plugin = its own frame (webview / iframe) + manifest.json ▲ ▲ local MCP server cloud services (sign-in, devices, (AI drives the app during development) licensing, multi-machine relay) ``` See the **Architecture** page for the reasoning behind this split. --- # Architecture / Kiến trúc # Kiến trúc > Processes, plugin isolation and the reasoning behind the split. # Kiến trúc / Architecture ## Tiếng Việt Trang này trả lời **"vì sao chia như vậy"**, không phải "code nằm ở đâu". ### 1. Các tiến trình và ranh giới | Vùng | Tiến trình | Vai trò | |---|---|---| | main (Node, Electron) | Main | Cửa sổ, vòng đời plugin, IPC, hai HTTP server cục bộ, cloud client | | renderer (Svelte 5) | Renderer | Overlay, Settings, Launcher, Web Dashboard, cửa sổ pop-out | | Plugin UI | `` (desktop) hoặc `