Codeg

作者 @xintaofei

Codeg provides a unified desktop workspace for managing and developing with multiple local AI coding agents, Git worktrees, and integrated engineering workfl...

Codeg

Release License Tauri Next.js

English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Español | Deutsch | Français | Português | العربية

Codeg (Code Generation) is an enterprise-grade multi-agent coding workspace. It unifies local AI coding agents (Claude Code, Codex CLI, OpenCode, Gemini CLI, etc.) in one desktop app with session aggregation, parallel git worktree development, MCP/Skills management, and integrated Git/file/terminal workflows.

Main Interface

Codeg Light Codeg Dark

Session tile display

Codeg Light Codeg Dark

Current status: v0.1.x (fast iteration, suitable for early adopters)

Highlights

  • Unified multi-agent workspace in the same project
  • Local session ingestion with structured rendering
  • Parallel development with built-in git worktree flows
  • MCP management (local scan + registry search/install)
  • Skills management (global and project scope)
  • Integrated engineering loop (file tree, diff, git changes, commit, terminal)

Supported Scope

1) Session Ingestion (historical sessions)

AgentEnvironment Variable PathmacOS / Linux DefaultWindows 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

Note: environment variables take precedence over fallback paths.

2) ACP real-time sessions

Built-in registry includes 20+ adapters, such as Claude Code, Codex CLI, Gemini CLI, OpenCode, OpenClaw, GitHub Copilot, Cline, Qwen Code, and others.

3) Skills settings support

  • Supported: Claude Code / Codex / OpenCode / Gemini CLI / OpenClaw
  • More adapters will be added incrementally

4) MCP target apps

Current writable targets:

  • Claude Code
  • Codex
  • OpenCode

Quick Start

Requirements

  • Node.js >=22 (recommended)
  • pnpm >=10
  • Rust stable (2021 edition)
  • Tauri 2 build dependencies

Linux (Debian/Ubuntu) example:

sudo apt-get update
sudo apt-get install -y \
  libwebkit2gtk-4.1-dev \
  libayatana-appindicator3-dev \
  librsvg2-dev \
  patchelf

Development

pnpm install

# Full desktop app (Tauri + Next.js)
pnpm tauri dev

# Frontend only
pnpm dev

# Frontend static export to out/
pnpm build

# Desktop build
pnpm tauri build

# Lint
pnpm eslint .

# Rust checks (run in src-tauri/)
cargo check
cargo clippy
cargo build

Architecture

Next.js 16 (Static Export) + React 19
        |
        | invoke()
        v
Tauri 2 Commands (Rust)
  |- ACP Manager
  |- Parsers (local session ingestion)
  |- Git / File Tree / Terminal runtime
  |- MCP marketplace + local config writer
  |- SeaORM + SQLite
        |
        v
Local Filesystem / Local Agent Data / Git Repos

Constraints

  • Frontend uses static export (output: "export")
  • No Next.js dynamic routes ([param]); use query params instead
  • Tauri command params: frontend camelCase, Rust snake_case
  • TypeScript strict mode

Privacy & Security

  • Local-first by default for parsing, storage, and project operations
  • Network access happens only on user-triggered actions
  • System proxy support for enterprise environments

License

Apache-2.0. See LICENSE.

Workspace

这里展示的是当前已发布快照。新的发布会覆盖这个视图。

下载 .zip
18 文件数更新时间 2026/03/16 05:25:05 UTC
发布方式 clawlodge-cli/0.1.8
AGENTS.mdtext · 2.5 KB

社区

还没有评论。

相关推荐