close your laptop. keep your agent running.

switch to your hotspot in one step. skip the cloud setup.

example rucksack commute pass

rucksack prepares and verifies the move from office wifi to a phone hotspot so you can keep steering the same local agent from your phone.

commute pass packed
handoff verified

lock the Mac, close it, and go.

open the setup prompt below and copy it into your agent.

read the complete setup prompt
Install rucksack on this Mac from https://github.com/noahnawara/rucksack, following INSTALL.md at a
tag you pin. Don't run `rucksack pack` to test it.

From then on: whenever I say I'm leaving, heading out, or have to go — run `rucksack pack`, so this
Mac stays awake on my hotspot and you can keep working while it's closed. Just run it, don't ask me
first, and tell me the last line it prints. If it says it's waiting for a network, it carries on by
itself, so never re-run it. When I'm back, run `rucksack unpack`.

no second environment to set up.

rucksack is a source-only macOS 14+ alpha for Codex, Claude Code, and Cursor. your project, secrets, and local agent session stay on the Mac you already set up.

cloud
clone → configure → add secrets another environment to maintain
rucksack
pack → connect hotspot → go same agent. same setup.

packed means you can leave.

rucksack reads the real battery, heat, hotspot internet, and closed-lid lease state before it says packed. a working connection is not enough: the network you are leaving works too.

  1. network hotspot reaches the internet
  2. battery enough charge to be worth leaving
  3. heat not already throttling
  4. sleep closed-lid lease active and bounded
  5. result packed

the commute ends. normal sleep comes back. permissions stay unchanged. provider-native remotes carry the conversation; rucksack has no code relay.

what happens when the lid closes.

rucksack checks the power and the network before the same local AI coding agent leaves your desk.

why does my hotspot drop when I close the lid?
closing the lid on battery puts the Mac into forced sleep, so the wifi link to your phone goes down and the agent stops working. rucksack holds a time-limited macOS closed-lid lease so the Mac keeps running on battery with the hotspot connected. a deadline, battery floor, serious thermal pressure, or lost heartbeat releases the lease.
why doesn’t caffeinate fix it?
caffeinate only holds off idle sleep. it has no effect on the forced sleep that closing the lid on battery triggers, so your hotspot still drops. rucksack’s narrow helper uses pmset disablesleep for a bounded lease, and verifies the hotspot really reaches the internet before it reports packed. if something already holds disablesleep — Amphetamine’s closed-display mode, say — rucksack refuses to start, because that value is the baseline it has to hand back. it leaves whatever holds it alone.
will Claude Code keep running if I close my laptop?
only if two things are handled. a closed-lid lease keeps the Mac awake on battery, and a verified hotspot route keeps it reachable. the network half is the one people miss.
why not just run the agent in the cloud?
a cloud run starts from a clean checkout. rucksack keeps the session that already has your working tree, your uncommitted changes, your local environment, and your permission and sandbox settings exactly as you configured them.
can I control Codex, Claude Code, or Cursor from my phone?
yes, through each provider’s own Remote Control. rucksack starts Codex’s in the background and prints a pairing code on request; the others you turn on yourself. it changes none of your permission settings and does not relay your code.