Skip to main content

Beyond the Single Machine: Why AI Agents Need a Handoff Layer

· 5 min read

TL;DR: AI coding agents assume everything lives on one machine. Mine don’t. Claude Code on my workstation, OpenCode on a local Qwen model, Hermes Agent on a headless VM, Antigravity CLI on my laptop. When I switch tools or machines mid-task, context dies. Passdown is a two-file Cloudflare Worker that fixes this: POST a markdown briefing, get a URL, hand it to the next agent. No auth, no accounts, auto-expires.

The Problem Nobody Talks About

VibeCockpit solved the first half: finding sessions across six different AI tools. But it assumed all those tools run on the same machine. In practice, my setup looks like this:

MachineToolModelWhat It Does
WorkstationClaude CodeClaude OpusDeep coding, refactors, blog writing
WorkstationOpenCodeQwen 3.6 MTP (remote)Local-first coding, zero API cost
GPU box (5060 Ti)llama-serverQwen 3.6 35B-A3B125 t/s inference for all local clients
Proxmox VMHermes AgentSame Qwen (via network)24/7 autonomous agent, analytics cron
LaptopAntigravity CLIClaude SonnetQuick fixes on the go

Five tools, three machines, two model providers. The context boundary is not the tool — it is the machine.

When I debug a Hermes cron job in Claude Code on my workstation and then need to hand the findings to a fresh Claude Code session on my laptop, what are my options? Copy-paste a wall of text? Dump it into a shared file? Email myself? All of these lose structure, and none of them are designed for how AI agents consume context.

What a Handoff Actually Needs

I looked at what exists. Pastebins are for humans reading code snippets. Google Docs requires auth. GitHub Gists need an account. Shared drives need setup. None of them solve the actual problem: an AI agent on machine A needs to transfer structured context to an AI agent on machine B, right now, with zero setup.

The requirements:

  1. No auth. The agent doing the handoff should not need to log in to anything.
  2. Structured markdown. AI agents read markdown natively. Not JSON, not YAML, not HTML.
  3. Ephemeral. Session context is not a document. It should expire.
  4. Content negotiation. curl gets raw markdown. A browser gets a rendered page. Same URL.
  5. First-write-wins. No edit conflicts, no tokens. The UUID is unguessable enough.

Passdown

Passdown is two files deployed on Cloudflare Workers.

src/worker.js handles routing and the API. src/frontend.js generates the SPA. No build step, no framework, no dependencies beyond Cloudflare KV.

The workflow:

# Agent A finishes a task, writes a briefing
curl -sX POST https://passdown.dev/api/session/$(uuidgen) \
  --data-binary @briefing.md

# Returns: {"ok":true,"readUrl":"https://passdown.dev/<uuid>"}

# Agent B picks up the context
curl -s https://passdown.dev/api/session/<uuid>
# → raw markdown, ready to inject

In a browser, the same URL renders the markdown with an expiry countdown and view count. The page auto-polls every 2 seconds, so you can open the URL before content is posted and it transitions live when the briefing arrives.

How I Actually Use It

Yesterday I was debugging why Hermes Agent’s cron job could not access MCP analytics tools. After an hour of testing — three failed approaches, one working fix — I had a Claude Code session full of context that would be expensive to rebuild. I was running out of context window.

curl -sX POST https://passdown.dev/api/session/$(uuidgen) \
  --data-binary @briefing.md

The briefing had three sections: where we are now, what we tried and ruled out (with specific failure reasons), and the single open thread. I pasted the URL into a new Claude Code session:

Fetch https://passdown.dev/api/session/<uuid> and continue
this session. Pick up exactly where it leaves off. Don't
re-explore anything marked as ruled out.

The new session read the briefing, understood the dead ends, and picked up the open thread without re-exploring a single failed approach. No lost context, no repeated mistakes, no copy-paste wall of text.

Why Not Just Use CLAUDE.md?

CLAUDE.md is persistent project memory. It belongs in the repo. Passdown is for ephemeral session state — the kind of context that matters right now but should not live forever. A debugging session, a half-finished refactor handoff, an agent’s findings from a cron run. Writing this into CLAUDE.md would clutter it with temporal noise.

The distinction matters: CLAUDE.md is “what this project is.” Passdown is “what just happened.”

Not Just for Agents

The agent handoff was the reason I built Passdown, but it turns out the simplest use case is the most frequent: moving text between devices. A code snippet from my workstation to my phone. Notes from my phone back to my laptop. Config I need on the Proxmox VM.

Before Passdown, this was either a Telegram “Saved Messages” thread, an email to myself, or a cloud note somewhere. All of them require accounts, apps, or context switching. Passdown is one curl command and a URL I can type on my phone. The content negotiation means it renders cleanly in a mobile browser too — no raw JSON, no broken formatting.

It is the same tool solving both problems because the underlying need is identical: move structured text from A to B with zero friction.

The Bigger Picture

Every AI coding tool today is a single-machine, single-session island. Claude Code does not know what OpenCode did. Hermes Agent cannot read Claude Code’s context. When you switch tools or machines, you start from zero.

VibeCockpit addressed the discovery problem: where did I leave off? Passdown addresses the transfer problem: how do I carry context forward?

The next step is obvious but not built yet: agent-to-agent handoff without a human in the loop. Hermes finishes its daily analytics run, POSTs the briefing to Passdown, passes the URL to Claude Code via MCP. Claude Code reads it, acts on the findings, opens a PR. No human copy-pasted anything.

The pieces exist. The protocol is a POST and a GET. The missing part is the wiring — and that is a config change, not a product.

For now, I hand the URL to the next agent manually. And every time I do, the new session picks up exactly where the old one left off.

The views and opinions expressed here are my own and do not reflect those of my employer.