Skip to content

Usage

The cleanest way to run PlanBridge is as a harness hook: your AI coding agent calls contextbridge automatically at decision points, a human annotates in the browser, and the decision flows back to the agent. The install script wires this up for any supported harness it detects.

HarnessStatusDocs
Claude CodeSupportedHook on PermissionRequest:ExitPlanMode
Codex CLIComing soon

Any agent that can run shell commands and parse JSON can use PlanBridge directly. You instruct it to pipe its plan to contextbridge plan and read the response on stdout. See Other agents for the prompt to give your agent and the response shape it should expect. Cursor, Aider, opencode, Gemini CLI, and Aether all fit this pattern.