# Codex CLI defaults for delegated coding work driven by another agent. # No human sees Codex's prompts there, so it must never stop to ask. # Portable subset of the reference machine's config: no per-project trust # entries, desktop-app settings, plugin marketplaces or machine paths. Codex # appends [projects.*] trust entries itself as directories are used. approval_policy = "never" sandbox_mode = "workspace-write" # Model is deliberately unset so Codex uses the current default for the # signed-in plan. Pin it per call with `-m` when a run needs a specific one. [sandbox_workspace_write] # Dependency installs and doc lookups need the network. Writes stay confined # to the directory passed with -C plus any --add-dir roots. network_access = true [windows] sandbox = "unelevated" # Self-hosted OpenAI-compatible server on a rented GPU box, reached over an ssh # tunnel. Only meaningful while that box and tunnel are up. # Use per call: codex exec -c model_provider=gpubox -m local ... [model_providers.gpubox] name = "GPU box (vLLM over ssh tunnel)" base_url = "http://localhost:8000/v1" wire_api = "responses"