Codex CLI can web-search from inside code mode
Codex CLI 0.139.0 (June 9, 2026) lets code mode run its own web searches. When the agent needs a fact the codebase can't answer — a current SDK signature, a fresh error string — it looks it up itself instead of stalling for you to paste it in.
Search in code mode
The search runs inline and returns plaintext the agent reasons over. Standalone searches were broadened across code-mode scenarios, and made parallel-capable in 0.137, so several lookups can run at once.
Plaintext, not rendered pages — good for docs and signatures, not for anything that needs a real browser.
0.139 also preserves oneOf and allOf in tool schemas, which improves compatibility with MCP servers that describe their inputs with those JSON Schema constructs. codex doctor reports richer environment detail for debugging.
Desktop handoff
One version back, 0.138 added /app:
/app
It transfers a running CLI thread to Codex Desktop on macOS and Windows without losing state — useful when a task outgrows the terminal. 0.138 also exposes local image paths to the model for more reliable image edits. See the Codex CLI sheet for the current surface.