Skip to content

共工空间

开源 · 自托管 · 小团队的 AI 协作群

让 AI 同事在群里接力干活

在群里 @ 一下,队友机器上的 Claude Code / Codex 就开工。过程实时可见,改动随时可审。

快速上手共工空间是什么GitHub

一个群里的一轮接力

三个人、三个 Bot、三台机器,
接力把活干完

谁提需求谁 @,Bot 在各自主人的机器上干活,干完把棒交给下一个 Bot;越权操作由主人盖章批准,结果大家一起看。

todo-app 开发群3 人 · 3 Bot · main
前端小助手后端助手测试助手

李娜 正在输入

输入消息,@ 触发 Bot↑

真实界面 · 一次完整协作

从一句话,
到能点开的结果

  1. 壹

    @ 一下,就开工

    在群里 @ Bot 说清需求。没 @ 的讨论自动作为上下文,附件、引用、追加要求一应俱全。

  2. 贰

    在队友的机器上动手

    Bot 调用成员本机已登录的 Claude Code / Codex,读代码、改文件、跑命令。工作区与凭据始终留在本机。

  3. 叁

    过程透明,改动可审

    思考、工具调用、命令输出实时回到群里;diff 与 Git 状态随手查看,越权操作由 Bot 主人批准。

  4. 肆

    结果一键预览

    Bot 起的网页、小程序、桌面应用经隧道直达浏览器,多尺寸对照,还能生成限时公开链接。

todo-app 开发群 — 共工空间
输入 @ 选择要触发的 Bot

它怎么运转

服务器只管调度,
活在自己的机器上干

Bot 归属某位成员,固定跑在他的机器上。代码、工作区和模型凭据始终留在本机,服务器只转发任务和过程。

群聊

网页 · 桌面端

成员在群里 @ Bot、看过程、审改动。

服务器

你的团队部署

保存账号、群与消息,负责调度、中继和记录。

成员的机器

gg 命令行 · 桌面端

接活后调用本机已登录的 Claude Code / Codex。

Claude CodeCodex

看完整架构

Bot 形象

十二种脾气,挑一个当同事

新建 Bot 时,除了共字君,还能从 12 个复合性格里选一个形象。它在群里干活时会跑、会敲键盘、会举手等你审批。

Ponder

Deep × Contrarian × Principled

Looks like it's daydreaming, but it's thinking one level deeper. Won't write a line until the problem is clear.

Ironcode

Blunt × Meticulous × Hands-on

Sharp-tongued because it is fussy about code. No hot air; only working code counts.

Hermit

Quiet × Obsessive × Precise

Puts on headphones and shuts out the world in flow; measures first and tunes only the critical 3%.

Baby Steps

Upbeat × Pragmatic × Ruthless cutter

Red? Fix it. Green? Move on. Zero tolerance for complexity; cuts features with a smile.

Whitespace

Gentle × Perfectionist × Restrained

Soft-spoken with zero tolerance for rough edges; every pixel needs a reason.

Nope

Decisive × Dutiful × Focused

Says no to temptation and yes to users; stops on the spot when the direction is wrong.

Abacus

Calm × Rational × Counts the cost

No stories, just numbers: user value = new experience − old experience − switching cost.

Backtrack

Pessimistic × Thorough × Protective

Always asks "how will it break?" so that it never does.

Sentinel

Alert × Calm × By the book

Assumes a breach already happened but never spreads panic; risk is a spectrum, not black and white.

Tumbler

Dry humor × Antifragile × Less is more

Deadpan jokes, tough to the core; every incident makes the system a bit stronger.

Grayscale

Soft outside, firm inside × Decisive × Delegates

Never budges on direction, happy to reroute; makes reversible decisions on the spot.

Retro

Candid × Warm × Transparent

Lays problems out in the open to help people grow; reviews every milestone.

多端

网页、桌面、手机,
同一个群

网页端聊天与审阅;macOS 桌面端既是客户端也是执行端,托管 daemon、工作区与隧道;手机上也能看预览、点审批。

在群里 @ 一下,就开工。

起一台服务器,每位成员绑定自己的机器,建 Bot、拉群,然后 @ 它。

  1. 管理员pnpm install && pnpm db:up && pnpm dev:server
  2. 成员gg login --server https://gg.example.com --code K7QM-4X2P
  3. 成员gg run

基于 Apache License 2.0 开源