ZH version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
82% Positive
Analyzed from 511 words in the discussion.
Trending Topics
#agent#subagents#context#sub#main#agents#super#why#tokens#actually

Discussion (9 Comments)Read Original on HackerNews
I have also not observed it using less subagents than usual in regular chats. However, that could be due to limited use over a small timeframe.
One would think it is actually a useful thing both for the users and the LLM providers that are compute constrained at the moment..
Sub-agent tasks often have overlapping context after the point of dispatch. Example: you tell agent 1 to explore folder A and agent 2 to explore folder B, if they have the same structure a single agent might be able to discover what it's looking for faster in serial mode vs. parallel. And if not faster, likely with fewer tokens.
And as the orchestrator context grows, it also loses out on capturing the nuance from some of the sub-agent context. In theory they pass some of that back, but realistically things get missed, and you can't apply learnings to parallel runs like you can in series.
The latest frontier models are very good at taking the knowledge they've acquired during a session and applying it forward. Sub-agents make more sense in cases where the agent is dumb to begin with and can't make use of the context it learns from serial execution.
So you burn more tokens. I had a situation recently where LLM asked to interpret bitmap inside the source code encoded as glyphs kept calling into Imagegen and generating photorealistic pictures of computer monitors displaying some random example hallucinated logos with captions like "your logo would go here" :o. I had to take over and directly prompt to write javascript that draws the bitmap. LMM generated single page js app performing this task (fillRect to canvas) in less than a second, 10 mines of js.
but i have to say i'm not super shocked or surprised. simply from the perspective of: i don't think subagents are super great to use anymore! they go off and do a bunch of duplicate research, then come back and deliver a cheap facimile of the information the main agent often already knew.
that's definitely not always the case, but i feel like so so so often the main agent would be better just doing the research itself, seeing the things. it can sometimes mean wasting some context on dead-ends. which, in an open model where thinking is actually captured and editable in the api, is not a huge deal. but i don't think claude is capable of the same history editing, afaik, in part probably because it won't actually give you it's thinking trails.
The author of the pi.dev minimal harness doesn't like subagents. It's interesting to see that now Anthropic hardcodes instructions trying to steer away from subagents.
It could be time for those still believing in those to ponder why that is.