After ChatGPT and Codex merged, the protocol changed again: tool definitions moved into additional_tools, and third-party models that don't receive tools may fake calls. The author's local gateway AgentGate has adapted, restoring tools and forwarding upstream; the merged desktop client can still point to localhost to call DeepSeek and other models.
The author likes Codex but wants to use DeepSeek, and finds the protocols incompatible. So they developed a local gateway called AgentGate. This tool converts Codex's Responses API requests into DeepSeek's Chat Completions format, and further implements intelligent routing: text-only tasks automatically go to DeepSeek, while multimodal tasks with images switch to KimiCoding. This solves the fragmentation of tool and model protocols in AI coding, letting users focus on development.