How to Use Claude Code Subagents to Parallelize Development

zachwills.net

32 points by zachwills 4 days ago


CuriouslyC - an hour ago

As someone who's built a project in this space, this is incredibly unreliable. Subagents don't get a full system prompt (including stuff like CLAUDE.md directions) so they are flying very blind in your projects, and as such will tend to get derailed by their lack of knowledge of a project and veer into mock solutions and "let me just make a simpler solution that demonstrates X."

I advise people to only use subagents for stuff that is very compartmentalized because they're hard to monitor and prone to failure with complex codebases where agents live and die by project knowledge curated in files like CLAUDE.md. If your main Claude instance doesn't give a good handoff to a subagent, or a subagent doesn't give a good handback to the main Claude, shit will go sideways fast.

Also, don't lean on agents for refactoring. Their ability to refactor a codebase goes in the toilet pretty quickly.

simianwords - 20 minutes ago

Slightly off topic but I would really like agentic workflow that is embedded in my IDE as well as my code host provider like GitHub for pull requests.

Ideally I would like to spin off multiple agents to solve multiple bugs or features. The agents have to use the ci in GitHub to get feedback on tests. And I would like to view it on IDE because I like the ability to understand code by jumping through definitions.

Support for multiple branches at once - I should be able to spin off multiple agents that work on multiple branches simultaneously.

user3939382 - 6 minutes ago

I’ve got this down to a science.

raminf - an hour ago

Was going to ask how much all this cost, but this sort of answers it:

> "Managing Cost and Usage Limits: Chaining agents, especially in a loop, will increase your token usage significantly. This means you’ll hit the usage caps on plans like Claude Pro/Max much faster. You need to be cognizant of this and decide if the trade-off—dramatically increased output and velocity at the cost of higher usage—is worth it."

Frannky - 2 hours ago

Is it a good idea to generate more code faster to solve problems? Can I solve problems without generating code?

If code is a liability and the best part is no part, what about leveraging Markdown files only?

The last programs I created were just CLI agents with Markdown files and MCP servers(some code here but very little).

The feedback loop is much faster, allowing me to understand what I want after experiencing it, and self-correction is super fast. Plus, you don't get lost in the implementation noise.

zachwills - 4 days ago

Follow up from my last post; lots were asking for more examples. I will be around if anybody has questions this morning.