这套架构解决了多设备间开发环境不一致的痛点,适合经常移动办公或有多台设备的开发者,建议尝试用 Tailscale 搭建自己的远程开发网络。
Alex Finn 分享了一套基于 Codex 的远程开发架构,核心是将“写代码的设备”和“发指令的设备”分离。主力机(如 Mac Studio)作为唯一执行代码编写的环境,始终开机并禁用睡眠;其他终端设备(iPad、iPhone、Mac mini 等)仅作为遥控器发送指令。通过 Tailscale 组建私有 mesh 网络,实现跨设备、跨位置的代码开发。该架构让物理位置与开发能力解耦,用户可在任何地方推进同一套代码。Alex 声称生产力提升了 1000 倍,虽然略显夸张,但为远程协作和移动办公提供了新思路。
看看 Alex Finn 推荐的 Codex 远程开发架构,虽然 1000x 生产力略显夸张 😄 Alex 的核心理念是把"写代码的设备"和"发指令的设备"分离开: 一台主力机(Mac Studi...
看看 Alex Finn 推荐的 Codex 远程开发架构,虽然 1000x 生产力略显夸张 😄 Alex 的核心理念是把"写代码的设备"和"发指令的设备"分离开: 一台主力机(Mac Studio):唯一真正执行代码编写的环境,所有代码库、依赖、运行时都集中在这里。 多台终端设备(iPad、iPhone、第二台 Mac Studio、两台 Mac mini):只作为"遥控器",向主力机发送指令。 带来的结果是:物理位置与开发能力解耦——在床上、在超市、在日本、在车里,都能继续推进同一套代码。 三层技术架构 1. 主力机(Host) · 始终开机、禁用睡眠。 · 在 Codex 应用中开启 Settings → Connections → Control this Mac,把自己暴露为可被远程控制的节点。 2. 控制端(Clients) · 所有其他设备在 Codex 中开启 Control other devices。 这些设备不存放代码,只负责发送 prompt、查看结果。 3. 网络层(Tailscale) · 在所有设备上安装 Tailscale,组成一张私有 mesh 网络(基于 WireGuard)。 · 作用不仅是穿透 NAT,更关键的是:让其他 AI agent(他举例的 OpenClaw、Hermes)能够跨机器跳转、在不同节点上执行修改。 · 等于把"多台设备"在网络层抽象成"一台逻辑机器"。 落地步骤(精简版) 1. 选一台桌面设备作为 Host(Mac mini 或 Mac Studio 优先)。 2. 系统设置中关闭自动睡眠,确保常开。 3. Host 上:Codex → Settings → Connections → Control this Mac 打开。 4. 其他每台设备:Codex → Settings → Control other devices 打开。 5. 全部设备安装 Tailscale,登录同一账号,组成私有网络。 6.(可选)部署跨机 agent(如 OpenClaw、Hermes),让它们利用 Tailscale 跨节点执行任务。 Alex Finn @AlexFinn You need to set up this Codex system I have Been taking advantage of their new remote features and my productivity has 1000x'd I have one device (Mac Studio 1) as my main dev machine. That's where all code is written Then all my other devices (iPad, iPhone, Mac Studio 2, 2 Mac Minis) are nodes I send commands from No matter which device I'm on, no matter where I am in the world (could be at the grocery store, in bed, Japan, on the toilet, by the pool, on the road using FSD) I have code written in one place Made coding big projects SO much easier Here's what I'd do if I were you Choose one device you have (preferably a desktop device like Mac Mini or Mac Studio) Make this your main dev device. Make sure it never turns off and never goes to sleep Go into Codex app then settings on that device. Go to connections > control this Mac. Turn that on Then go into every other device you have, mobile, desktop, whatever, and go into Codex settings and enable control other devices Also download Tailscale on every device. This will allow you to create a private network that will allow your other agents (OpenClaw or Hermes) to jump between computers and make changes when necessary You now have a super powered AI private network where you can code or get work done from any device anywhere in the world Promise this 1000x's your productivity 🔗 View Quoted Tweet 💬 0 🔄 0 ❤️ 1 👀 197 📊 1 ⚡