Skip to content

Add context-bridge (session handoff across five agent CLIs) - #271

Open
serdardb wants to merge 1 commit into
bradAGI:mainfrom
serdardb:add-context-bridge
Open

Add context-bridge (session handoff across five agent CLIs)#271
serdardb wants to merge 1 commit into
bradAGI:mainfrom
serdardb:add-context-bridge

Conversation

@serdardb

Copy link
Copy Markdown

Adding context-bridge — a CLI that hands a live coding session from one agent to another without losing the thread. Each agent keeps its own native session; the bridge remembers which sessions belong to the same project and transfers only the context the other agent is missing.

It does not replace or proxy any agent, and needs no API keys — it drives the subscription-authenticated CLIs already installed.

Against the inclusion criteria

  • CLI/terminal interface — bridge, plus /bridge <agent> inside Claude Code and $bridge <agent> inside the others
  • Reads/writes and runs commands autonomously — it launches the agents, reads their session stores and transcripts, and writes deltas into them through hooks (OpenCode has neither hook nor promptable resume, so it writes into the session database directly)
  • Active — 0.12.2 published 8 days ago, 343 tests green on ubuntu+macOS × Node 18/20/22

Placement

Put in Orchestrators & autonomous loops, directly above the-perfect-orchestrator to keep the section's star order (⭐ 3).

I chose that section because Claudexor is there and solves the same problem from the other direction — it keeps one thread across harnesses by rotating accounts behind a control plane, this keeps one thread by moving the context between each harness's own session. Session managers & parallel runners would also be defensible; happy to move it if you would rather it sat there, since the handoff is sequential rather than side-by-side.

Five agents today — Claude Code, Codex, Grok, Antigravity, OpenCode — in any of the twenty directions.

Hands a live coding session between agents without losing the thread:
each agent keeps its own native session and only the missing context is
transferred. Placed next to Claudexor, which solves the same problem
from the other direction, and in star order within the section.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants