Handoff

Hand an opencode session from a laptop to a machine running T3 Code and get the commits back, over an end-to-end encrypted relay.

2026Source

How it works
laptop · opencode
›why do uploads die on bad wifi?
upload() never retries a timeout.
›
◐snapshot3 files
◐brieffor the agent
◐encryptto the relayjob, encrypted
⇣3 commitson main, fast-forwarded
homelab · T3 Code
Add retry logic to the uploader
handoff/retry-uploader
job, encrypted
  • Read brief.md
  • Backoff in upload()
  • Tests pass
−
+
+
+
3 commits
the relay only ever sees ciphertext
One command on the laptop. The homelab does the work. The commits come back.

Heavy coding-agent runs chew through laptop battery and lock up a local machine. Handoff moves that work to a bigger host in my homelab without breaking my terminal flow.

One /handoff command in opencode snapshots the dirty files, packages a brief for the agent, and sends an encrypted payload through a relay to a machine running T3 Code. The remote thread works on its own branch, runs tests, and sends the resulting commits back into the original session.

← All projects