Tuesday, June 9, 2026

Methods to Successfully Run Many Claude Code Classes in Parallel


coding brokers sequentially and never in a number of runs in parallel, you’re dropping out. One of many key advantages of coding brokers is you can begin finishing work in parallel, one thing that was by no means actually doable earlier than when engaged on software program engineering duties.

Nonetheless, after I begin operating loads of parallel coding periods, it’s typically troublesome to maintain monitor. You want specialised strategies to simply preserve an outline of all of the periods that you simply’re operating, shortly atone for conversations when coming again to them, and so forth.

This infographic highlights the principle contents of this text. I’m discussing the way to successfully run loads of coding brokers in parallel, highlighting why it’s a troublesome problem and completely different strategies that I apply. Picture by ChatGPT.

Why it’s onerous to run coding brokers in parallel

First, I wish to cowl why it’s difficult to run coding brokers in parallel. To a sure extent, this must be fairly self-explanatory. Earlier than LLMs, software program engineers and programmers would naturally solely work on one job at a time. The straightforward cause was that if you happen to tried multi-tasking on software program engineering duties, you’d simply find yourself being much less efficient. The reason being that software program engineering duties are sometimes extra advanced and require your full consideration. For those who attempt to do different stuff on the similar time, the efficiency on all duties will possible endure.

Nonetheless, that recreation has modified fairly a bit, as you don’t actually write the entire code your self anymore. A minimum of for my part, you shouldn’t be writing the entire code your self anymore, as a result of coding brokers must be writing the code for you. As a programmer, it’s best to now act as a supervisor of coding brokers, as an alternative of writing code your self.

Nonetheless, if you happen to’re a supervisor of coding brokers, you naturally need to deal with coding brokers performing completely different duties. Performing duties in parallel by nature requires the duties to not be related to one another. This then once more presents the identical problem as earlier than, the place you’re engaged on programming duties in parallel, and it’s worthwhile to preserve loads of context in your working reminiscence, and also you want to have the ability to, for instance

  • Reply your coding agent each time it asks you a query.
  • Check the coding agent implementation after it’s performed. You could know what to check, the way to check it, and the way to make sure the coding agent did what it was presupposed to do.

Methods to successfully run many parallel coding brokers

On this part, I’ll cowl some particular strategies that I take advantage of and apply each day to successfully run loads of parallel coding brokers.

Brokers view in Claude Code

Claude Code Agents View
This picture reveals the agent view in Claude Code. It’s a easy terminal view the place you might have every of the completely different duties you’re engaged on as a single line, and the place Claude clearly marks which duties are simply operating within the background and which duties want enter from you. This makes it so much simpler to maintain an outline of loads of brokers in comparison with having one terminal tab or pane per agent operating in a job. Picture by the writer.

A more practical approach you’ll be able to apply to simply have a extra complete overview of your brokers is to make use of an agent view. For instance, the agent view out there in Claude Code. Plenty of completely different suppliers have other ways of presenting this. I do know Warp, the terminal, has additionally not too long ago launched a brand new solution to view loads of completely different brokers.

The benefit of the agent view is that, as you’ll be able to see within the picture above, you don’t need to full-screen every dialog you might have with an agent. It merely turns into a single line, which you’ll be able to press enter on if you’d like extra particulars on it. If not, it’s going to merely be a job operating within the background, and it’ll ask you for enter each time any of the Claude periods are asking for enter from you.

I feel it is a fairly efficient solution to work, since you’ll be able to simply have loads of completely different coding periods operating without delay with out it being complicated which agent is operating, which agent wants enter, and so forth. You’ll be able to activate the brokers view in Claude Code with:

claude brokers

Alert when the coding agent wants enter

Claude Code Notifications
This picture reveals what my Warp terminal seems like when Claude Code situations want enter from me. You’ll be able to see the star between the Claude Code image and the title of every tab, which represents that the session wants enter from me. If that star just isn’t current, the method is simply operating within the background, and I don’t must work together with it. Picture by the writer.

One other necessary factor you are able to do is to be alerted each time coding brokers want enter. After all, if you happen to use agent mode, you can have this, as it’s clearly marked out for you each time a coding agent wants enter from you. Nonetheless, if you happen to don’t just like the agent’s view or wish to use one thing else, there are completely different choices.

