Working the coding brokers sequentially as a substitute of a number of parallel runs incurs losses. One of many fundamental advantages of coding brokers is that they’ll full work in parallel that was beforehand not attainable when engaged on software program engineering duties.
Nonetheless, when you begin operating many coding classes in parallel, it typically turns into troublesome to maintain monitor. Getting a fast overview of all operating classes, and rapidly catching up on the dialog if you return to a session, requires particular methods.
Why is it troublesome to run coding brokers in parallel?
First, I wish to clarify why it’s troublesome to run coding brokers in parallel. To a sure extent, that is self-explanatory. Earlier than LLM, software program engineers and programmers naturally solely labored on one process at a time. The rationale was easy: trying to multitask in software program engineering duties would solely make you much less environment friendly. It is because software program engineering duties are sometimes extra advanced and require better consideration to element. Making an attempt to do different issues on the similar time can cut back efficiency on all duties.
Nonetheless, the sport has modified fairly a bit because you now not write all of the code your self. You should not be writing all of the code your self anymore, at the very least in my view, as a result of a coding agent ought to be writing the code for you. Programmers should act as managers of coding brokers quite than writing code themselves.
Nonetheless, in case you are a supervisor of coding brokers, you clearly need to cope with coding brokers who carry out a wide range of duties. Working duties in parallel requires that the duties will not be interconnected by their very nature. This once more causes the identical challenges as earlier than. This implies you want to have the ability to work on programming duties in parallel and preserve a number of context in your working reminiscence, for instance:
- Reply each query the coding agent asks.
- After you full your coding agent implementation, check it. It’s good to know what to check, the best way to check it, and the way to make sure that your coding agent carried out as anticipated.
Learn how to effectively run giant numbers of coding brokers in parallel
This part describes some particular methods that I take advantage of and apply day by day to successfully run giant numbers of parallel coding brokers.
Agent view in Claude code

A more practical approach that you could apply to simply get a extra complete overview of your brokers is to make use of agent views. For instance, the agent view accessible in Claude Code. Many suppliers have other ways of presenting this. I do know that Warp, the terminal, additionally just lately launched a brand new solution to show completely different brokers.
The good thing about agent view is that you do not have to view every dialog with an agent full display, as you possibly can see within the picture above. This can merely be one line and you may press Enter in order for you extra info. In any other case, it’s going to merely be a process that runs within the background and will likely be prompted for enter every time any of the load classes require enter from the consumer.
I believe it is a very efficient methodology as a result of it makes it simple to run completely different coding classes directly with out complicated which brokers are operating, which of them require enter, and so forth. You may activate agent view in Claude Code utilizing:
claude brokers
Ship alerts when coding brokers require enter

One other necessary factor is that you simply obtain an alert each time your coding agent wants your enter. In fact, you can even use agent mode, as this may clearly mark every time the coding agent requires enter from the consumer. Nonetheless, should you do not just like the agent view or wish to use a unique view, you might have an alternative choice.
Within the picture above you possibly can see completely different Claude code classes operating in several terminal tabs. If enter is required, the tab will show a star between the tab title and the Claude Code icon. This can be a very simple solution to see which terminal tabs you should do one thing with and which tabs are operating within the background.
One other factor you are able to do is obtain an audio sign every time your agent wants enter. This may be carried out, for instance, with the assistance of hooks within the Claude code, which is a course of that runs at a selected cut-off date. For instance, you possibly can set off a hook each time Claude requires enter from the consumer. You may also join this hook to an audio sign that’s performed and it’ll notify you when one among your coding brokers wants enter.
Allow summarization

Recaps are one other very highly effective characteristic that can be utilized to successfully run giant numbers of parallel coding brokers. A standard drawback when operating a lot of brokers is that it’s obscure the context of a specific agent.
Once more, as an example we’ve got 5 brokers operating in parallel. Take care of Agent 1 first, inform it what to do, then begin Brokers 2, 3, 4, and 5. By that time, it is in all probability been 10 minutes or extra because you interacted with the primary agent, and you should rapidly perceive the context once more, together with what the primary agent was doing and what you had been making an attempt to perform. This may be very troublesome if you do not have summaries or something like that, however that is the place Claude Code’s summarization characteristic is available in very helpful.
As you possibly can see within the picture above, the abstract characteristic is simply textual content straight above the consumer’s enter subject. This thread summarizes what I used to be doing and what I used to be making an attempt to perform. Simply by studying that textual content, you can re-understand it and work together with brokers very quickly.
New tab or cut up pane

The final approach I wish to cowl on this article is new tab or cut up pane. When utilizing a coding agent, we extremely suggest utilizing a terminal view or different platform that lets you cut up panes.
The picture above exhibits an instance of cut up panes. When you’re working in a Warp terminal, urgent Command+D in your Mac will cut up your present view horizontally, permitting you to work in two terminals. I discover this very highly effective and really helpful as a result of it offers you a fast overview of two brokers on the similar time.
There are in all probability many suppliers of terminals and different coding brokers that will let you arrange this cut up pane, however we extremely suggest discovering the correct supplier for you.
Moreover, my most well-liked manner of working is to create one new tab when working in several folders. That’s, use one tab for every folder. In case you are working with a number of brokers inside that folder, cut up the pane.
This offers you a fast overview of coding brokers working with completely different repositories.
conclusion
On this article, you realized the best way to get an outline of your parallel coding classes. Find out about numerous methods you possibly can apply to successfully run many brokers in parallel and preserve an outline of all of them. I consider the way forward for programmers is to turn out to be coding agent orchestrators. You turn out to be the supervisor of an AI agent. Begin working as we speak on mastering the artwork of working with coding brokers in parallel and managing giant numbers of brokers. I consider this will likely be an important talent sooner or later in case you are working as a programmer.
👋 contact
👉 My free e-books and webinars:
🚀 10x your engineering with an LLM (free 3-day email course)
📚 Get your free Vision Language Models eBook
💻 My webinar on visual language models
👉 Discover me on social:
💌 substack

