CodeKey
Approve, monitor, and continue Claude Code, Codex, and OpenCode from your phone. Your desktop agent keeps working, while E2E-protected prompts, commands, task summaries, and history sharing stay under your control.
在手机上审批、查看和接续 Claude Code、Codex、OpenCode。 桌面端继续执行,用户 prompt、手机命令、任务总结的 E2E 加密,以及历史同步和隐私策略都由你控制。
Keep your agent moving, even away from your desk
离开电脑,也不用让 agent 停在那里等你
CodeKey moves AI coding approvals and follow-up prompts to your phone: approve commands, answer questions, watch progress, and send the next prompt remotely.
CodeKey 把 AI coding agent 的等待点搬到手机上: 你可以审批命令、回复问题、查看任务进度,也可以主动发送下一条 prompt。
Permission requests appear on mobile with approve, deny, and reply actions.
权限请求实时推送到手机端,支持批准、拒绝和文字回复。
Type from mobile and your local VS Code agent continues the task through an encrypted command envelope.
在手机上输入新指令,通过加密命令 envelope 发送给 VS Code 里的本地 agent。
Track local sessions by Claude Code, Codex, and OpenCode.
按 Claude Code、Codex、OpenCode 分类查看本地会话和任务状态。
Pair devices, inspect status, manage sync, and handle approval cards in one place.
配对、连接状态、同步开关、本地会话和审批卡集中在一个控制台里。
Works with WeChat Mini Program and Telegram Mini App.
支持微信小程序和 Telegram Mini App,适合国内外不同使用环境。
User prompts, phone-to-desktop commands, and task summaries are encrypted before relay forwarding.
用户 prompt、手机发往电脑的命令、任务总结会先加密,再经过 relay 转发。
Privacy is a product feature, not a slogan
隐私保护是产品能力,不是标语
Remote control requires relay forwarding. CodeKey encrypts user prompt bodies, command bodies, and task summaries, projects safe summaries, and blocks sensitive events locally before sharing the history level you choose.
远程控制需要 relay 转发消息,但 CodeKey 会先加密用户 prompt、命令正文和任务总结, 再在本机做安全摘要、策略判断、脱敏和拦截,最后只按你选择的历史级别同步。
| Policy | 策略 | What mobile can see | 手机端看到什么 |
|---|---|---|---|
| Off | Approval cards only. Session history is not shared to mobile history. | 只同步审批卡,不把会话历史同步到手机历史。 | |
| Summary | Safe status summaries. Raw user prompts and task completion content stay sealed when E2E is enabled. | 同步安全摘要和状态;启用 E2E 时原始用户 prompt 和任务完成内容保持密文。 | |
| Full | Richer history after local scanning. User prompts, mobile commands, and task summaries remain encrypted on protected paths. | 同步更完整的会话历史;受保护路径中的用户 prompt、手机命令和任务总结仍保持加密。 |
- E2E envelopes seal user prompt bodies, phone-to-desktop command text, and task completion summaries/results with AES-GCM.
- Telegram pairing uses ECDH key exchange; WeChat QR pairing transfers the content key directly to the phone.
- The relay forwards encrypted payloads and routing metadata; it does not need raw protected text for protected paths.
- Secret scanning redacts API keys, tokens, passwords, and similar values locally.
- Blocklist / .codekeyignore prevents selected files and paths from being forwarded.
- Field projection keeps Summary mode limited to safe event type, state, and summary fields.
- Audit panel shows forwarded, blocked, and sanitized event counts in the sidebar.
- Per-agent policy lets Claude Code, Codex, and OpenCode use different history modes.
- Stale-key detection warns the phone when it needs to re-pair after key rotation.
- Intermediate agent streaming output and broader history visibility still follow the Off / Summary / Full policy you choose.
- E2E envelope:用户 prompt 正文、手机发往电脑的命令正文、任务完成总结/结果使用 AES-GCM 加密。
- Telegram 配对使用 ECDH 交换密钥;微信扫码配对把 content key 直接交给手机。
- Relay 只转发密文和路由 metadata,受保护路径不需要看到原始受保护正文。
- Secret scanning:API key、token、password 等敏感字段先脱敏。
- Blocklist / .codekeyignore:指定路径和文件不会被转发。
- Field projection:Summary 模式只保留类型、状态和安全摘要。
- Audit panel:侧栏展示 forwarded、blocked、sanitized 的统计和原因。
- Per-agent policy:每个 agent 可独立设置历史同步模式。
- Stale-key 检测:密钥轮换后,手机端会提示需要重新配对。
- 过程中的 agent 流式输出和更广泛的历史可见性仍由 Off / Summary / Full 策略控制。
Screenshots
截图说明
The core workflow lives in three places: the VS Code sidebar, the mobile session list, and the mobile session detail view.
安装后你主要会接触三个界面:VS Code 侧栏、手机会话列表、手机会话详情。
Start in 5 steps
5 步开始
Keep your existing agent workflow. CodeKey only moves approvals and monitoring to your phone.
安装扩展后,不需要改变原来的 agent 使用方式,只是把审批和查看搬到手机上。
- Install the CodeKey VS Code extension.
- Open the CodeKey view from the Activity Bar.
- Click Pair Device and scan the QR code with WeChat or Telegram.
- Start Claude Code, Codex, or OpenCode.
- Approve, monitor, and send prompts from your phone.
- 安装 CodeKey VS Code 扩展。
- 打开 Activity Bar 中的 CodeKey 侧栏。
- 点击 Pair Device,用微信或 Telegram 扫码配对。
- 启动 Claude Code、Codex 或 OpenCode。
- 在手机上审批、查看进度、继续发送 prompt。