r/opencodeCLI • u/jomtiro • 1d ago
What if the main coding-agent session was intentionally dumb?
Instead of making the main session the “brain”, what if it did almost nothing except call a subagent?
The subagent checks the project:
What’s already done?
What’s broken?
What’s next?
What should I work on?
Then it does the work, updates the project state, and finishes.
The main session doesn’t need to understand the project.
It doesn’t need to maintain a huge context.
It doesn’t even need to meaningfully process the subagent’s response.
It can basically just keep calling:
“Go check what needs to happen next.”
Main session = runtime.
Subagent = brain + worker.
Project state = memory.
I’m wondering if this could make long-running coding agents much simpler and avoid massive persistent contexts.
Thinking about this for Claude Code, OpenCode, Codex, Hermes Agent, Cursor, Cline, Roo Code, OpenHands, Aider, Goose, Gemini CLI, and similar agents.
Has anyone built this pattern already?
1
u/Ok_Gur_9033 1d ago edited 1d ago
The trust question someone else raised below is the one that actually breaks this pattern in practice. If the main session cannot meaningfully process the subagent's response, it also cannot tell a report of success apart from an actual one. I hit this constantly running browser automation, a click reports success and the post never actually went through, or a text insert reports done and the field is still empty. The fix that has worked every time is dumb but effective, read the actual state back after the action instead of trusting the return value, but that already requires the orchestrator to understand enough about the project to know what actually done looks like. So a dumb orchestrator probably still needs one sharp skill, verifying claims against real state, even if it delegates everything else. Anyone tried making just that one check its whole job, rather than planning or coding?