codex-agent-bridge
Agent Bridge
Codex が Claude Code と DeepSeek Harness を監督する。Bridge 自身は LLM を呼び出さない。
Codex だけを唯一の監督者にする。Claude Code または DeepSeek Harness が実装を行う。あなたは Codex 内で確認、検証、適用する。
一つのコマンド
npx -y codex-agent-bridgeその後 新しい Codex セッションを開始する。bridge_* ツールが表示される。
このコマンドは:ランタイムを ~/.agent-bridge にインストールし、Codex Skill と MCP(npx.cmd ではなくローカルの node.exe を使用)を書き込み、doctor を一度実行する。
更新するには同じコマンドを再度実行する。アンインストール:
npx -y codex-agent-bridge uninstall
npx -y codex-agent-bridge uninstall --purge--purge で ~/.agent-bridge が削除される。
事前に必要なもの
必須 | 説明 |
Node.js 22+、Git | Bridge の実行用 |
Codex | 唯一の Supervisor |
Claude Code または DeepSeek Harness | 少なくとも一つが独立してログイン・作業可能 |
サポート対象外
Claude Code / DeepSeek Harness のインストール補助はしない
それらの model / provider / reasoning effort は変更しない
いかなる LLM も呼び出さない
利用可能な Worker があれば、それを割り当てる。一つもない場合、doctor がその旨を示す。
Related MCP server: cc-agent
機能
Codex ──bridge_run──► Claude Code / DeepSeek Harness
▲ │
│ ReviewPacket │ 在独立 worktree 里改代码
│ verification │ 不得 commit / push / merge
└──── bridge_apply ◄──────┘クローズドループ:
bridge_run
→ WAITING_FOR_INPUT 时 bridge_respond
→ AWAITING_REVIEW + ReviewPacket
→ bridge_approve 任务分支 checkpoint,不是完成发布
→ bridge_apply cherry-pick 到当前分支,不是 mergeTurn 終了 ≠ タスク完了。Diff は baseCommit と worktree のみを認識する。
bridge_run は worker のみを選択する:claude または deepseek(デバッグ時は replay / fake も可)。model / provider / effort は渡さない。
DeepSeek Harness が一般的なパスにない場合は、AGENT_BRIDGE_DEEPSEEK_ROOT を設定する。
使用上の注意
対象は独立した git リポジトリである必要がある。
bridge_*を呼ぶたびに同じprojectを指定する。タスク UUID のフィールド名はtask。同一プロジェクトで同時に Writer になれるのは一つだけ。2 番目の書き手は
CORE_LOCK_HELDを返す。MCP を変更した場合は Codex を再起動する必要がある。古いセッションでは新しいツールは表示されない。
破損した
tasks.jsonはTASK_STORE_CORRUPTEDを返し、空のストアとして扱われない。
新バージョンの公開
ローカルでの npm publish は毎回 2FA を要求する。これは npm の仕様であり、git push のようにパスワード不要にはできない。
正しい手順:バージョン変更 → tag を作成 → push する。GitHub Actions が Trusted Publishing を使用して npm に公開するため、パスワード入力は不要。
一度だけの設定(最初だけ):codex-agent-bridge の npm 設定 を開く → Trusted Publisher → GitHub Actions、以下の項目を入力:
フィールド | 値 |
Organization or user |
|
Repository |
|
Workflow filename |
|
Allowed actions |
|
以降、毎回:
# 先改 package.json 里的 version,提交
git tag v1.2.0
git push origin main --tagsソースから開発する場合
npm install
npx tsx src/cli.ts setup --dev
npm test--dev により MCP が ~/.agent-bridge ではなく現在のリポジトリを指すようになる。
ドキュメント
製品ロードマップ | |
Codex との連携方法 | |
npm を選び、EXE を選ばない理由 | |
HTTP/GUI を実装しない理由 |
リポジトリディレクトリは Agent Relay のままである場合がある。製品名は Agent Bridge。npm パッケージ名は codex-agent-bridge。
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
A MCP server built for developers enabling Git based project management with project and personal…
Official MCP server for Agentwork — delegate tasks to AI agents with human-in-the-loop
Related MCP Servers
- AlicenseAqualityDmaintenanceA local MCP server that lets Claude delegate scoped work to Codex with structured results and guardrails, supporting planning, code review, build, reverse engineering, and long-running background tasks.11MIT
- AlicenseAqualityDmaintenanceMCP server that spawns autonomous Claude Code agents in GitHub repos, enabling task delegation with persistent state, multi-step workflows, and job monitoring.47159 npm2Apache 2.0
- AlicenseNot gradedqualityCmaintenanceAn MCP server that lets ChatGPT or any MCP client securely delegate coding tasks to a local Claude Code instance, with git checkpointing, approval gates, and structured results. Supports code review, test running, and rollback via simple tool calls.7 npmMIT
- AlicenseAqualityBmaintenanceAn MCP server that lets OpenAI Codex delegate tasks to Google Gemini agents as isolated background workers, with Git worktree isolation, loop detection, and security boundary enforcement.71MIT