← Back to Leaderboard
CJAY201368

JAY201368/codex-castor

Async MCP bridge for Gemini-led planning, local Codex execution, and review

Engineering Health (Methodology)
A · 83/100
Maintenance Activity
● Updated today
Latest Release
v1.3.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption8/25
Release Cadence20/20
License Clarity20/20
MCPCLISelf-Hosted
Total Stars
★ 64
24h Growth
+2
7d Growth
+58
Forks
3

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

JAY201368/codex-castor Star History (2026-11-24 - 2026-12-04) DAILY STAR HISTORY (11-DAY D1 TELEMETRY) +63 in 10d · avg +6/day 68 34 0 2026-11-24: ★ 12026-11-25: ★ 12026-11-26: ★ 22026-11-27: ★ 122026-11-28: ★ 232026-11-29: ★ 362026-11-30: ★ 472026-12-01: ★ 542026-12-02: ★ 612026-12-03: ★ 642026-12-04: ★ 64 ★ 64 11-24 11-29 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Codex Castor is a Python 3.9+ MCP bridge with no third-party Python dependencies. mcp/server.py accepts newline-delimited JSON-RPC 2.0 over stdio and handles each tool call in a worker thread. Gemini in Antigravity writes the implementation brief; the bridge launches codex exec or codex exec resume, records Codex's JSON event stream on disk, and returns the final report alongside Git status, diff statistics, telemetry, and artifact paths.

Background execution and wakeup belong to the Antigravity client, not to stdio itself. That division lets Gemini end its turn and return to review the diff and run checks when Codex finishes. The orchestrator skill and config/GEMINI.md define the handoff procedure; mcp/telemetry.py and the mcp/monitor.html MCP App handle persistent metrics and task inspection separately from that procedure.

Key Capabilities & Differentiators

Seven MCP tools cover dispatch, resume, feedback, status, cancellation, managed worktree cleanup, and monitoring. Dispatch accepts a brief inline or from a file and can create a separate Git worktree and branch for concurrent implementation. Resume sends review feedback to the existing Codex session. The final report schema fixes six fields: status, summary, changed files, commands run, test summary, and open issues.

Execution remains on Codex CLI, with options for a model, reasoning effort, Fast mode, and permission policy. Monitor and the analytics CLI combine per-round and cumulative time and token counts with rework counts, ratings, and verdicts; the exports include telemetry.jsonl, telemetry.csv, and report.md. Both analytics surfaces exclude failed tasks from aggregates, so use task-level failure details alongside the model-by-effort matrix when judging reliability.

Trade-offs & Limitations

Compared with running Codex CLI directly, Castor adds a repeatable spec-to-review loop, same-session rework, and consistent task records. Those benefits come with an Antigravity-specific skill, hook, and client configuration. Other MCP clients can receive progress and log notifications, but do not inherit Antigravity's automatic wakeup. The Monitor's periodic refresh is separate from the architect's workflow: it does not require Gemini to poll for completion.

Git worktrees separate branches and working copies; they are not a security boundary. Review Codex's permission policy before granting extra writable directories, and treat forced worktree cleanup as destructive: it can discard local changes and delete an unmerged branch. Local state can contain prompts, verbatim first replies, and execution events, so decide who can access those records and how long to retain them.

Hardware & Deployment Guide

Deployment is a local stdio integration, not a hosted service. It requires Python 3.9+, Git, a working Codex CLI with an account configured, and Antigravity for the bundled workflow. Use ./scripts/install.sh on macOS or Linux and py -3 scripts/install.py on Windows 11 x64; the Windows path uses native executables without WSL. Reload Antigravity, then run scripts/doctor.py with the appropriate Python launcher to verify the installation and the MCP handshake.

The installer manages files under the Gemini configuration directory and backs up hooks.json when changing it. Use --dry-run to preview changes; enable the optional CLI status line with --install-statusline. Release v1.2.0 added Fast mode support and the Antigravity composer widget. v1.3.0 added permission and approval configuration across the server and UI surfaces.

Transport: mcp/server.py uses newline-delimited JSON-RPC 2.0 over stdio and handles each call in a worker thread.
Handoff: Dispatch and resume run in the background in Antigravity; results include a structured report, Git summaries, and artifact paths.
Parallel work: Managed Git worktrees give workers separate checkouts and branches, with explicit cleanup after review.
Observability: Codex Monitor refreshes every second when active and every eight seconds when idle; MCP clients can subscribe to progress or logs.
Evaluation: Per-round and cumulative time and token counts can be compared with rework counts and human feedback by model and reasoning effort.
Execution policy: v1.3.0 exposes Codex permission and approval settings across the MCP server, composer widget, and Monitor.
Best For

Antigravity users who repeatedly delegate repository changes to Codex and want independent review, optional worktree separation, and a reviewable record of cost and outcomes.

Skip If

You only need occasional direct Codex runs, require offline inference, or expect background wakeup to work unchanged across MCP clients.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

MCPCLISelf-Hosted
git clone https://github.com/JAY201368/codex-castor.git && cd codex-castor && ./scripts/install.sh

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
codex-castor ★64+58PythonMITAsync MCP bridge for Gemini-led planning, local Codex execution, and review
graphify156.8k+2.4kPythonApache-2.0Local AST graphs for dependency tracing, with CLI and MCP access.
agents43.2k+221PythonMITOne Markdown plugin catalog adapted to seven AI coding tools
agent-skills122.5k+1.7kJavaScriptMITA modular skill pack for consistent coding-agent workflows, from spec to release

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/JAY201368/codex-castor.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

JAY201368/codex-castor Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about codex-castor

What lets Gemini stop waiting while Codex runs?

Antigravity runs codex_dispatch and codex_resume as background calls and wakes Gemini when the result arrives. The Python server runs Codex and writes its events to disk. A different MCP client can consume progress or log notifications, but it needs its own mechanism to resume the supervising agent.

Does Castor require a GPU, and what determines host capacity?

The Python bridge does not load model weights and has no documented GPU or VRAM requirement. Size the host for concurrent Codex processes, repository builds and tests, extra worktrees, and retained event logs. A local CLI process does not imply offline model inference: a configured Codex account is required.

Can a company self-host Castor under the MIT license?

Castor is MIT-licensed, so commercial self-hosting is permitted subject to the license's notice requirements. Codex CLI access and the model services are separate from that license. Review their terms and your organization's rules for storing prompts, replies, and execution logs before rolling it out.

When is Castor worth using instead of Codex CLI directly?

Use Codex CLI directly for one-off work when you can write the brief, review the patch, and manage the session yourself. Castor is a better fit for repeated Antigravity handoffs where background completion, same-session rework, and comparable task records justify the extra integration.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining JAY201368/codex-castor? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature JAY201368/codex-castor on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare