# guada **Repository Path**: tianlq/guada ## Basic Information - **Project Name**: guada - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-09-01 - **Last Updated**: 2026-09-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ⚡ GuaDa AI — Turn Your Computer into an AI Workstation > **A visible, tangible, and interactive** desktop AI workstation. Built on ReAct Agent + Sub-Agent hierarchical architecture, one engine serves **Web / Desktop / IM** through a unified interface.

stars forks NestJS Vue TypeScript Electron MIT

Quick Start · Core Capabilities · Feedback · Join Community

English · 中文

--- ## Quick Start (5-Minute Setup) ```bash # Clone the repository git clone https://gitee.com/zhendongdong/guada_ai.git cd guada_ai # One-click deployment (Docker) cp .env.example .env ./deploy.sh # Open your browser at http://localhost:3000 # Start chatting with your AI assistant! ``` > You can also choose the [Electron Desktop](docs/ELECTRON_DEPLOYMENT.md) or [Traditional Web Deployment](docs/PRODUCTION_DEPLOYMENT.md). --- ## What Can It Do for You?

Content Creator

Social media · Copywriting · Scriptwriting

Write scripts, craft copy, track trends. Agents automatically scrape competitor updates, organize material libraries, and even open the browser to crawl data for you.

Developer

Coding · Architecture · DevOps

Analyze code, write technical proposals, review PRs. Drop your project into the knowledge base and ask questions anytime — let the Agent handle the scripting.

✍️ Writer

Creative writing · Storytelling · Brainstorming

Develop characters, build story worlds, brainstorm plots. GuaDa remembers your settings — no more "it forgot what was said earlier."

Teams & Enterprises

Internal AI · Knowledge base · Customer service

Set up an internal AI assistant, connect your knowledge base, let AI answer employee questions automatically. Integrate with QQ/WeCom.

Data stays on your machine — safe and controllable.
--- ## Core Capabilities | Capability | Highlights | Docs | |------|---------|------| | **⚡ Agent** | ReAct multi-turn autonomous loop + Sub-Agent hierarchical delegation. Supports session locks, streaming, interruption handling, and regeneration mode | [→ Details](docs/agent-engine.md) | | ** Sub-Agent System** | Main Agent auto-decomposes complex tasks → delegates sub-agents to execute independently → results auto-collected | [→ Details](docs/sub-agent.md) | | ** Knowledge Base (RAG)** | Semantic + keyword hybrid retrieval, Agent self-service multi-round search and write, supports **40+ file formats** | [→ Details](docs/knowledge-base.md) | | ** Long-Term Memory** | Two-level compression (trim → semantic), editable, reversible, with history tracking — non-destructive compression | [→ Details](docs/memory.md) | | ** Skills Management** | Files-as-skills, hot-pluggable with instant effect, progressive loading saves tokens | [→ Details](docs/skills.md) | | **⏰ Scheduled Tasks** | Agent runs automatically on Cron schedules, independent session isolation, complete execution logs | [→ Details](docs/scheduler.md) | | ** Bot Gateway** | Unified access to **QQ / WeCom** and other IM platforms. Auto-reconnect, message merging, dynamic start/stop | [→ Details](docs/bot-gateway.md) | | ** Browser Automation** | Electron-embedded Chromium, Agent controls the browser directly. **6-layer smart compression**, saves 70%+ tokens without losing structure | [→ Details](docs/browser-automation.md) | | ** Multi-Model Management** | Unified adapters for OpenAI / Anthropic / Azure / Google etc. Role-level / session-level / global-level configuration | [→ Details](docs/models.md) | | ** Multiple Deployment Options** | Electron desktop + Web app + Docker containerization, ready out of the box | [→ Deployment Guide](#-quick-start-5-minute-setup) | | **️ Enterprise-Grade Data** | SQLite by default, Prisma ORM for seamless switch to MySQL / PostgreSQL | — | | ** Custom Wallpaper** | Custom backgrounds, transparency, glassmorphism — create your own workstation | — | --- ## ️ Product Screenshots

Screenshot 1 Screenshot 2

Screenshot 3 Screenshot 4

Knowledge Base Browser Automation

--- ## ️ System Architecture ![System Architecture](./images/system-architecture.png) **Four layers:** `Frontend Entry → Entry Layer → Core Service Layer → Data Layer` | Layer | Responsibility | Core Components | |------|------|----------| | **Frontend Entry** | User interaction | Vue 3, Electron, QQ/WeCom Bot | | **Entry Layer** | Routing & protocol conversion | REST + SSE API, Bot Gateway | | **Core Service Layer** | Agent engine + Sub-Agent + RAG + Tools + Skills + LLM adapters | Agent Engine, Sub-Agent Manager, Context Compression, RAG, MCP, Skills Framework, LLM Adapters | | **Data Layer** | Persistent storage | SQLite (Prisma ORM, switchable to MySQL/PostgreSQL), sqlite-vec + FTS5, file system | --- ## ️ Project Structure ``` ai_chat/ ├── backend-ts/ # NestJS Backend │ ├── prisma/schema.prisma # Database Schema │ ├── src/ │ │ ├── common/ # Infrastructure (database, vector, MCP, utils) │ │ └── modules/ │ │ ├── chat/ # ⭐ Core dialogue (Agent engine, compression, context, approval) │ │ ├── tools/ # ⭐ Tool invocation system (scheduler, MCP, context) │ │ ├── skills/ # ⭐ Skills framework │ │ ├── sub-agent/ # ⭐ Sub-Agent system │ │ ├── knowledge-base/ # ⭐ Knowledge base (RAG) │ │ ├── llm-core/ # LLM adapter layer │ │ ├── bot-gateway/ # Bot gateway │ │ ├── characters/ # Character management │ │ ├── scheduler/ # Scheduled tasks │ │ └── ... # auth, files, models, settings, users │ └── main.ts ├── frontend/ # Vue 3 Frontend ├── electron/ # Electron Desktop ├── docs/ # Documentation └── LICENSE ``` --- ## Development Roadmap | Feature | Status | Description | |------|:----:|------| | **Sub-Agent System** | ✅ Done | Hierarchical Agent system, complex task auto-decomposition | | **Agent Workflow** | ✅ Done | Multi-step Agent orchestration, task decomposition & collaboration | | **Sub-accounts** | Backend done | Data isolation, shared configuration, suitable for family/team use | | **Sandbox** | Planning | Secure code execution environment, Agent writes and runs scripts | | **Agent Workflow Visualization** | Planning | Visual display of Agent reasoning, tool calls, and sub-agent execution chains | --- ## Community **Got questions? Want to discuss tech? Download pre-built clients? Come here:**
QQ Group QR
🐧 QQ Group: 1047993501
WeChat Group QR
💬 WeChat Group
WeChat Account QR
📱 WeChat Official Account: 冬瓜编程实验室

⭐ Give a Star to Support the Project (Your encouragement is the fuel for continuous updates ❤️)

--- ## License This project is open-sourced under the [MIT License](LICENSE). Free to use, modify, and for commercial purposes. ---

If GuaDa helps you, consider giving it a Star on Gitee ⭐
Every Star is the motivation to make this project even better