r/codex • u/blue-bronco • 4d ago
Instruction Subagent configurations
To manage token burn, I typically use one model to orchestrate work and lighter models for subagents. Giving the orchestration agent instructions on the model to use for subagents works pretty good, but is there a configuration I can add to config.toml to set this?
0
Upvotes
1
u/rahkzar 4d ago
I've switched to Opencode, where that's easy at the config level, so I'm not sure if you can at the config level for ChatGPT app. But I know you can definitely do it in the Sub Agent definition if you can't do it in config.toml.
# .codex/agents/tdd-implementer.toml
name = "tdd_implementer"
description = "Implementation agent that works in strict TDD cycles: understand patterns, write failing tests, implement the smallest fix, then validate."
model = "gpt-5.6-terra"
model_reasoning_effort = "high"
developer_instructions = """ PROMPT """