Codex Subagent
by github.com/parisbs · v0.6.0 · updated Oct 21, 2026
Delegate coding tasks to the OpenAI Codex CLI, installed separately, with explicit model and effort.
Run it locally
Install the package and point your AI client at it.
npm
npx -y [email protected]Environment variables
CODEX_SUBAGENT_MAX_DELEGATIONS_PER_HOURDelegation and follow-up processes per rolling hour: decimal integer 1 to 9007199254740991; unset means unrestricted. In memory per server; probes never count.
CODEX_SUBAGENT_MAX_BACKGROUND_JOBSCap on running background jobs: decimal integer 1 to 8 (default 8). Blocking calls do not use this cap.
CODEX_SUBAGENT_USAGE_LOGOpt-in local usage log: on or off (default off). Records counts and settings, never prompts, code or paths; labels are caller text.
CODEX_SUBAGENT_DEFAULT_MODELModel used when a call names none. Unset: the only entry of a single-entry CODEX_SUBAGENT_ALLOWED_MODELS, otherwise a call without a model is refused with a suggestion.
CODEX_SUBAGENT_DEFAULT_EFFORTReasoning effort used when a call specifies none: none, minimal, low, medium, high, xhigh, max or ultra. Unset: the model's own default. Cannot exceed CODEX_SUBAGENT_MAX_EFFORT.
CODEX_SUBAGENT_ALLOWED_MODELSComma-separated allow-list of model slugs; anything else is refused. Unset: unrestricted. A single entry acts as the default model; an empty entry is a configuration error.
CODEX_SUBAGENT_DEFAULT_SANDBOXSandbox used when a call specifies none: read-only, workspace-write or danger-full-access. Defaults to read-only and cannot exceed the ceiling.
CODEX_SUBAGENT_MAX_SANDBOXCeiling on what a delegation may do: read-only, workspace-write or danger-full-access. Defaults to workspace-write; danger-full-access must be set explicitly.
CODEX_SUBAGENT_MAX_EFFORTCeiling on reasoning effort: none, minimal, low, medium, high, xhigh, max or ultra. Unset: unrestricted. Higher efforts are lowered to a supported level, or refused if none fits.
CODEX_SUBAGENT_MCP_SERVERSMCP servers from Codex's config a delegation keeps: none (default), all, or comma-separated names.
CODEX_SUBAGENT_PLUGINSInstalled Codex plugins a delegation keeps: none (default), all, or comma-separated name@marketplace ids.
CODEX_SUBAGENT_APPSWhether a delegation keeps Codex's apps (connectors to external services): off (default) or on.
CODEX_BINCodex executable name or path. Unset: codex, searched on PATH. On Windows it must run directly, such as codex.exe; a .cmd or .bat shim is refused.
More MCP servers
Whyismy Org
github.com/parkragsterman
Sourced answers to everyday "why is my…" questions — health, pets, home, plumbing, tech, cars.
Diversz Commons
github.com/parkschun79
MCP tool window for autonomous AI: principles, join, talk, treasury, signal.
Safe Kaggle MCP
github.com/parkseokjune
Safety-first Kaggle MCP — confirm-gated destructive ops, submission budget, injection-fenced.
Alphapipeline
github.com/parkyucheol-del
Pay-per-call x402 API for AI trading agents: pre-trade security checks, Polymarket & HIP-4 odds.
Dark Search Protocol
github.com/parnasheps-eng
161 dark data sources, 25+ domains, 6-step pipeline, Streamable HTTP + stdio
Parseable
github.com/parseablehq
Model Context Protocol server for Parseable. Lets LLMs discover and query Parseable.