codexwright

Build the workflow. Keep your coding agent.

codexwright is a Skill-guided MCP service that helps an existing coding agent design, build, migrate, edit, diagnose, and verify agentic workflows on the Codex SDK. It produces an exact proposal for review; only a human-approved apply writes the target files.

One target runtime. The builder and the generated workflow both target the Codex SDK. codexwright is not a provider-neutral runtime, a hosted multi-agent platform, or an autonomous publisher.

When to use codexwright

Approach Target runtime Host workflow Architecture posture Write / change gate Evaluation & ops
Hand-written Codex SDK Codex SDK Any editor or coding agent, manual wiring Manual per repository Direct file edits and repo tests Custom scripts per project
LangGraph / CrewAI Framework graph or crew runtime Python SDK and framework CLI Multi-node graphs or multi-role crews by default Direct code edits Framework or external SaaS tracing and evals
Google agents-cli (ADK) Google ADK / Vertex AI Agent Engine Standalone scaffold CLI + Agent Skills ADK agent templates and Cloud harness CLI scaffolding and direct edits ADK eval, OTel, Vertex deploy scaffold
codexwright (Codex SDK) Standalone Codex SDK package (no builder runtime dep) Inside Codex, Claude Code, OpenCode, or stdio MCP Single-Agent-first (ArchitectureSpec: Agent, Skill, tool, or code) Staged invoke diff + page-by-page human-approved apply Built-in mas eval, compare, analyze, OTLP trace, cost, Docker + CI

Start here

Migrate a workflow

Evaluate and operate

Design and release

Each guide has an executable golden case under examples/migrations/.

Interfaces

FAQ

Is codexwright an agent runtime?

No. codexwright is a build-time architecture and construction service (Skills + local stdio MCP). Generated workflows execute directly on the Codex SDK with their own library, mas CLI, and task-level MCP server, and never import codexwright at runtime.

How does codexwright compare to Google’s agents-cli?

Google’s agents-cli scaffolds and operates agents targeting Google ADK and Vertex AI. codexwright targets the Codex SDK, runs inside your existing coding agent over stdio MCP, enforces a single-Agent-first ArchitectureSpec, and gates every target write behind page-by-page human diff approval.

Does using Claude Code or OpenCode replace the Codex SDK runtime?

No. Host adapters in Codex, Claude Code, OpenCode, or any stdio MCP client only load the Skills and invoke the codexwright_* MCP tools. Both the shared builder service and the generated workflow run on the Codex SDK.

When should I migrate from CrewAI or LangGraph?

Migrate when your workflow’s value is captured by an observable input/output contract and you want Codex SDK execution, OS-sandboxed tools, and deterministic verification without maintaining a separate crew or graph runtime. Start with the CrewAI, LangGraph, or Claude Agent SDK migration guides.