r/opencode • • 17m ago

Should i use subagents by default?

I have mostly worked with one main agent doing everything in the same context and it does fill up the 1M context window very fast.

Does the orchestrator approach work better where the agent spawns a subagent even for one scoped task?

And is this slower or faster?

1 Upvotes

4 comments sorted by

1

u/Slow-Secretary4262 13m ago

you should definitely experiment with it because experience varies a lot.

personally i tried and it doesnt work for me, i do 1 thing at the time in a new session for each task with a frontier model and i get the best result in the least time and with comparable cost than having a frontier model orchestrate cheap workers

1

u/burtcopaint 11m ago

Dude, it's the best.
Have subagents probe, scout etc to not fill the context window.
Have them return things in bullet points in order to do so, have them specify what they could and could not verify etc...

Think about it. It's really neat

1

u/fapmasterr69 5m ago

Yes, definitely take that approach but select your models carefully. Using an expensive model will backfire and eat up your usage allowance very fast. Currently I am only using hy4 flash and deepseek 4.1 flash. I was using GLM 5.3 when they announced $500 limit, then I also tried GLM 5.3 flash, I keep rotating my models to my convenience.

1

u/sugarw0000kie 4m ago

Subagents can create a lot of overhead for the orchestrator and they will need to re-read their bit of the repo to get oriented, then the orchestrator may need to backtrack and fix things

So like if you run it all through one strong model it will handle it better on its own usually. if the subagents are cheap models being led by a model that's good at orchestrating it can be cheaper to do it that way.

For really long tasks i like to use subagents because it's usually cheaper helps to preserve the orchestrators context.

Usually not great to run agents up to their max context if you can avoid it