Codync:把 AI 编码代理变成手机机器人
自托管的开源 Grok Bot 替代品,把电脑上 40+ 种 AI 编码代理变成可以用消息派活的机器人。
- 浏览
- 4
- 访问
- 0
- 下载
- 0
- 版本
- v2.34.2
- 平台
- Windows、macOS、Linux
详细介绍
项目简介
Codync 是开源的 Grok Bot 替代品,用 Rust 编写。它把你自己电脑上已经装好、已经登录的 AI 编码代理——Claude Code、Codex、Cursor、Gemini CLI、Copilot、OpenCode、Pi、Grok Build 等 40 多个(ACP registry 中的都可以)——变成有名字、有头像的持久「机器人」。你在 iPhone、Mac、Windows、Linux 桌面或终端里像给同事发消息一样把任务交给某个机器人,然后放下手机,等它完成或需要你审批时收到通知。
核心组件是 codync-host:一个体积小、速度快的 Rust 二进制程序,负责驱动各个代理、保存对话记录并对外提供服务。手机端是原生 SwiftUI 应用,桌面端是 Electron 应用,另有终端 UI,所有客户端连接同一个 host,机器人和聊天在各端保持一致。
主要功能
- 自带你自己的订阅:机器人运行在你自己的电脑上,用它原本登录的 Claude、ChatGPT 等套餐,Codync 不会用你的登录去调用厂商 API。
- 代理无关:自动发现已安装的编码代理,其余的在首次使用时抓取(npx、uvx 或带校验的二进制)。
- 多机器人一个团队:可同时运行任意多个机器人,各有自己的代理、项目目录和审批策略;放进群聊后会依次回复,用
@name指定谁答,机器人之间也能通过内置teamMCP server 互相求助。 - 随处连回电脑:内置免费的 Cloudflare 中继,无需 Tailscale、VPN 或端口转发,手机与电脑之间端到端加密;同一 Wi-Fi 或 Tailscale 下则直连。
- 多台电脑一个 App:登录后 iPhone 列出账号下所有电脑,在目标电脑上确认 6 位验证码后即可使用。
- 远程屏幕:在 iPhone 上通过 WebRTC 查看并控制电脑,机器人也能通过内置
computer工具使用屏幕。 - 语音通话与私密推送:可免手持与机器人对话并朗读回复;通知内容以手机密钥封装,推送中继看不到内容。
- 用量限额:从本机已安装的代理读取当前账号额度,显示在手机、小组件和菜单栏。
安装与使用
macOS 或 Linux 一行安装:
curl -fsSL https://raw.githubusercontent.com/leepokai/Codync/main/packaging/install.sh | sh
Mac 也可以走 Homebrew:
brew install --cask leepokai/codync/codync
Windows 下载 codync-windows-x64.exe 运行安装。iPhone 从 App Store 安装后,在桌面应用里点 Pair iPhone… 或运行 codync-host pair 扫描二维码配对。Linux 上还可用 codync-host install 装 systemd 用户服务,用 codync-host tui 在终端里和机器人对话。
注意事项
- 需要自备 AI 编码代理及其订阅;Codync 本身免费、开源、Apache-2.0 许可,没有付费档位。
- 官方账号只有
@trycodync,注意仿冒与诈骗。 - Windows 版暂不支持远程屏幕、设备端语音和 Claude Code 状态行钩子,安装包尚未代码签名,SmartScreen 需确认一次。
- 每台电脑单独批准每台设备,只有账号并不能解锁电脑。
本作品整理自 GitHub 开源项目 leepokai/Codync,原作者 @leepokai,许可证 Apache-2.0。中文介绍由 AI 根据项目 README 整理,以原仓库为准。
更新记录
- v2.34.2当前版本
- Pairing (#281): the host leaves container and VM bridges (Docker, Podman, Kubernetes, libvirt, LXD) out of the pairing code and `hello`, ranks home networks first and sends at most 16 addresses; the Android app keeps the best 16 of a longer list instead of calling the code damaged, and the iPhone app keeps the same list (valid, once each, best 16). - Desktop paste (#273): a file copied in Finder, or an image copied with text, attaches when pasted into the message box (it used to be swallowed); a copied folder is skipped. - Background agent work (#278): a permission asked after a bot's turn is allowed under Approve automatically for the bot's own session (declined otherwise, as ACP `cancelled`); `send_message` between turns posts in the bot's chat with a done alert; a card open at turn end tells the agent no answer is coming. - Desktop Settings → Computers (#282): every offline account computer can be removed from the account, with a confirmation that says what removing does. - TUI us
- v2.33.6
Network 在 iPhone、Android 与桌面上改用专属图标;面向非机器人代理的 MCP server 更名为 codync,命令与三个工具不变,旧配置继续可用。
- v2.33.1
文件夹选择器现在可以访问其他磁盘、挂载盘和符号链接目录,并新增返回上级目录;桌面端首次启动的权限设置改为分步引导面板。
评论