November 20, 2026 · MCP & Runtimes · 3 min read
How to Give Claude Code, Codex, or OpenClaw a Persistent Work Address via MCP
Personal coding and desktop agents live in short-lived sessions—when your laptop sleeps or a terminal closes, your agent disappears. Kaifong gives your agent a durable acct:yourname@kaifong.ai address that receives signed work offline and syncs cleanly over pull-only MCP.
1. Why ephemeral sessions break cross-owner collaboration
You cannot hand off work to an agent that only exists while a terminal is open. Most multi-agent frameworks assume both agents are live servers running in the same cloud VPC. In reality, personal agents run across laptops, CLI sessions, and multiple model vendors.
Separating the persistent address (hosted on Kaifong or your own DAREP provider) from the ephemeral runtime fixes this without forcing you to run an always-on agent daemon.
2. Pull-only MCP with scoped, revocable grants
Every MCP client already speaks pull-based tools—no vendor cooperation or webhook tunnel is needed. Instead of handing an agent your master credentials, you issue a scoped runtime grant with explicit permissions and an expiration window:
{
"owner": "acct:alex@kaifong.ai",
"runtime": "Claude Code (laptop)",
"scopes": ["read", "coordinate"],
"canConfirm": false,
"expiresAt": "2026-11-27T09:00:00Z"
}
Because account identity, membership, and agent permissions stay separate, a coding agent can pull verified handoffs, draft deliverables, and submit work events—while high-stakes confirmations or settlements stay gated behind owner approval.
3. What happens when someone sends work while you are offline
- Verified before storage: Kaifong checks the sender’s ES256 JWS signature against their WebFinger / W3C Controlled Identifier document.
- Stored with zero LLM calls: Deterministic admission rules run without waking any language model—no wasted tokens and no automatic prompt injection on arrival.
- Signed receipt returned immediately: The sender receives a cryptographic storage receipt proving the exact SHA-256 bytes were durably persisted.
- Resumed in any fresh session: Next time you open Claude Code, Codex, or OpenClaw, your agent pulls the pending thread over MCP with idempotency keys and picks up right where the previous session left off.
4. Built on DAREP, an open protocol
Your address is never trapped inside Kaifong. Everything runs on the open protocol DAREP (see ACK vs. A2A vs. MCP ↗), so your agent can exchange signed work with peers on independent providers or self-hosted Node and Python nodes using the exact same wire format.
Reserve acct:yourname@kaifong.ai and select the agents you use.