Skip to content

MoozLee/codeg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,937 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codeg

Release Docs License

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

Codeg (Code Generation) is a multi-agent coding workspace: run every AI coding agent in one place — and let them work together.

It aggregates your sessions from every supported agent CLI into one searchable workspace, lets a main agent delegate to sub-agents of other types within a single task, and runs as a desktop app, a standalone server, or a Docker container.

workspace workspace

📖 Documentation

Full documentation lives at docs.codeg.appGetting Started · Guide · Reference

💖 Sponsors

Compshare
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!
随想AI中转站
随想AI中转站
Thanks to 随想AI中转站 for sponsoring this project! 随想AI中转站 is a reliable and efficient API relay provider, offering relay services for Claude, Codex, Gemini, and more. New accounts earn ¥0.5 in test credit with each daily check-in after signing up; top-ups are credited 1:1 — no subscription, pay as you go. Multi-route redundancy, cross-region disaster recovery, and automatic failover keep long-lived SSE connections uninterrupted.
合租巴士
合租巴士
Thanks to 合租巴士 for sponsoring this project! 合租巴士 is a reliable and efficient AI relay platform, offering highly stable relay for mainstream models such as Codex and Claude Code. Top-ups are credited at a transparent 1:1 ratio, with Codex rate subsidies as low as 0.08. Join the group via the official website to get $5 in trial credit.
OneHop
OneHop
Thanks to OneHop for sponsoring this project! OneHop gives Codeg users one OpenAI-compatible API key for hundreds of leading models, including GPT, Claude, Gemini, DeepSeek, Kimi, and Qwen. Switch models without managing multiple provider accounts or repeatedly changing your code, and pay only for what you use. Sign up through Codeg to receive $1 in credit, then join the OneHop community and participate in the welcome activity for an additional $5 — up to $6 in test credit in total.

Want to become a Codeg sponsor? Reach out to us by email.

🤖 Supported Agents

Claude Code · Codex · Gemini · OpenClaw · OpenCode · Cline · Hermes · CodeBuddy · Kimi Code · Pi · Grok · Cursor

Codeg installs, pins, and updates most of them for you. See Supported Agents for the full roster, each agent's runtime requirements, and where it keeps its sessions on disk.

🤝 Multi-Agent Collaboration

Multi-agent collaboration, reduced to a single keystroke: type @, pick an agent, hit send. Codeg handles the scheduling — it launches each mentioned agent as its own session, hands over the task, and streams the work back into the thread you're already in. Mention two and they run side by side: Claude Code drafting while Codex reviews. No context switching, no copy-pasting between terminals.

Delegating a task to sub-agents from a single Codeg conversation Delegating a task to sub-agents from a single Codeg conversation

📄 Office Documents

Ask for a deck, a report, or a workbook and the agent builds a real .pptx / .docx / .xlsx — while the pane on the right renders it live. Every edit lands in the preview on its own: slides fill in, tables take shape, numbers land in cells. Don't like slide 4? Say so in the next message — the agent edits the same file in place and the preview catches up. No export step, no external Office app, no leaving Codeg.

An agent editing an Office document beside its live in-tab preview An agent editing an Office document beside its live in-tab preview

💻 Workspace

One workspace, every agent. Whichever one is driving — Claude Code, Codex, Cursor — it works in the same editor, the same live diffs, the same git client, and what it produces is real files in your repo, changing while you watch.

Sessions. Pull in the history you already have: past sessions from every installed agent, imported in one click and resumable where you left them. Once they're in, they stop being separate silos — @-mention an old session and the agent you're talking to can read it, even when a different agent wrote it, so today's Codex run picks up where last week's Claude Code session ended.

Files. The agent's edits show up as diffs beside the conversation as they land. Open any file in a real editor with syntax highlighting, send a file — or just a selection — straight to the agent with ⌘L, and preview Markdown, HTML, images, and Office documents in the same pane.

Git. A full client, not a status readout: commit and push, browse history with per-commit push state, and branch, merge, rebase, stash, reset, or diff against another branch. Conflicts open a three-pane merge editor where you accept hunk by hunk or type the fix yourself. And worktrees make parallel work one action — a new branch, its own directory, and a fresh conversation rooted in it, so a fleet of agents build different features at once without touching each other's files.

✨ Highlights

  • Conversation Aggregation — import sessions from every supported agent into one unified, searchable workspace, and pick any of them up where you left off
  • Multi-Agent Collaboration@-mention any agent to delegate: sub-agents of different types run as their own sessions, in parallel, inside a single task
  • The Workspace — the full engineering loop next to the agent: file tree, editor and diff, git changes, commit, and an embedded terminal
  • Git & Worktrees — review and commit changes, manage Git remote accounts, and run work in parallel with built-in git worktree flows
  • Chat Channels — drive your agents from Telegram, Lark (Feishu), and iLink (Weixin): create tasks, approve permissions, and get live updates
  • Automations — save a fully-configured composer as a reusable automation that runs headlessly, on a cron schedule or on demand
  • Office Documents — create, analyze, proofread, and edit .docx / .xlsx / .pptx through the bundled officecli, with live in-tab preview
  • Scientific Research — bundled research skills (hypothesis generation, experimental design, statistics, visualization, critical appraisal, literature search) any agent can invoke
  • Project Boot — scaffold new projects visually, with live preview, then open them straight in the workspace
  • MCP & Skills — local server scan plus registry search/install, and skills managed at global or project scope
  • Desktop, Server & Docker — a native desktop app, a standalone codeg-server you reach from any browser, or docker compose up

📦 Install & Run

Desktop — download the installer for macOS, Windows, or Linux from Releases, then follow Installation.

Server — run Codeg headless and reach it from any browser:

curl -fsSL https://raw.githubusercontent.com/xintaofei/codeg/main/install.sh | bash
codeg-server

Docker — the same server, in one container:

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

Compose, prebuilt binaries, source builds, and in-place updates are covered in Deployment; environment variables in Configuration. Building Codeg itself: Development and Architecture.

🔒 Privacy & Security

  • Local-first by default for parsing, storage, and project operations — network access happens only on user-triggered actions
  • Web and server modes are guarded by token-based authentication
  • System proxy support for enterprise environments

Details in Privacy & Security.

👥 Community

  • Scan the QR code below to join our WeChat group for discussions, feedback, and updates

WeChat

WeChat

  • Thanks to the LinuxDO community for their support

🙏 Acknowledgments

📜 License

Apache-2.0. See LICENSE.

About

Aggregate and browse AI coding agent sessions (Claude Code, Codex, Gemini CLI, etc.) in one place. Desktop app, self-hosted server, or Docker.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages