Using Codex with a custom API gateway

Modern coding agents such as Codex are designed around OpenAIs Responses API and most of the time around a specific large language model, making it difficult to use them with self-hosted models or alternative inference backends. Fortunately, this limitation is mostly architectural rather than fundamental. By introducing a lightweight API gateway that translates between the Responses API and more…