You can use the Codex harness with non-openai providers if you want.

Pretty sure you need to use an older version of Codex for this to work.