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.
Supported harnesses
Section titled “Supported harnesses”| Harness | Status | Docs |
|---|---|---|
| Claude Code | Supported | Hook on PermissionRequest:ExitPlanMode |
| Codex CLI | Coming soon |
Other agents
Section titled “Other agents”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.