Codexeni
Codexeni lets one coding harness delegate bounded tasks to another local coding harness through MCP. Antigravity, Claude Code, and Codex CLI can each run as worker subagents. The calling harness remains the orchestrator: it scopes the task, reviews changes, and runs final verification.
Unofficial project. Not affiliated with Google, Antigravity, Gemini, Anthropic, Claude, or OpenAI.
Harnesses
A harness can play either or both of two roles: host, meaning it runs Codexeni as its own MCP server and calls the delegate_* tools (the orchestrator); or worker, meaning Codexeni can start it as a subagent to actually do a task. Being a host needs only a manifest written in that harness's own format — no code. Being a worker needs one small adapter file under plugins/codexeni/src/adapters/.
| Harness | Host (orchestrator) | Worker (subagent) |
|---|
| Codex CLI | yes | yes |
| Claude Code | yes | yes |
| Antigravity | not yet — works today via agy mcp add codexeni node <abs path to>/dist/index.js | yes |
Install
Requirement for every setup: Node.js 22+.
Worker requirement, depending on which worker you plan to delegate to:
- Antigravity worker:
agy installed and authenticated; gemini-3.7-flash-high listed by agy models.
- Claude Code worker:
claude installed and logged in (claude auth status).
- Codex worker:
codex installed and logged in (codex login status).
Pick the host you want to run Codexeni's tools from.
Codex (host)
Add the GitHub repository as a Codex marketplace and install the plugin — no clone required:
codex plugin marketplace add Kushwho/Codexeni --ref main
codex plugin add codexeni@personal
Start a new Codex session after installation. No bridge environment variables are required.
Claude Code (host)
Three ways to run Codexeni's tools from Claude Code, in order of how permanent they are:
-
Marketplace install (persists across sessions), straight from GitHub — no clone needed:
claude plugin marketplace add Kushwho/Codexeni
claude plugin install codexeni@personal
Start a new Claude Code session afterward; /mcp should list codexeni, and the delegation skill should be listed too. A local checkout can be added the same way by its folder path, but only while plugins\codexeni\node_modules is absent: Claude Code copies the folder into its cache, and pnpm's symlinked node_modules cannot be copied on Windows. For a checkout you develop in, use option 2.
-
One-session dev load (no install, forgotten when the session ends): start Claude Code with
claude --plugin-dir plugins\codexeni
-
No-plugin fallback (tools only, no delegation skill):
claude mcp add codexeni -s user -- node C:\path\to\codex-antigravity-bridge\plugins\codexeni\dist\index.js
Claude Code passes its whole environment to the MCP server it starts, so any BRIDGE_* variable set before starting Claude Code applies.
Use
Ask the orchestrating harness to delegate a small, explicit task, for example:
Use delegate_discover to see which harnesses are installed, then delegate a read-only review of src/auth.ts to antigravity.
Codex as a worker subagent
Claude Code and Codex can both orchestrate the local Codex CLI. Name codex as the worker and explicitly select a model returned by delegate_discover; Codex does not provide a CLI command that can enumerate the models available to your account. Discovery also reports each harness's supportedEfforts; Codex supports low, medium, high, xhigh, and max for the maintained GPT-5.6 model list.
Use delegate_discover, then delegate a read-only review of src/auth.ts to codex with model gpt-5.6-luna. Do not edit files; report findings with file and line numbers.
For a coding task, name the workspace, allowed files, and required tests. Codexeni exposes:
delegate_discover
delegate_start
delegate_status
delegate_respond
delegate_cancel
If a worker asks a question, delegate_status reports status: "awaiting_input" with a bounded inputRequest, interactionRound, and job-specific continuation state. Use delegate_respond with action: "answer" to continue an existing safe task, action: "resume" to recover an eligible timed-out or failed conversation, or action: "elicit" to return the question to the host's human-input flow. The bridge never asks for secrets.
delegate_status returns compact event summaries by default; set eventDetail: "full" only while debugging. Failed jobs expose a structured failure diagnostic. workspaceChanges reports snapshot activity in the shared workspace and is explicitly marked unattributed_shared_workspace; it is not proof that the worker authored those files.
Defaults