codex-agent-bridge
Agent Bridge
Codex 监督 Claude Code 和 DeepSeek Harness。Bridge 自己不调用 LLM。
Let Codex be the only supervisor. Claude Code or DeepSeek Harness does the implementation. You review, verify, and apply in Codex.
一条命令
npx -y codex-agent-bridge然后新开一轮 Codex。你会看到 bridge_* 工具。
这条命令会:把运行时装到 ~/.agent-bridge,写入 Codex Skill 和 MCP(用本机 node.exe,不用 npx.cmd),并跑一次 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 vs worktree。
bridge_run 只选 worker:claude 或 deepseek(调试可用 replay / fake)。不要传 model / provider / effort。
DeepSeek Harness 如果不在常见路径,设置 AGENT_BRIDGE_DEEPSEEK_ROOT。
使用注意
目标必须是独立 git 仓库。每次
bridge_*都带同一个project。任务 UUID 字段名是task。同一项目同一时刻只能有一个 Writer。第二写者返回
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceA 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
- AlicenseAqualityBmaintenanceMCP server that spawns autonomous Claude Code agents in GitHub repos, enabling task delegation with persistent state, multi-step workflows, and job monitoring.471632Apache 2.0
- AlicenseNot gradedqualityBmaintenanceMCP server enabling Claude to consult Codex (GPT-5.x) mid-task for second opinions, plan/diff review, brainstorming, and codebase exploration via structured debates and permission-controlled interactions.2MIT
- 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.16MIT
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
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
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/JaylanJerry/codex-agent-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server