I Like Codex, but It Can't Use DeepSeek, So I Built a Local Gateway
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.