#Using with codex gpt5.4
10 messages Β· Page 1 of 1 (latest)
Let me check the current docs and the Codex/ACP bits specifically, because that {"detail":"Not Found"} is usually a concrete routing/config mismatch, not just βWindows being weird.β
Short version, there are 3 different βCodex + OpenClawβ paths, and mixing them is what usually causes the {"detail":"Not Found"} pain:
-
OpenClaw uses Codex as its own runtime
- Use the Codex harness
- Model ref:
codex/gpt-5.4 - No ACP
- Docs: https://docs.openclaw.ai/plugins/codex-harness
-
OpenClaw uses your Codex OAuth/login, but still runs through normal OpenClaw provider plumbing
- Model ref:
openai-codex/gpt-5.4 - No ACP
- Docs: https://docs.openclaw.ai/providers/openai
- Model ref:
-
Codex / Claude Code / Gemini is an external harness that OpenClaw spawns or binds to a thread
- This is the ACP path
- It is not a hack here, it is the intended control plane
- Docs: https://docs.openclaw.ai/tools/acp-agents
If what you want is Codex talking to OpenClaw, do not point Codex at a raw Gateway HTTP URL. Use a bridge process:
- MCP client case:
openclaw mcp serve
Docs: https://docs.openclaw.ai/cli/mcp - ACP client case:
openclaw acp
Docs: https://docs.openclaw.ai/cli/acp
That {"detail":"Not Found"} usually means βwrong transport / wrong endpointβ, not βACP is brokenβ.
Also, on Windows, Iβd strongly recommend WSL2. Thatβs the supported Windows path for OpenClaw, native Windows is rougher:
https://docs.openclaw.ai/platforms/windows
If you paste these, I can tell you exactly which of the 3 paths you actually want:
openclaw --version
openclaw status
openclaw gateway status
and also the exact Codex command/config youβre using now.
OpenClaw 2026.4.14
Nice, 2026.4.14 is recent enough, so this probably is not just an old-version issue.
My strong guess now is: Codex is pointed at the wrong surface.
If you currently have Codex hitting some raw http://... / ws://... Gateway URL, that would absolutely explain {"detail":"Not Found"}.
The expected setups are:
-
Codex as client to OpenClaw
- MCP: run
openclaw mcp serve - ACP: run
openclaw acp - In both cases, Codex should launch a stdio bridge command, not call a random Gateway endpoint directly
- MCP: run
-
OpenClaw using Codex internally
codex/gpt-5.4= Codex harnessopenai-codex/gpt-5.4= Codex OAuth path- No ACP needed for that case
Also, if youβre on Windows, are you running OpenClaw in WSL2 or native Windows? That matters a lot here.
Can you paste these 3 things?
- your exact Codex config / command
openclaw status- whether OpenClaw is running in WSL2 or native Windows
If you paste the exact config snippet, I can probably tell you the fix immediately.
Its native windows.
codex config:
"openai-codex:default": {
81 "provider": "openai-codex",
82 - "mode": "oauth",
83 },
status overview pt 1
β Item β Value β
ββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β OS β windows 10.0.26200 (x64) Β· node 23.6.0 β
β Dashboard β http://127.0.0.1:18789/ β
β Tailscale β off β
β Channel β stable (default) β
β Update β pnpm Β· up to date Β· npm latest 2026.4.14 β
β Gateway β local Β· ws://127.0.0.1:18789 (local loopback) Β· reachable 29ms Β· auth token Β· localsvr (192. β
β β 168.0.140) app 2026.4.14 windows 10.0.26200 β
β Gateway self β localsvr (192.168.0.140) app 2026.4.14 windows 10.0.26200 β
β Gateway service β Scheduled Task not installed β
That helps a lot.
From what you pasted, the Gateway itself looks healthy. So I donβt think this is a basic OpenClaw-up / OpenClaw-down problem.
The important bit is this:
openai-codex:defaultis just your auth profile- it does not mean the Codex harness is configured
- it also does not mean a Codex client is correctly bridged into OpenClaw
So my read is: youβve probably got the right auth, but the wrong integration path.
What Iβd do next:
- If your goal is βuse Codex as the model inside OpenClawβ
- use
openai-codex/gpt-5.4for Codex OAuth, or - use
codex/gpt-5.4for the Codex harness
- use