coding brokers sequentially and never in a number of runs in parallel, you’re shedding out. One of many key advantages of coding brokers is that you would be able to begin finishing work in parallel, one thing that was by no means actually attainable earlier than when engaged on software program engineering duties.
Nonetheless, once I begin working quite a lot of parallel coding periods, it’s usually tough to maintain monitor. You want specialised methods to simply preserve an summary of all of the periods that you just’re working, shortly make amends for conversations when coming again to them, and so forth.
Why it’s laborious 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 process at a time. The straightforward motive was that in case you tried multi-tasking on software program engineering duties, you’ll 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 probably undergo.
Nonetheless, that recreation has modified fairly a bit, as you don’t actually write the entire code your self anymore. At the least in my view, 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, you must now act as a supervisor of coding brokers, as a substitute of writing code your self.
Nonetheless, in case you’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 linked 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 essential to preserve quite a lot of context in your working reminiscence, and also you want to have the ability to, for instance
- Reply your coding agent at any time when it asks you a query.
- Take a look at the coding agent implementation after it’s performed. It is advisable know what to check, how you can take a look at it, and the way to make sure the coding agent did what it was presupposed to do.
Find out how to successfully run many parallel coding brokers
On this part, I’ll cowl some particular methods that I take advantage of and apply day by day to successfully run quite a lot of parallel coding brokers.
Brokers view in Claude Code

A simpler approach you possibly can apply to simply have a extra complete overview of your brokers is to make use of an agent view. For instance, the agent view accessible in Claude Code. Numerous 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 option to view quite a lot of completely different brokers.
The benefit of the agent view is that, as you possibly can see within the picture above, you don’t need to full-screen every dialog you have got 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’ll merely be a process working within the background, and it’ll ask you for enter at any time when any of the Claude periods are asking for enter from you.
I believe it is a fairly efficient option to work, since you possibly can simply have quite a lot of completely different coding periods working directly with out it being complicated which agent is working, which agent wants enter, and so forth. You may activate the brokers view in Claude Code with:
claude brokers
Alert when the coding agent wants enter

One other essential factor you are able to do is to be alerted at any time when coding brokers want enter. After all, in case you use agent mode, you might have this, as it’s clearly marked out for you at any time when a coding agent wants enter from you. Nonetheless, in case you 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 working in several 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 have to do one thing with and which tabs are simply working within the background.
One other factor you are able to do is to even have an audio sign at any time when an agent wants enter from you. You may, 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 at any time when considered one of your coding brokers wants enter.
Activate recaps

Recaps are one other extremely highly effective function that you need to use to successfully run quite a lot of parallel coding brokers. A typical concern when working quite a lot of brokers is that it’s laborious to select up on the context for a selected agent.
Once more, let’s say you have got 5 brokers working in parallel. You first cope with agent 1 and inform it what to do, and so forth, then you definately spin up brokers 2, 3, 4, and 5. At the moment, it’s in all probability been 10 minutes because you interacted with the primary agent, or extra, after which it’s essential to shortly decide up on the context once more: what have been you doing with that first agent, and what have been you attempting to attain, and so forth. This may be fairly tough in case you don’t have a recap or comparable, however that is the place the recap function in Claude Code could be very helpful.
The recap function, as you possibly can 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 attempting to attain. You may merely learn that textual content, and you’ll shortly decide up on the context once more and be capable of work together together with your agent.
New tabs or break up panes

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 means that you can 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 possibly can press Command+D in your Mac, and it’ll break up the present view horizontally so that you’ve got two terminals you might be engaged on. That is tremendous highly effective as a result of it means that you can shortly have an summary of two brokers on the similar time, which I discover very helpful.
There are in all probability quite a lot of suppliers of terminals and different coding brokers arrange that will let you have this break up pane setup, however I extremely advocate that you just discover one which works effectively for you.
Moreover, the best way I wish to work is that I’ve one new tab if I’m working in several 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 enables me to shortly get an summary of my coding brokers working in several repositories.
Conclusion
On this article, I’ve mentioned how you can preserve an summary of parallel coding periods. I focus on completely different methods that I apply to successfully run quite a lot of brokers in parallel and nonetheless preserve 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 need to simply instantly begin engaged on mastering the artwork of working with coding brokers in parallel and managing quite a lot of them, as I imagine this will probably be an extremely essential ability sooner or later if you’re working as a programmer.
👉 My free eBook and Webinar:
🚀 10x Your Engineering with LLMs (Free 3-Day Email Course)
📚 Get my free Vision Language Models ebook
💻 My webinar on Vision Language Models
👉 Discover me on socials:
💌 Substack

