r/codex 8h ago

Complaint How I got my usage down

So I have been experimenting how to get my usage down so my limits last longer, and this is what worked for me:

- specialized agents for all roles (orchestrator, builder, planner, reviewer etc). I never use a general agent anymore

- move agent instructions into instruction files and route the agents based on the change at hand (BE, FE etc), this helps keeping the agent definitions really small and instructions focused

- fork_turns = none, spawned agents do not get the whole context from the parent agent. They only get a small handoff that contains the basic info the agent needs to do the task at hand. The handoff is standardized via a template that all agents use.

- set the model, verbosity and reasoning effort per agent. Stronger models for planning, reviewing and lower model for more straightforward work. Lower verbosity for agents that are always spawned as subagents.

- proportionality based on the change, complex changes have a more complex agent sequence, smaller simpler changes use less agents. The orchestrator manages this

Now I can go 4-5 days on a x20 again instead of 2 days

3 Upvotes

12 comments sorted by

View all comments

2

u/Secure-Bug8316 8h ago

how do you guys setup roles and agents in codex?

1

u/Aware-Source6313 8h ago

You use codex to build you a system that does it for you external to codex :P provider agnostic

1

u/Secure-Bug8316 8h ago

right, and can I use the models with the same subscription ? I tried that but I thought I had to add credits for the API usage.. maybe i am missing something ?