Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Context Bridge

Context Bridge (cb) moves the useful, observable part of a coding session between agents without claiming to transfer hidden model state. It keeps a local canonical event log, reconciles the repository before a handoff, and generates a redacted package for the next supported agent.

What it carries

A handoff is working context, not an opaque transcript dump. Context Bridge can retain supported messages, tool activity, commands, tests, decisions, assumptions, errors, file activity, Git state, checkpoints, and the next action. The canonical log stays local; each handoff is derived from it.
OpenCode export ──> Context Bridge ──> canonical local event log │ │ v v project + Git scan ──> redacted handoff package │ v Claude Code, Codex, or OpenCode

The normal workflow

Start or import a session, inspect the derived context, then launch the next agent. The CLI preserves the source session and lets the operator preview a handoff before it reaches another agent.
cb doctor --verbose cb run opencode cb import opencode --session <opencode-session-id> cb continue --session <bridge-session-id> --to claude --preview cb continue --session <bridge-session-id> --to claude
Use getting started for installation and first-run checks, then read session transfer for the supported import and continuation flows.

Compatibility is deliberate

Context Bridge uses versioned, documented adapter profiles instead of reading vendor databases or guessing flags. OpenCode 1.18 supports structured discovery and import. Claude Code 2.1 and Codex CLI 0.145 support documented bootstrap prompts and native resume for sessions Context Bridge already linked.
When a detected version is not verified, cb doctor --verbose reports it and the CLI falls back to a manual handoff rather than treating an undocumented integration as safe. This makes a failed capability check an explicit operator decision, not silent data loss.

Choose the next guide

You want to…Read this next
Install cb and verify local agent profilesGetting started
Move an OpenCode session to another agentImport and continue
Keep session content local and export safelyPrivacy and data
Model-private state is not transferable. Context Bridge does not promise to move a provider cache, hidden reasoning, or vendor-owned session storage.