OpenAI Codex Team Fixes OpenClaw Authentication Bug, Significantly Improves Agent Behavior

Gate News message, April 23 — The OpenAI Codex team is focused on optimizing the OpenAI model experience in OpenClaw, with Codex engineering lead Tibo Sottiaux collaborating with OpenClaw creator Peter Steinberger. Codex product lead Nik Pash discovered a critical authentication flaw: when OpenClaw was configured to use Codex harness with OpenAI models, the authentication process failed and the system silently fell back to Pi harness, causing users to believe Codex harness was functioning normally when it was not.

Pash submitted two pull requests to address the issue: one to fix the authentication bridge and another to prevent silent fallback. The improvements stem entirely from switching the underlying runtime adapter (harness) that governs how OpenClaw communicates with the model API, while the agent's prompt and higher-level workflow logic remained unchanged.

Agent behavior showed marked differences before and after the fix. With Pi harness, the agent performed shallow polling on each heartbeat: reading heartbeat files, checking Discord, returning HEARTBEAT_OK, and ignoring other instructions. It sometimes inferred operations to execute but failed to issue tool calls. After switching to Codex harness, the agent entered a full work loop: reading workspace context, parsing task lists, checking repositories, executing edits, and attempting verification. Subsequent heartbeats could resume progress rather than repeat work.

Disclaimer: The information on this page may come from third-party sources and is for reference only. It does not represent the views or opinions of Gate and does not constitute any financial, investment, or legal advice. Virtual asset trading involves high risk. Please do not rely solely on the information on this page when making decisions. For details, see the Disclaimer.
Comment
0/400
No comments