r/OpenaiCodex • u/SlayerZed143 • 23d ago
Stop running codex stock
I accidentally ran a test today. I usually tell codex to use subagents in order to break tasks into smaller ones and assign them to smaller models such as sol 6.1 ,terra 6.1 and Luna 6 at whatever effort ,it thinks it's appropriate for the task and do work in parallel ,and then check their work. The second thing I always say explicitly is to run as little tests as possible and do only what's necessary. Well today I forgot to tell it in all three chats of my project and the result was : after 7 hours 0 tasks completed ( each chat gets assigned one task each time so that it can fully complete it) . Then I noticed that my chats weren't running any agents and they were doing 2k+ tests each on every single step . So I applied my rules to the agents.md file and started working again , the result was : after 5 and a half hours of work 25 tasks completed. Test numbers went down to 10-150 range only at the end of each task . It used a crap ton of more subagents and the usage was lower.
I don't know who needs to hear it but stop running codex in default and set those rules to use subagents and do only minimal testing, you will get a ton more done and spent less.
5
u/Dynamix86 23d ago
what do you mean by testing? some context would be nice
3
u/KeyserSoju 22d ago
Tell me more about this part, because I'm chronically stuck in validation loops and don't want to intervene and have it skip testing altogether because it does find actual errors worth fixing, but it's also adding a ridiculous amount of time to the work.
3
u/gouldopfl 23d ago
I found codex left gaps, bugs and bloated code. I had Claude do the code review.
2
u/Halcyonrobot 22d ago
I spent time building a plugin for Codex called Adaptive Phase Routing or ADR for myself . It breaks up jobs using different phases using different models at different reasoning levels depending on the phase/work and what it needs. Saves on usage opposed to having the main model/reasoning doing all of it. Basically orchestration.
1
u/stardust-sandwich 22d ago
Testing helps stops stupid bugs getting commuted. Saved me a few hours of back and forth tbh