Open-Source Tool Bridges ChatGPT Web Subscription With OpenAI Codex Terminal

An open-source project called 'Codex with ChatGPT', developed by XiaoDuoYa, connects the ChatGPT web interface to a local OpenAI Codex terminal session to reduce costly API token usage. The tool splits development into two layers: ChatGPT handles high-level architectural reasoning and code reviews using an existing flat-rate web subscription, while Codex handles actual code execution and terminal commands. Communication between the two is handled through a read-only Model Context Protocol (MCP) bridge authenticated via OAuth 2.1, meaning ChatGPT can inspect code but cannot write, delete, or execute shell commands. Security features include automatic redaction of sensitive files such as environment variables and private keys, along with ephemeral five-minute pairing codes for each session. The project is publicly available on GitHub and includes an automated setup routine that allows Codex to configure the entire environment without manual intervention.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.



Discussion (0)
Log in to join the discussion and vote.
Log in