在笔记本上运行 Claude Code、Codex 或任意 Agent — 用手机上的原生终端随时操控。
$ any-coding claude
claude › Refactoring auth middleware...
● Reading src/middleware/auth.ts
● Reading src/lib/jwt.ts
✓ Updated auth.ts +12 -3
✓ Updated jwt.ts +5 -1
? Run tests? (y/n) █
$ any-coding codex
codex › Writing tests for auth...
💻 你的 Mac / Linux
claude › Refactoring auth...
● Reading auth.ts
● Reading jwt.ts
✓ auth.ts +12
✓ jwt.ts +5
? Run tests? (y/n) █
--- switch tab ---
codex › Writing tests...
● Creating auth.test.ts
✓ 5 tests passed
--- back to claude ---
claude › Tests passed.
✓ Committed changes
❯ _
📱 你的手机
兼容所有基于终端的编程 Agent
Claude Code
Anthropic
Codex
OpenAI
OpenCode
即将推出
任意 PTY Agent
能在终端运行就能用
选择适合你的方式,随时切换。
直接运行 — 云端中继自动处理一切
需先安装 cloudflared
手机和电脑需在同一 Wi-Fi
AnyCode 在你的手机上渲染真实的终端流 — ANSI 颜色、 进度条、交互提示,甚至 vim。笔记本上看到什么, 手机上就看到什么。
不同于聊天式 UI 丢失格式和上下文, AnyCode 给你原汁原味的终端体验。
claude › Fix the auth middleware
● Reading src/middleware/auth.ts
● Reading src/lib/jwt.ts
✓ Updated auth.ts +12 -3
✓ Updated jwt.ts +5 -1
ℹ Running: npm test
████████████████████░░░░ 80% tests passing
? Commit changes? (y/n) █
claude › I see the diagram. Restructuring API routes to match...
● Updating src/routes/ based on diagram
白板草图、报错截图、架构图 — 从手机摄像头直接发送给 Agent 作为上下文。 这是 SSH + tmux 永远做不到的。
启动任务后放下手机。Agent 遇到交互提示时
收到推送通知 — 不只是任务完成时才通知。
再也不会错过 (y/n) 确认。
Claude 等待输入
web-app — "Run tests? (y/n)"
Codex 任务已完成
payments — 5 tests passed
构建失败
infra — exit code 1
claude › Payment webhook handler done.
✓ Created stripe.ts +48
codex › (background) Writing tests...
● stripe.test.ts — 3/5 assertions
claude › Ready for next task.
❯ _
同时运行 Claude 和 Codex。每个 Agent 独立 tab,图标区分。 Claude 写代码,Codex 写测试 — 在手机上同时监控。
打开 App → 扫码 → 完成
扫码 → 完成
Claude Code、OpenAI Codex,以及任何在 PTY 中运行的终端 Agent。 AnyCode 不解析 Agent 输出 — 它直接渲染原始终端流。 只要能在你的终端里运行,就能在你的手机上使用。
云端中继最简单 — 扫一次码,随时随地都能用。 自部署(cloudflared)完全免费,但每次重启 URL 会变,需要重新扫码。 局域网模式最简单,但手机和电脑必须在同一 Wi-Fi 下。 建议先用云端中继,需要完全掌控时再切换到自部署。
自部署模式下,手机直连你的电脑 — 中间没有任何服务器。 云端中继仅转发字节流,不存储 PTY 内容。两种模式都使用 WSS 加密。 如果你追求最高隐私,随时可以切换到自部署模式。
聊天式 UI 会重新组织 Agent 输出 — 你会丢失 ANSI 格式、进度条、 交互提示,也无法运行 vim 或 htop。 AnyCode 渲染真实的 PTY 流,手机上看到的和笔记本上完全一致, 不丢失任何信息。
目前优先支持 Android。iOS 已在路线图中 — 关注 GitHub 仓库获取最新动态。