English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Español | Deutsch | Français | Português | العربية
Codeg (Code Generation) is a multi-agent coding workspace. It brings multiple agents (Claude Code, Codex CLI, OpenCode, Gemini CLI, OpenClaw, Cline, Hermes Agent, CodeBuddy, Kimi Code, Pi, etc.) into one workspace, supporting conversation aggregation and multi-agent collaboration, with desktop installation plus server/Docker deployment.
|
|
|
Compshare (UCloud)
|
Thanks to Compshare for sponsoring this project! Compshare is UCloud's AI cloud platform, offering cost-effective monthly and pay-as-you-go agent Plan subscriptions for Chinese models, starting at just ¥49/month. It also provides stable officially-proxied access to overseas models. Supports Claude Code, Codex, and API integrations. Enterprise-ready with high concurrency, 24/7 technical support, and self-service invoicing. Users who sign up via this link receive ¥5 in free platform credits! |
Want to become a Codeg sponsor? Reach out to us by email.



git worktree flows.docx / .xlsx / .pptx through the bundled officecli toolset, with live in-tab preview that refreshes as the agent editscodeg-server on any Linux/macOS server, access via browserdocker compose up or docker run, with custom token, port, and volume mounts for data persistence and project directories| Agent | Environment Variable Path | macOS / Linux Default | Windows Default |
|---|---|---|---|
| Claude Code | $CLAUDE_CONFIG_DIR/projects |
~/.claude/projects |
%USERPROFILE%\\.claude\\projects |
| Codex CLI | $CODEX_HOME/sessions |
~/.codex/sessions |
%USERPROFILE%\\.codex\\sessions |
| OpenCode | $XDG_DATA_HOME/opencode/opencode.db |
~/.local/share/opencode/opencode.db |
%USERPROFILE%\\.local\\share\\opencode\\opencode.db |
| Gemini CLI | $GEMINI_CLI_HOME/.gemini |
~/.gemini |
%USERPROFILE%\\.gemini |
| OpenClaw | — | ~/.openclaw/agents |
%USERPROFILE%\\.openclaw\\agents |
| Cline | $CLINE_DIR |
~/.cline/data/tasks |
%USERPROFILE%\\.cline\\data\\tasks |
| Hermes Agent | $HERMES_HOME/state.db |
~/.hermes/state.db |
%USERPROFILE%\\.hermes\\state.db |
| CodeBuddy | $CODEBUDDY_CONFIG_DIR/projects |
~/.codebuddy/projects |
%USERPROFILE%\\.codebuddy\\projects |
| Kimi Code | $KIMI_CODE_HOME/sessions |
~/.kimi-code/sessions |
%USERPROFILE%\\.kimi-code\\sessions |
| Pi | $PI_CODING_AGENT_SESSION_DIR |
~/.pi/agent/sessions |
%USERPROFILE%\\.pi\\agent\\sessions |
Note: environment variables take precedence over fallback paths.
Create new projects visually with a split-pane interface: configure on the left, preview in real time on the right.

shadcn init with your preset, framework template (Next.js / Vite / React Router / Astro / Laravel), and package manager of choice (pnpm / npm / yarn / bun)Currently supports shadcn/ui project scaffolding, with a tab-based design ready for more project types in the future.
Connect your favorite messaging apps — Telegram, Lark (Feishu), iLink (Weixin), and more — to your AI coding agents. Create tasks, send follow-up messages, approve permissions, resume sessions, and monitor activity — all from your chat app. Receive real-time agent responses with tool-call details, permission prompts, and completion summaries without ever opening a browser.
| Channel | Protocol | Status |
|---|---|---|
| Telegram | Bot API (HTTP long-polling) | Built-in |
| Lark (Feishu) | WebSocket + REST API | Built-in |
| iLink (Weixin) | WebSocket + REST API | Built-in |
More channels (Discord, Slack, DingTalk, etc.) are planned for future releases.
Work with Word, Excel, and PowerPoint files as a first-class workflow. The bundled officecli toolset lets your agents create, analyze, proofread, and edit .docx, .xlsx, and .pptx documents — and you can preview the result right inside Codeg.
.docx / .xlsx / .pptx files, including charts, tables, and formatting.docx / .xlsx / .pptx in a file tab and it renders inline, refreshing automatically as the agent edits — backed by a long-lived officecli watch server (reverse-proxied and capability-authenticated so it works in web and standalone-server deployments)officecli and manages its document skills through a skill-by-agent matrix: toggle any (skill, agent) pair, flip a skill across all agents or every skill for one agent, and apply bulk changes at onceTurn any composer setup — agent, model, prompt, working directory, and options — into a reusable Automation that runs without opening the UI.
>=22 (recommended)>=10Linux (Debian/Ubuntu) example:
sudo apt-get update
sudo apt-get install -y \
libwebkit2gtk-4.1-dev \
libayatana-appindicator3-dev \
librsvg2-dev \
patchelf
Codeg ships three Rust binaries from a single workspace:
| Binary | Role | Build |
|---|---|---|
codeg |
Tauri desktop app (window, tray, updater) | pnpm tauri build (release) / pnpm tauri dev (dev) |
codeg-server |
Standalone HTTP + WebSocket server for browser/headless deployments | pnpm server:build / pnpm server:dev |
codeg-mcp |
Per-launch stdio MCP companion that surfaces the delegate_to_agent tool to agent CLIs (multi-agent collab) |
pnpm tauri:prepare-sidecars (auto-invoked by tauri dev / tauri build) |
codeg-mcp must sit next to its parent binary at runtime — installers, the Docker image, and the Tauri sidecar bundler all place it next to codeg / codeg-server. Source builds and custom layouts can override the lookup with the CODEG_MCP_BIN=/abs/path/codeg-mcp env var. If the companion is missing, delegation is skipped (a single warning is logged) and the rest of the agent session keeps working.
```bash pnpm install
pnpm dev
pnpm build
pnpm tauri dev
pnpm tauri build
pnpm server:dev pnpm server:build # release binary at src-tauri/target/release/codeg-server
pnpm tauri:prepare-sidecars # output: src-tauri/binaries/codeg-mcp-
CODEG_SKIP_SIDECAR=1 pnpm tauri dev
pnpm eslint .
pnpm test pnpm test:watch pnpm test:coverage
cargo check # desktop (default features) cargo check --no-default-features --bin codeg-server # server mode cargo check --no-default-features --bin codeg-mcp # MCP companion cargo clippy --all-targets --features test-utils -- -D warnings
$ claude mcp add codeg \
-- python -m otcore.mcp_server <graph>