# Repository Briefing: wecode-ai/Wegent
> Source: https://repoforai.com/repo/wecode-ai/Wegent (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/wecode-ai/Wegent
- **Official Docs / Website**: https://wecode-ai.github.io/wegent-docs
- **Category**: Chat UI & AI Apps (聊天界面与 AI 应用)
- **Primary Language**: TypeScript
- **License**: Apache-2.0
- **Engineering Health**: A+ (94/100 · Maintenance 35/35 · Adoption 19/25 · Releases 20/20 · License 20/20)
- **Latest Release**: wework-v0.6.15 (2026-12-01) — https://github.com/wecode-ai/Wegent/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Docker, Self-Hosted
- **Momentum**: 897 ★ total (+0 24h / +3 7d) · 151 forks
- **Topics**: `agent`, `ai`, `chatbot`, `claude-code`, `codex`, `dsh-plugin`, `wework`
- **When to Use**: Best for: Engineering teams that want people and AI agents to work from the same Issue, review execution and hand off deliverables across local and managed devices. Skip if: You only need chat or a standalone coding assistant, or cannot maintain model access, permissions and available execution devices.

## Overview
```text
### Architecture & Core Mechanics
Wegent separates project coordination from task execution. The Next.js/React Web app and Electron/Vite/React Wework desktop client share TypeScript chat and collaboration modules in `packages/`. In Desktop, Electron supplies system access and process management, DeepSeek Harness hosts the UI and plugins, and the Rust `executor/` manages tasks and sessions and drives Codex. Local coding does not require a Backend login.

For shared projects, `backend/` is the default public API and business-logic layer. `backend-rs/` serves as a hybrid gateway and implements migrated APIs; it does not replace the whole Backend. `executor_manager/` handles server-side scheduling, sandboxes and orchestration. Document conversion and indexing/retrieval have separate services, with `knowledge_engine/` providing reusable Python components for parsing, vector stores and retrieval.

### Key Capabilities & Differentiators
The Issue is the unit of coordination: assign it to a person, agent or group, run a linked task, inspect execution, then attach selected files and notes. Project boards, shared files and discussions preserve context when work changes hands. In Wework, Codex operates on project files and commands; reviewers can inspect tool activity, command output, tests and diffs alongside the task rather than relying on the final chat response.

Reusable agents combine configured models, prompts, Skills, knowledge and tools. Tasks can run on a local device, a remote work machine or a server-managed executor. Codex is the explicit local coding integration; do not assume that every configurable model works on every execution path. Beta personal stand-ins need authorized sources, a configured model and an available device, and provide controls for human intervention and confirmation. AI lead conversations require experimental features to be enabled.

### Trade-offs & Limitations
Compared with a conventional team chat app, Wegent adds assignment, linked runs and deliverables that survive a handoff. Compared with a standalone coding assistant, it adds shared project state and a choice of execution device. Those gains matter when several people or agents work on the same Issue. For solo use, the local Desktop workflow captures most of the coding value without the overhead of running the collaboration stack.

A shared deployment takes more than starting containers: someone must own access policies, model configuration, scheduling, data persistence and device availability. Stand-ins do not keep running on a powered-off device, and automatic processing remains subject to project permissions and operation approvals. Keep review and confirmation separate from execution. Apache-2.0 permits commercial use, but redistribution obligations and independently licensed components still need review.

### Hardware & Deployment Guide
Standalone Docker is the path for self-hosting Web and Backend. The `install.sh` entrypoint takes `--standalone`; inspect the script before running it, then open `http://localhost:3000`, set the administrator password and configure a model. The root Compose file includes MySQL 9.4 with a persistent volume and a Redis service; it also publishes a configurable MySQL port and supplies fallback credentials. Replace those credentials and restrict database access before a shared rollout.

Desktop can be installed separately for local work, but independence from Backend does not imply offline inference. For desktop development, use pnpm with Node.js 22.15 or later in the 22.x line, or 23.8 and later (Node.js 24 recommended); `pnpm --filter wework dev` starts the development workflow. The v2.0.44 changes include per-assistant model selection for autonomous learning and fixes for Goal state and Continue after restart. Size the service host and execution devices separately; the latter depend on task concurrency and real build and test workloads.
```

## Key Capabilities
```text
- Work tracking: An Issue links ownership, discussion, execution tasks and selected deliverables across handoffs.
- Local coding: Wework runs Codex against project files and commands and surfaces tool activity, tests and diffs without a Backend login.
- Execution placement: Tasks can run on local devices, remote work machines or server-managed executors.
- Service boundaries: The default Backend handles business logic and public APIs; the Rust hybrid gateway serves APIs that have completed migration.
- Extensibility and retrieval: DeepSeek Harness hosts Desktop plugins; document conversion and indexing/retrieval are separate knowledge services.
- Automation controls: Beta personal stand-ins operate within authorized sources and configured policies and require an available execution device.
```

## Quick Start / Clone
```bash
curl -fsSL https://raw.githubusercontent.com/wecode-ai/Wegent/main/install.sh | bash -s -- --standalone
```
