Loading video...

Video Failed to Load

Go Home

Codex can now hand off threads between local and remote hosts. Start work on your laptop, send it to a remote box before you close the lid, bring it back later. And yes, Codex can orchestrate the handoff for you.

1,011,903 views • 3 months ago •via X (Twitter)

44 Comments

Andrew Ambrosino's profile picture
Andrew Ambrosino3 months ago

wait but it’s friday

Guinness Chen's profile picture
Guinness Chen3 months ago

its fun friday

Andrew Ambrosino's profile picture
Andrew Ambrosino3 months ago

indeed

jason's profile picture
jason3 months ago

what?!

Vibe Coding with Gene's profile picture
Vibe Coding with Gene3 months ago

One simple feature request - just like on the phone app, can you add the ability control instances of codex desktop from another codex desktop? That handoff feature would be helpful.

Matt Rickard's profile picture
Matt Rickard3 months ago

what happens to the code? do you have to manage that yourself? assuming this uses remote control for thread syncing

Guinness Chen's profile picture
Guinness Chen3 months ago

The code / git state is also handed off!

Matt Rickard's profile picture
Matt Rickard3 months ago

slick -- how does it reconcile if you already have some state on the remote box?

Guinness Chen's profile picture
Guinness Chen3 months ago

You don’t have to reconcile it manually. As long as the destination has the same repo with some shared Git history, Codex creates a separate worktree, transfers the missing Git objects as a bundle, checks out your branch, and restores any uncommitted changes. The remote’s existing checkout—even if dirty—stays untouched.

Dullboy's profile picture
Dullboy3 months ago

@mattrickard Since this feature already exists, why not just add a toggle switch instead of sticking with a prompt-based trigger?

Guinness Chen's profile picture
Guinness Chen3 months ago

@mattrickard

Roi Roberto's profile picture
Roi Roberto3 months ago

@jxnlco isn’t it better to just do the work while connected to the remote host? what’s the use case for having the repo locally?

Guinness Chen's profile picture
Guinness Chen3 months ago

@jxnlco The local development ergonomics are nice for frontend work bc I can run local dev builds and manually QA the changes

Nan Yu's profile picture
Nan Yu3 months ago

@roivroberto @jxnlco You can’t manually test changes being developed on a remote box?

Guinness Chen's profile picture
Guinness Chen3 months ago

I mostly work on desktop app development, so it is much easier to manually test on my local machine. But long term I agree that we should figure out a way to make testing easier on remote boxes. But for other types of development it prob is already possible to do most testing remotely

Nan Yu's profile picture
Nan Yu3 months ago

@roivroberto @jxnlco In the instances where you hand off to remote is it effectively dead reckoning the code then? You just run/test when you pick it up again locally later?

Guinness Chen's profile picture
Guinness Chen3 months ago

Yeah, for desktop work that’s basically right. The remote box can still kind of dead reckon from the code, tests, and logs and make useful progress, even if it can’t fully QA the app on its own. That’s useful if I want to kick something off from my phone while my laptop’s offline, or hand off an in-progress task before a commute so it keeps going after I close the lid. Then I bring it back local to test. For a lot of non-desktop work, though, remote already has most of the affordances it needs.

0xDesigner's profile picture
0xDesigner3 months ago

@alexanderchopan yesssss

Q's profile picture
Q3 months ago

I made codex app to have teammode through that lazycodex plugin

Q's profile picture
Q3 months ago

codex can go further like having teammode yes i just fixed codex you're welcome

Ryan Brewer's profile picture
Ryan Brewer3 months ago

Banger

Matthew Lam's profile picture
Matthew Lam3 months ago

does the handoff need a preexisitng remote env setup, or does it create one? how about stuff like env vars/secrets?

Quant Capital's profile picture
Quant Capital3 months ago

Good, but fix this message/problem asap: It pops up since yesterday on nearly every thread.

Diego | AI 🚀 - e/acc's profile picture
Diego | AI 🚀 - e/acc3 months ago

game changer

Brosko's profile picture
Brosko3 months ago

ngl the real test is what happens to all the half finished stuff i abandoned in like 4 different envs codex bout to expose my whole graveyard of dead branches 💀

egesea's profile picture
egesea3 months ago

A subtle shift is happening. For decades, work was tied to a device. Now it's increasingly tied to context. The agent remembers where the work left off, while compute moves wherever it's available.

KGNINJA's profile picture
KGNINJA3 months ago

May I ask question? Should I instruct it to migrate to the cloud using natural language? Or is there a specific command I should use?

Sam Tobin-Hochstadt's profile picture
Sam Tobin-Hochstadt3 months ago

@tszzl When is any of this going to be available in the cli/on Linux?

Michael CovidologyAutodidact 🇨🇦🇺🇦🌻😷💉 🤖🧠🔮's profile picture
Michael CovidologyAutodidact 🇨🇦🇺🇦🌻😷💉 🤖🧠🔮3 months ago

Has this been released yet?

Abdul Basit Sial's profile picture
Abdul Basit Sial3 months ago

can you explain what does that even mean?

João Janini's profile picture
João Janini3 months ago

@jxnlco I think this is what actually makes remote hosts useful. I remember having a bunch of workarounds just because of this alone.

Sebastian Szturo's profile picture
Sebastian Szturo3 months ago

Can we get a button for it?

Jeremy Cai's profile picture
Jeremy Cai3 months ago

wow

Morgan's profile picture
Morgan3 months ago

@SIGKITTEN This is very cool.

Devon Cayer's profile picture
Devon Cayer3 months ago

@jxnlco Killer feature - would be amazing to sync mcps and config toml between cloud and local as well

João Janini's profile picture
João Janini3 months ago

This is really useful. Can you also add native handoff of threads between different existing projects? (And also the option to handoff a thread to a new project)

Jacob's profile picture
Jacob3 months ago

but why?

David Arias Giraldo's profile picture
David Arias Giraldo3 months ago

Awesome

Axi's profile picture
Axi3 months ago

How to set up a remote box tho?

Ali Rohde's profile picture
Ali Rohde3 months ago

lets go @guinnesschen !!!

Kote's profile picture
Kote3 months ago

@georgekontridze you were asking for this

Jintao Zhang 张晋涛's profile picture
Jintao Zhang 张晋涛3 months ago

@wey_gu 来了!

Zac Gottschall's profile picture
Zac Gottschall3 months ago

@bcherny, this would be a nice feature

Barron Roth's profile picture
Barron Roth3 months ago

actually incredible we need skill sync across hosts next!

Related Videos