# Codeg

> One workspace for fifteen coding-agent CLIs — aggregated sessions, @-mention delegation between agents, and unattended to-dos in their own git worktrees

- Category: AI Coding / Coding-Agent Harnesses & Runtimes
- Language: Rust
- Licence: Apache-2.0
- Repository: https://github.com/spacering-net/codeg
- Website: https://docs.codeg.app
- Canonical page: https://ai-tldr.dev/tools/codeg/

## In short

Codeg is a workspace that runs every AI coding agent CLI in one place instead of one terminal tab each. It sits in the Coding-Agent Harnesses & Runtimes category of the AI Coding tools and is open-source, written in Rust and licensed Apache-2.0. To get started: desktop app.

## Overview

Codeg is a workspace that runs every AI coding agent CLI in one place instead of one terminal tab each. Fifteen agents are built in — Claude Code, Codex, Gemini, OpenClaw, OpenCode, Cline, Hermes, CodeBuddy, Kimi Code, Pi, Grok, Cursor, DeepSeek Harness, Qoder and Google Antigravity — and Codeg installs, pins and updates most of them for you. Anything else that speaks the [Agent Client Protocol](https://agentclientprotocol.com) can be registered from the public ACP registry or a distribution JSON, after which it behaves like a built-in: it appears in the picker, accepts delegation and skills, and gets its conversations recorded and searchable even if the agent keeps no history itself.

Two features make it more than a launcher. Sessions from every installed agent are imported into one searchable store and resumable where you left them, and an old session can be `@`-mentioned so today's Codex run reads what last week's Claude Code run did. Delegation is the same keystroke: `@` an agent and Codeg launches it as its own session, hands over the task, and streams the work back into the current thread — mention two and they run side by side. When an agent spawns its own sub-agents, each child gets a card that fills in as it works rather than appearing all at once.

The to-do board is where unattended work lives. Each task gets its own copy of the code — a git worktree beside your project on its own branch — so several run concurrently without touching each other or your tree, up to a concurrency limit you set, optionally on a schedule. A finished task does not merge itself: it moves to a review column, and on acceptance the agent pulls the base branch into its worktree and resolves conflicts there, after which Codeg verifies the result against git rather than trusting the agent's report — an unconfirmed merge goes back to review. Around that sit a real workspace (file tree, editor, live diffs, embedded terminal, a full git client with a three-pane merge editor, and several folders linked as one), a splittable tab grid, `.docx`/`.xlsx`/`.pptx` editing with live preview via the bundled `officecli`, MCP and skills management, token-usage reporting, cron-driven automations, and Telegram/Lark/WeChat chat channels. It runs as a desktop app, a standalone `codeg-server`, or Docker, with open-source native iOS and Android clients that connect to your own instance — files, CLIs and conversations stay on the machine running Codeg. Apache-2.0.

## What it does

- Fifteen agent CLIs built in (Claude Code, Codex, Gemini, OpenClaw, OpenCode, Cline, Hermes, CodeBuddy, Kimi Code, Pi, Grok, Cursor, DeepSeek Harness, Qoder, Antigravity), installed and pinned for you
- Any ACP-compatible agent can be registered from the registry or a distribution JSON and is then treated as a built-in
- Session aggregation across agents — import existing histories, resume them, and @-mention one agent's old session from another
- @-mention delegation: mentioned agents run as parallel sessions and stream back into the thread, with a card per spawned sub-agent
- To-dos that run unattended in their own git worktree and branch, with a concurrency limit, scheduling, and a mandatory review column
- Merges verified against git — a result Codeg cannot confirm returns to review instead of reporting success
- Full workspace: editor, live diffs, embedded terminal, git client with three-pane conflict resolution, and multiple folders linked as one
- Office document creation and editing (.docx/.xlsx/.pptx) with live in-tab preview via the bundled officecli
- Automations that run a saved composer headlessly on cron or on demand, plus Telegram, Lark and WeChat chat channels
- Desktop app, standalone codeg-server or Docker, with open-source native iOS and Android clients and token-guarded access

## Getting started

Pick the deployment that matches how you work: desktop app for a single machine, server or Docker when you want browser and mobile access to the same instance.

1. Desktop app

   Download the macOS, Windows or Linux installer from GitHub Releases.

```text
https://github.com/spacering-net/codeg/releases
```

2. Headless server on Linux or macOS

   The install script places the binary and the web assets; the environment variable points the server at them.

```bash
curl -fsSL https://raw.githubusercontent.com/spacering-net/codeg/main/install.sh | bash
CODEG_STATIC_DIR=/usr/local/share/codeg/web codeg-server
```

3. Or in Docker

   The same server in one container, with a named volume for its data.

```bash
docker run -d -p 3080:3080 -v codeg-data:/data ghcr.io/xintaofei/codeg:latest
```

4. Import what you already have

   Existing sessions from every installed agent import in one click and stay resumable, which is what makes cross-agent @-mentioning useful on day one.

```text
https://docs.codeg.app/guide/aggregation
```

5. Pair a phone

   Point the iOS or Android client at the Web Service of your desktop app or at your own codeg-server — URL and token, three steps. The token is held in iOS Keychain or Android Keystore; nothing moves onto the phone.

```text
https://docs.codeg.app/getting-started/installation#mobile-apps
```

## When to use it

- Stop juggling terminals when you use several coding agents — one searchable workspace holds all of their sessions
- Have one agent draft while another reviews, in parallel, without copy-pasting between tools
- Queue work you do not want to watch and review the diff later, with each task isolated in its own worktree and branch
- Carry context across agents and weeks by mentioning an old session from a different CLI
- Check in on a long-running agent from a phone while the code, CLIs and history stay on your own machine
