Hacker News new | ask | show | jobs
by simonw 249 days ago
Take a look at my example here - having a bunch of sub-agents perform a task consumed 50,000+ tokens each across 5 subtasks, because each one had to consume duplicate information. https://simonwillison.net/2025/Oct/11/sub-agents/
1 comments

But that's down to the way Claude Code has implemented it? If I code this myself I could engineer so that the subagents don't have overlapping context with the orchestrator.

Also, memory itself can be a tool the subagent calls to retrieve only the stuff it needs.