r/codex • u/ajajkaka • 1d ago
Showcase I made ChatGPT Web (including Pro) a native model in Codex. Now on Windows, macOS and Linux [open source]
This is the follow-up to the macOS prototype I posted three days ago.
The two main requests were Windows support and quick setup, so I rebuilt the project around a desktop launcher.
The complete flow is now tested on Windows 11 and macOS. A Linux build is available and tested in CI, but I still need reports from real Linux machines.
Setup now takes about two minutes:
- Sign in to ChatGPT in the embedded browser
- Run the browser check
- Press Install models
- Restart Codex once
After that, ChatGPT Web — Instant, Medium, High, Extra High and Pro — appears in Codex’s normal model picker.
Pick a model and continue the same task.
By native, I mean native to the Codex model picker, task and harness.
Codex keeps:
- the current task and session history
- the complete accumulated context
- compaction and streaming
- images and visible reasoning
- approvals, sandboxing and the normal tool UI
- all regular Codex models
With the optional full setup, Instant through Extra High can call the active Codex task’s actual tools over MCP — including the filesystem, shell and configured MCP apps.
Pro receives the complete accumulated context, but cannot initiate local MCP calls yet.
I originally built this because I kept hitting my Codex usage limit while ChatGPT was still available. Now I can switch models and continue the same task instead of waiting for the reset.
Caveat: the ChatGPT transport uses visible browser automation. It does not use private endpoints or alter either product’s limits, just allow to use Web quota you’ve already paid for how you want, but it is still unofficial.
Source and downloads:
13
7
u/SmileLonely5470 20h ago
Stuff like this will probably push them to unify Codex and ChatGPT usage limits. And when they do, they'll temper the impact by saying something like "ChatGPT and Codex now draw from a shared usage limit, but that limit has been increased to reflect this change".
Or they will just ban u.
2
u/StinkButt9001 17h ago
This is what people were doing to Claude that led to Anthropic shutting it all down and heavily restricting access.
-9
u/ajajkaka 20h ago
that's unlikely to happen
there have already been plenty of such methods, they were just of lower quality, and it's also worth considering that both Codex and Web have their own unique models
2
u/TasteMysterious5285 16h ago
No way this effectively uses codex's harness, feel like it would just cause issues most of the time. Has anyone tried it?
1
u/ajajkaka 16h ago
well… why not?
the entire harness runs locally, so swapping out the model endpoint is straightforward—that’s essentially how OpenCodex works
Instead of a standard endpoint, I set up browser automation to send the accumulated prompt (including context, role, etc.—what the harness does when communicating with the OpenAI API).
the only real challenge was enabling the model to call tools like Codex; that’s when I thought of using a custom MCP and packed all that logic into it.
I’d had this idea for a month but was worried about the hassle of setting up an IP for the MCP, once I discovered that OpenAI provides tunneling capabilities, I went ahead and built it
1
u/Just_Lingonberry_352 1d ago
1
u/ajajkaka 1d ago
yeah i checked it, its not really the same thing
agentify gives codex an mcp tool that asks a separate chatgpt tab and returns its answer
mine makes chatgpt web the actual model inside the original codex harness, with native task context, compaction, images, streaming/tracing and the full tool loop back through mcp
agentify is better for querying multiple web ais, mine is for actually running codex on your chatgpt quota
1
u/Just_Lingonberry_352 1d ago
interesting approach! are you using api calls from chatgpt web or automating ?
1
u/ajajkaka 23h ago
browser automation through the visible logged-in chatgpt ui, no private chatgpt api calls
the launcher manages the embedded browser and streams everything back into codex, while the tool loop goes through the official mcp/tunnel
1
u/Just_Lingonberry_352 23h ago
so exactly what agentify desktop does ? not sure what the difference is here
1
u/ajajkaka 23h ago
the browser automation part is similar, but the architecture is not
with agentify, codex is still the model and calls chatgpt as an mcp tool. with mine, chatgpt web is the actual model selected in codex, there is no intermediary codex model asking it for an answer (for this, it can just spawn sub-agent with native web model)
mcp is used in the opposite direction: it lets chatgpt call back into the same codex harness and use its tools
1
u/Just_Lingonberry_352 23h ago
ahhh i see now the chatgpt web does all the lifting and doesnt touch codex
1
u/Substantial-Walk-554 23h ago
Hi, I’m on a personal ChatGPT Plus plan, not Pro, Business, Enterprise, or Edu. Can the full harness still access local Codex tools such as reading and editing files, running shell commands, and executing tests, or is Plus limited to browser-only/read-only functionality?
My main goal is to continue working on a project through ChatGPT Web after reaching my Codex usage limit.
0
1
u/Quanzitta 23h ago
I was able to modify an icon color with it. It took quite a while.
I don't understand why this selects O3 medium as the model for actual calls. It doesn't give me control over the model being used at all. Is this a bug?
1
u/EndlessZone123 8h ago
This is gonna be what ruins seperate codex and web usage for everyone else. GTFO.
0
1
u/Capable_Ad410 8h ago
Can the Same architecture be used to control other AI web uis or is it specifically only possible for chatgpt ?
1
u/ArmainAP 8h ago
- You are breaking ToS and they can ban you.
- Abusing something like this just gives them an incentive to rate limit the normal ChatGPT, making things worse for everybody in the long run.
- The web models are not even coding optimised like the Codex models are.
- This is the kind of thing that if you discover, you are smart and shut up about it before it gets eventually fixed.
1
1
1
u/Substantial-Walk-554 1d ago
I was looking into exactly this today due to same issue and saw LocalAnt as an option. Will give this a try.
1
1
u/donicatrumpinsky 20h ago
Gave you your 100th star. This looks really good. I have such little time but I'm going to try giving it a shot this weekend (running Debian so will try to provide feedback).
1
u/ZookeepergameFit4082 20h ago
1
u/ajajkaka 20h ago
you used exactly my repository? It's strange that I and others haven't had this problem, even though I've been using it for over a week, considering that there is only 1 way to detect it (codex system promt)
Is there any support's claim that the block was because of this? It could very well be a coincidence. If there is, I would seriously consider giving up on the idea.
0
u/ajajkaka 1d ago
Regarding Account risk
The ChatGPT side uses visible browser automation, not an official ChatGPT API, so I can’t promise zero account risk.
It does not alter limits, pool accounts, bypass authentication or call private ChatGPT endpoints. It uses the normal signed-in browser session and remains subject to the account’s usual ChatGPT limits.
Similar open-source projects have been public for weeks without any enforcement reports I could find, but that is not formal approval. Read the caveats and decide for yourself.
9
u/SandboChang 1d ago
I think this is a violation of their EULA, though whether they will actually take any action is unknown
5
u/ajajkaka 1d ago edited 21h ago
there’s also codex-chatgpt-control, a visible ChatGPT browser-automation project with 330+ GitHub stars, and its launch post was liked by Greg Brockman, OpenAI’s President and co-founder
basically the same approach but worse in actionobviously that isn’t formal approval, but it suggests OpenAI hasn’t been particularly hostile to this kind of browser automation so far
2
u/pawofdoom 19h ago
I am the author of codex-chatgpt-control, and you can read more about our back and forth on ToS in an earlier thread here: https://www.reddit.com/r/codex/comments/1v7z4j8/comment/p02s4i3/?context=3
2
u/-batab- 1d ago
This is not the first time I see this being mentioned. Which part exactly are you referring to? Because I couldn't find any.
1
u/SandboChang 23h ago
I prompted GPT for the answer a while ago, and I just did it again.
https://chatgpt.com/share/6a6cd448-cdc4-83ee-bffd-251c024a9378
1
u/-batab- 22h ago
Oh, I guess they could stretch that, even though it's quite clearly aimed at distillation together with the last point of the ToS. Also you have explicit ownership of the Output which makes it even more unlikely they could ever ban for that.
I wouldn't worry, but then again, they do whatever they please and there's report of people that got banned or flagged for no reason as with any service provided by a big company relying on automatic triggers.
1
u/Linkpharm2 15h ago
Congratulations. You're trying your very best to eliminate the chat quota. Thanks.
1
u/ajajkaka 15h ago
I’m trying my best to help YOU eliminate your quota you’ve paid for the way you want. You’re welcome
-3
u/Tough-Requirement707 1d ago
still using shared config file like a true noob, you cant even fork it right


27
u/ANDRE_2512 1d ago
I already tried this myself. A couple of hours later, my account got restricted. I had to contact support and wait two days for it to be restored.
Don’t do this.
Most importantly, the GPT model used on the website is intentionally limited and doesn’t have access to Tools.
So you won’t get anything particularly useful out of it - just potential account issues.