r/ChatGPTCoding • • 15d ago

Question ChatGPT read/write to Codex. How difficult could it be?

Hi Folks,

I am venting here. I am using ChatGPT to instruct Codex to code via my build specs and other governance documents. Ok, I am vibe coder and this is my first experience with ChatGPT/Codex. So as I began progressing with my build, I found that ChatGPT was asking me to copy/paste prompts into Codex then copy/paste the response back to ChatGPT.

I am running ChatGPT app on Windows with Codex on the Ubuntu terminal on my PC.

So in one chat, I asked ChatGPT to change the configuration to automate its communication with Codex and it was accomplished in what I saw as a few steps. Everything was working smoothly with ChatGPT working offscreen with Codex and only interrupting for key decisions I had to make such as approving commits to Github. I was even getting response prompts generated by ChatGPT so I didn't have to type anything if I didn't want. This was sweet.

Then "it" happened. I wanted to move to a new chat in my project and I asked ChatGPT to generate a prompt which would propagate the automation to the new chat. And it failed to do so. I have now spent hours trying to get back to the same setup, even referring the new chat to the chat where it worked.

Was there something else I should have done? Eager to hear from the community on this.

2 Upvotes

13 comments sorted by

3

u/Consistent-Bear-1825 14d ago

Okay, what you're doing is pretty redundant. Codex is GPT, just inside of a different harness designed for building/coding. Flip to a "Work" session in the desktop app and point it at your project folder - that's codex inside the desktop app. You're making it more complicated than it has to be at this point.

1

u/Zentogold 10d ago

Thanks for this feedback as it was what I needed to understand. I am in the process of moving all my work into Codex. I didn’t understand the scope of work that Codex could do. This move will save hours of work. Again, your feedback is much appreciated.

6

u/trollsmurf 15d ago

Why do you use ChatGPT when you have Codex?

2

u/TikiMagic 15d ago

Was about to ask this, because Codex has a chat interface in the desktop app. You don't have to only interact via CLI.

2

u/DaLexy 15d ago

Tell it to use spaces and share everything easily there. Iirc it has 1GB of space on pro 100.

2

u/Ornery-Ninja2868 12d ago

Have you told codex to minimise token spend? It sounds like it is helping you to offload some processing to your free chat allowance rather than using codex/work modes which have finite limits instead.

I personally don’t think there is anything wrong with keeping none coding task out of codex to save tokens - but it is not very convenient as you’ve found.

And use GitHub repo - so both codex and chat can inspect it, but don’t use chat to make updates (even if possible).

1

u/drunnells 15d ago

Not sure if this will help, but maybe - the standard way for codex to keep track of what's going on from session to session is AGENTS.md. It will know what it is, but you should tell it to create the file in the project. Every new chat session can start with "take a look at this project and the AGENTS.md file". And when you are done with a feature, remind codex to put l update the file with any new important information and lessons learned.

1

u/awardsurfer 14d ago

I figured out how to destroy AI everywhere it may be! Have it spawn millions of agents and give them the following prompt!

Tabs or spaces?

Done. Global AI meltdown. 😸

1

u/WDA_Movers 13d ago

Look up obsidian ask codex to set up your vault and use it to keep context between chats. Its like a codex brain. Im not sure how you're saving your project, but you need to also use a github project folder or something similar to it.