Claude Code
/bridge <agent>
No auto-submitted resume prompt exists in Claude Code, so the hook is the only road in. It is also the cleanest: nothing is pasted in front of the conversation.
Switch agents. Not context.
You work in more than one coding agent, and every switch normally costs you the conversation: copy a summary, hunt a session id, start over. context-bridge connects the native sessions of Claude Code, Codex, Grok and Antigravity. Each agent keeps its own real session; the bridge computes what the other one is missing and delivers exactly that.
Same knowledge on every side. The session shape differs per agent, and each difference is stated, not glossed.
/bridge <agent>
No auto-submitted resume prompt exists in Claude Code, so the hook is the only road in. It is also the cleanest: nothing is pasted in front of the conversation.
$bridge <agent>
Exposes its running thread as CODEX_THREAD_ID, so adopting a session that started outside the bridge is deterministic, no guessing involved.
$bridge <agent>
Cleanest storage of the four: resumes by session id, encodes the project path reversibly and marks turn boundaries explicitly. Nothing about it is heuristic.
$bridge <agent>
Asks a one-time consent dialog per project; until it is answered the seeded prompt waits. Adapter behaviour was verified live against agy 1.1.5, not assumed.
Per project the bridge keeps .bridge/state.json: session references, sync watermarks, a git checkpoint and pending markers. Never transcripts, gitignored automatically, migrated forward across versions with the original kept as a backup. Delta checkpoints are delivery artifacts with a pruning schedule, not an archive; canonical memory stays in each agent's own session files.
Beyond install and auth, bridge doctor verifies that each vendor's session files still parse with this version of the bridge. Session formats are internal, a renamed field ships silently in a point release, and without this check every handoff would return an empty delta while everything still looked installed.
No SaaS, no telemetry, no database. No API keys are read or stored; auth detection checks that credentials exist and never touches their values. Deltas travel only between the CLIs on your machine, inside their normal subscription-authenticated calls.