Codex + AGNT
OpenAI's CLI coding agent — pluggable into AGNT's fleet adapter layer.
Official sourceWhat it is
Codex is OpenAI's open-source coding CLI. It runs locally, connects to an OpenAI model, and operates on your project with a tool-calling model that mirrors most of the agent-native patterns the CLI ecosystem has converged on.
What distinguishes it: clean local execution, a compact tool surface, and an adapter interface narrow enough that other runtimes can wrap it without fighting the CLI's conventions.
Where AGNT fits
- AGNT's fleet v2 architecture has a `codex_local` adapter. Agents declaring this adapter route model calls through Codex instead of Claude or Gemma — hot-swappable via API-PATCH, no agent restart required.
- The cwd preservation trick: AGNT's fleet runtime preserves the agent's working directory across adapter swaps. You can move a content-writer agent from Claude to Codex mid-shift without losing its project state.
- AGNT's global spend cap and 30-concurrency semaphore wrap every adapter uniformly. Codex sessions run inside the same $500/day budget envelope and the same backpressure guard, so adapter swaps don't change your cost ceiling.
Integration recipes
Swap Codex in as the AGNT fleet adapter in 30 minutes
Walkthrough: set env, API-PATCH an agent from claude_local → codex_local, validate with a health check.
Wire AGNT memory into Claude Code as an MCP server
Same MCP endpoint works for any MCP-capable client, including Codex once MCP lands upstream.
Build an MCP server exposing AGNT wiki + graph
A shared MCP server gives Codex (and every other MCP client) the same AGNT tool surface.