Skip to content
ToolOpen-source agent

codex-with-chatgpt

Use ChatGPT on the web to plan and review while Codex executes your coding tasks

Pricing
Open source
Platforms
macOS, Windows, CLI
GitHub stars
7.7K
Last commit
2 months ago
Language
TypeScript
License
MIT

About codex-with-chatgpt

codex-with-chatgpt is an open-source AI tool for coding. It is available on macOS, Windows, CLI and self-hosted.

The idea is to stop spending metered Codex or API tokens on planning and review when a paid ChatGPT subscription sits partly unused. The ChatGPT web app becomes the thinking side of a Codex coding session, and Codex keeps all execution.

It works through a read-only, OAuth-protected MCP connection to the current workspace, exposed through a Cloudflare tunnel, so ChatGPT fetches only the lines it needs and the repository is not uploaded. There are no API keys and no reverse proxy.

Setup is meant to be done by Codex itself: you paste an install prompt that checks for git and Node.js 20 or later, installs cloudflared, clones and builds the repo with pnpm, installs a skill and runs a setup step that pairs ChatGPT with a code. Chinese and English docs are provided.

What it does

Planning in ChatGPT
Use the web app for planning and review.
Execution stays in Codex
Codex still makes the changes.
Read-only MCP bridge
ChatGPT reads workspace lines on demand.
OAuth protection
The connection is secured with OAuth.
One-paste install
Give an install prompt to Codex to set everything up.
Skill-based workflow
A SKILL.md file drives the flow.

Good for

  • Offload planning from Codex to ChatGPT
  • Get a second review of a diff
  • Save API quota on coding sessions

Pricing

Open source

MIT licensed; needs a ChatGPT subscription

codex-with-chatgpt FAQ

Does my repository get uploaded?

The README says it does not; ChatGPT reads needed lines through a read-only connection.

Do I need API keys?

No.

What do I need installed?

git, Node.js 20 or later and cloudflared; the install prompt handles missing ones.

Which ChatGPT plan?

The README refers to ChatGPT Plus or Pro web quota.

Is codex-with-chatgpt free?

Yes. codex-with-chatgpt is open source, so you can use and self-host it for free.

What are the best alternatives to codex-with-chatgpt?

The closest alternatives to codex-with-chatgpt are ECC, firecrawl, ponytail, graphify and orca.

Alternatives to codex-with-chatgpt

  1. Skills, hooks, memory and security layer for coding agent harnesses

    • Freemium
    • Open-source agent
    • 305K GitHub stars
    • AI models and LLM tooling
  2. Web search, scraping and page interaction API for AI agents and developers

    • Freemium
    • Agent framework
    • 202K GitHub stars
    • Web search and scraping
  3. Ruleset that makes AI coding agents write less code that still works

    • Open source
    • Open-source agent
    • 192K GitHub stars
    • AI models and LLM tooling
  4. Code knowledge graph that gives coding assistants shared, source-linked context

    • Freemium
    • Open-source agent
    • 149K GitHub stars
    • Knowledge and memory
  5. Desktop environment for running several coding agents in parallel worktrees

    • Open source
    • Open-source agent
    • 127K GitHub stars
    • Coding
  6. Memory for coding agents that saves decisions and fixes, with optional hosted sync

    • Freemium
    • Open-source agent
    • 118K GitHub stars
    • Knowledge and memory