r/OpenaiCodex • u/SlayerZed143 • Nov 01 '26
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 Nov 01 '26
what do you mean by testing? some context would be nice
3
u/KeyserSoju Nov 02 '26
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 Nov 01 '26
I found codex left gaps, bugs and bloated code. I had Claude do the code review.
2
u/Halcyonrobot Nov 03 '26
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 Nov 02 '26
Testing helps stops stupid bugs getting commuted. Saved me a few hours of back and forth tbh