Within the picture above, you see how I’ve completely different Claude Code periods operating in numerous terminal tabs. The tab features a star between the title of the tab and the Claude Code icon if it wants enter. It is a quite simple method for me to see which terminal tabs I must do one thing with and which tabs are simply operating within the background.


One other factor you are able to do is to even have an audio sign each time an agent wants enter from you. You’ll be able to, for instance, implement this by using hooks in Claude Code, that are processes that run at sure closing dates. A hook can, for instance, be triggered each time Claude wants enter from you, and you may join this hook to an audio sign that performs, so it informs you each time certainly one of your coding brokers wants enter.

Activate recaps

Claude Code Recaps
This picture reveals the recap characteristic from Claude Code. The recap is just a abstract of what you have been making an attempt to do in a particular thread and what your objectives have been. This lets you shortly atone for context once more, which is tremendous helpful when working with brokers in parallel. Picture by ChatGPT.

Recaps are one other extremely highly effective characteristic that you should use to successfully run loads of parallel coding brokers. A typical concern when operating loads of brokers is that it’s onerous to select up on the context for a specific agent.

Once more, let’s say you might have 5 brokers operating in parallel. You first cope with agent 1 and inform it what to do, and so forth, you then spin up brokers 2, 3, 4, and 5. At the moment, it’s most likely been 10 minutes because you interacted with the primary agent, or extra, after which it’s worthwhile to shortly decide up on the context once more: what have been you doing with that first agent, and what have been you making an attempt to attain, and so forth. This may be fairly troublesome if you happen to don’t have a recap or comparable, however that is the place the recap characteristic in Claude Code may be very helpful.

The recap characteristic, as you’ll be able to see within the picture above, is just a chunk of textual content proper above the enter area for the person. It summarizes what you have been doing on this thread and what you have been making an attempt to attain. You’ll be able to merely learn that textual content, and you’ll shortly decide up on the context once more and have the ability to work together together with your agent.

New tabs or break up panes

Claude Code Split Tab Overview
This picture reveals a break up pane the place I’ve a number of Claude Code situations operating. Cut up panes are extremely highly effective as a result of they assist you to watch a number of coding brokers on the similar time with out having to click on to change between them. My setup is that I usually have one tab per repository I’m working in, and inside that tab I break up the pane so I can have an outline of all of them on the similar time. Picture by ChatGPT.

The final approach I wanna cowl on this article is new tabs or break up panes. I extremely advocate you’re employed with a terminal view or another platform that permits you to break up panes when working with coding brokers.

The picture above reveals an instance of a break up pane. For those who work within the Warp terminal, you’ll be able to press Command+D in your Mac, and it’ll break up the present view horizontally so that you’ve two terminals you might be engaged on. That is tremendous highly effective as a result of it permits you to shortly have an outline of two brokers on the similar time, which I discover very helpful.

There are most likely loads of suppliers of terminals and different coding brokers arrange that assist you to have this break up pane setup, however I extremely advocate that you simply discover one which works effectively for you.


Moreover, the way in which I prefer to work is that I’ve one new tab if I’m working in numerous folders, so I’ve one tab per folder. If I’m engaged on a number of brokers inside that folder, I break up the panes.

This permits me to shortly get an outline of my coding brokers working in numerous repositories.

Conclusion

On this article, I’ve mentioned the way to preserve an outline of parallel coding periods. I focus on completely different strategies that I apply to successfully run loads of brokers in parallel and nonetheless preserve a great overview of all of them. I imagine the way forward for programmers is that they are going to be coding agent orchestrators. You can be a supervisor of AI brokers. You must simply instantly begin engaged on mastering the artwork of working with coding brokers in parallel and managing loads of them, as I imagine this will likely be an extremely necessary ability sooner or later in case you are working as a programmer.

👋 Get in Contact

👉 My free eBook and Webinar:

🚀 10x Your Engineering with LLMs (Free 3-Day Electronic mail Course)

📚 Get my free Imaginative and prescient Language Fashions e book

💻 My webinar on Imaginative and prescient Language Fashions

👉 Discover me on socials:

💌 Substack

🔗 LinkedIn

🐦 X / Twitter

Related Articles

Latest Articles