Move a session to a pod

Move a long Claude Code or Codex run to a pod, so it keeps going with your laptop closed, and bring the work back

A long run does not have to keep your laptop open. Move the session to a pod and the agent picks up there, with your code and its conversation. When it is done, bring the work back as a branch, or move the session back.

Before you start

  • The session is a Claude Code or Codex session.
  • Its folder is in a Git repository inside your home folder, and the repository has a GitHub remote: the pod clones it from GitHub.
  • The pod is a personal pod, or a new one you create in the dialog. Shared and organization pods cannot take a move, and sessions on a shared computer cannot be moved.
  • You are signed in, and this device holds your account key. The desktop app and the web console both move sessions.
  • On a Mac, Git is version 2.38 or newer.

Move it

  1. In Sessions, pick the session and choose Move to pod….
  2. Pick a pod, or a new one. For a new pod, name it and pick a size.
  3. Tick any ignored files the agent needs. Ticked files replace files of the same name on the pod.
  4. Optionally, add setup: one command per line, run as you in the repository on the pod, in a terminal you can watch. Save for this repository keeps it for the next move. Without setup, the pod only clones the repository.
  5. Choose Continue on the pod. The agent keeps working while the pod prepares: it clones the repository, runs setup, and checks that the agent is signed in there and that it can push. If the agent asks for a sign-in on the pod, sign in yourself in the pod's terminal; the console never sees or types it.
  6. Pod Console waits for the agent to finish its turn, then stops it, captures the conversation and your changes, and restores both on the pod. If the agent has not finished its turn after 10 minutes, choose Move now (interrupts the agent), or keep waiting.
  7. The agent starts again on the pod, where it stopped.

When Move to pod… cannot be chosen, the dialog says why.

What moves:

  • the conversation;
  • your code: staged, unstaged and untracked changes, and the ignored files you ticked, up to 50 MiB of those;
  • the API key you saved for the agent in Pod Console.

What does not: credentials, SSH keys and the agents' own settings.

After the move

The session on your computer is set aside, so it is not resumed after a restart. Its Resume becomes Fork here, and Open on the pod takes you to the running one. Badges show where it went, such as Moved to the pod.

Bring the work back

From the session on the pod:

  • Push a branch pushes the pod's work tree, committed or not, to a new branch on GitHub and opens GitHub's compare page, ready for a pull request.
  • Move back… moves the session back to the computer it came from, with its conversation and changes. If you changed the same files on your computer in the meantime, nothing in your folder is touched: the pod's work goes to a branch instead.
  • Restore as a new session starts a copy of the session from its synced checkpoint, when the pod is gone or the move cannot finish.

Whatever comes back from a pod could have been changed by anyone who can read the pod.

Limits

  • Linux pods only.
  • At most two moves at once on your account.
  • The changes must be under 100 MB.
  • Submodules with uncommitted or unpushed changes, and unpushed Git LFS objects, cannot move.
  • Setup lines that need system packages are skipped: the pod's user has no sudo.