Agile guide · Agile practices
Agile Swarming: What It Is, When to Swarm and How
Agile swarming is when several members of a team work together on the same backlog item until it is finished, instead of each person starting a separate item. It cuts the number of items in progress, so each one reaches Done sooner and fewer are left half-finished at the end of a Sprint. This guide explains where the practice comes from, why it works, when it does not, how to run it day to day and what the trade-off looks like in numbers.
Key takeaways
- Swarming means two or more people finishing one item together before anyone starts another; the question at the board changes from "what can I start?" to "what can we finish?".
- It is a team practice, not a framework rule: the 2020 Scrum Guide and the 2025 Kanban Guide never mention it, but both leave the Developers or Kanban system members free to organise their work this way.
- It works through Little's Law: with fewer items in progress and throughput roughly held, average cycle time falls, feedback arrives earlier and the risk of ending a Sprint with nothing Done falls.
- Swarming has a cost. Extra people on one item add coordination, so it pays only when the item can be split, the team has overlapping skills and the alternative is waiting, handoffs or unfinished work.
- Most items suit a swarm of two to four people; mobbing puts the whole team on one task, and intelligent swarming in customer support is a different practice that shares the name.
What is agile swarming?
Agile swarming is a way of working in which two or more members of an Agile team focus on the same backlog item at the same time, splitting its tasks between them, until the item meets the Definition of Done. The aim is to finish work in order of priority, rather than to keep every individual busy on an item of their own.
One of the clearest statements of the idea comes from the Scrum Patterns community. Its pattern Swarming: One-Piece Continuous Flow (pattern 25 in *A Scrum Book* by Jeff Sutherland and James O. Coplien, 2019) puts the problem and the response in two lines: working on too many things at once reduces velocity and quality, so the whole team should work together on one Product Backlog Item at a time. Many teams treat "the whole team" as the far end of a range and swarm with a sub-group of two to four people.
Neither of the main framework guides requires swarming. The 2020 Scrum Guide does not use the word, but it makes the practice possible: Scrum Teams are self-managing, meaning "they internally decide who does what, when, and how", and "the Sprint Backlog is a plan by and for the Developers". The Kanban Guide (edition 2025.5) does not mention swarming either; it requires Kanban system members to "explicitly control the number of work items in a workflow" and notes that controlling WIP "often improves the Kanban system members' collective focus, commitment, and collaboration". Swarming is one common way teams act on that.
So treat swarming as a technique you choose, like pair programming or planning poker, not as an obligation. The overview of Scrum techniques shows where it sits among the other practices teams add to Scrum.
Why swarming works
Swarming improves delivery through four separate mechanisms. It helps to know which one you are relying on, because each has different conditions.
| Mechanism | What happens | Condition for it to work |
|---|---|---|
| Less work in progress | Fewer items are open at once, so by Little's Law each spends less time in progress | Throughput does not fall by as much as WIP does |
| Earlier Done | Items finish one after another through the Sprint instead of all near the end | The item can be split into tasks people can do in parallel |
| Fewer handoffs and queues | Review, testing and fixes happen inside the swarm instead of waiting for someone who is busy with their own item | The swarm includes, or can borrow, the skills the item needs |
| Shared knowledge | More than one person understands each piece of work, which reduces key-person risk | Members actually work on unfamiliar parts, not just watch |
The Little's Law view
Little's Law states that, for a reasonably stable system, average cycle time = average WIP ÷ average throughput. WIP is counted in items, throughput in items per day and cycle time in days. If six Developers each work on their own item, WIP is six. If they work in three pairs, WIP is three. Provided throughput stays roughly level, halving WIP roughly halves the time each item spends in progress. Our guide to WIP limits explains the law and its conditions in more detail.
The proviso matters. Two people rarely finish an item in exactly half the time, so swarming usually costs a little raw capacity. It still pays when the time saved on waiting, rework and context switching is larger than the coordination overhead. The worked example below puts numbers on that trade.
Swarming vs pairing, mobbing and intelligent swarming
Several collaborative practices sound similar. They differ in how many people are involved and whether those people work on one task or on several tasks within one item.
| Practice | Who | Unit of work | Typical use |
|---|---|---|---|
| Pair programming (pairing) | Two people | One task, one keyboard, roles swapped regularly | Complex code, reviews built in, onboarding |
| Swarming | Two or more people, often two to four | One backlog item, split into parallel tasks | Finishing the top item, clearing a blocker, cutting WIP |
| Mob or ensemble programming | The whole team | One task, one screen, rotating who types | Hard design problems, spreading knowledge fast |
| Incident swarming | Whoever has the skills, pulled in at once | One live incident | Restoring a service; see Agile for IT operations |
| Intelligent Swarming (customer support) | Support analysts across the organisation | One customer case, routed to the people best placed to help | Replacing tiered escalation in service desks |
Mob programming was described by Woody Zuill in an Agile2014 experience report as the whole team working "on the same thing, at the same time, in the same space" and on the same computer. Swarming is looser: people in a swarm usually work on different tasks of the same item and integrate their work frequently, and they may pair or mob on the hardest part.
Intelligent Swarming is a service mark of the Consortium for Service Innovation and refers to a support model that removes tiers of escalation and brings together a "swarm" of analysts on a customer issue. It shares the principle of collaborating on one problem, but it is a service-management practice, not a backlog practice.
When to swarm and when not to
Whether to swarm is a decision about one item at one moment, not a permanent team setting. Use these rules to decide.
| Situation | Swarm? | Why |
|---|---|---|
| The top-priority item is at risk of missing the Sprint | Yes | Concentrating effort protects the Sprint Goal |
| An item is blocked and needs several skills to unblock it | Yes | Parallel diagnosis is faster than passing the problem along |
| The board shows more items in progress than people | Yes | WIP is already too high; finish before starting |
| A production incident is open | Yes, with a named incident lead | Restoring service outweighs planned work |
| A column has hit its WIP limit and the next stage is idle | Yes, on the bottleneck | Help clear the constraint instead of starting new work |
| The item is small (under about a day of effort) | Usually no | Coordination costs more than it saves |
| The work cannot be split, such as one person's research spike | No, or pair at most | Extra people would queue behind one task |
| Swarm members lack the skills the item needs | Only if learning is the goal | Pairing to build skills is useful, but say so and expect slower delivery |
| The team swarms on everything, every day | Review | Some items are better done by one focused person; agree a default |
Two warnings apply in every case. First, Brooks's law (from Fred Brooks's *The Mythical Man-Month*, 1975) observes that adding people to a late software project makes it later, because newcomers need time and the number of communication paths grows. Swarming avoids most of that because the people already know the product, but a swarm that is too large on an item that cannot be split will still slow down. Second, swarming is not an emergency-only tool. Teams that swarm only in crises never build the habits, shared code ownership and T-shaped skills that make it effective.
How to swarm, step by step
- Order the Sprint Backlog for flow. At Sprint Planning, agree which items matter most to the Sprint Goal and plan to finish them in that order, rather than assigning one item per person.
- Split each item into tasks people can do in parallel. For example, API change, user interface, test automation and documentation. If an item cannot be split, it is a candidate for pairing rather than swarming.
- Set a limit on items in progress. For a team that swarms in pairs, that means about half as many open items as Developers. Make the limit visible on the board; the Kanban board template has WIP-limited columns you can adapt.
- Agree who is the item's point of contact. One person keeps the item's overall picture and integrates the pieces. This is not a manager; it is whoever knows the item best, and it can rotate.
- Integrate often. Merge, test and review small pieces several times a day so that parallel work does not turn into a painful integration at the end.
- Pair or mob on the hardest part. When one task is the critical one, put two people on it rather than leaving it to whoever started it.
- Finish, then pull. When the item is Done, the swarm moves to the next item in priority order. Nobody starts a new item while the current one still needs help.
- Inspect it at the Sprint Retrospective. Check items Done, carry-over and cycle time against previous Sprints, and adjust the WIP limit or swarm size. The Sprint Retrospective is the natural place for that review.
How many people should swarm on one item?
There is no formula, but a useful rule is: as many people as there are tasks that can be done in parallel without waiting for one another, and no more than about four. Every extra person adds communication paths: two people have one, three have three, four have six. If two people in the swarm are regularly waiting for the same file, environment or decision, the swarm is too big for that item. For a team of seven, two or three swarms running at once is a common pattern.
A Daily Scrum that encourages swarming
The 2020 Scrum Guide lets the Developers "select whatever structure and techniques they want" for the Daily Scrum, as long as it focuses on progress towards the Sprint Goal. Many swarming teams walk the board from right to left: start with the item closest to Done, ask what it needs to finish today and who can help, and only then move to items further left. That ordering makes unfinished work visible before anyone mentions starting something new. Replace "what will you do today?" with "what can we finish today, and what is in the way?".
Worked example: the same Sprint planned three ways
This example is illustrative, and the speed-up figures are assumptions chosen to show the trade-off, not research findings. A team of six Developers works in two-week Sprints of 10 working days. Its Sprint Backlog holds six items, each estimated at 8 person-days of effort. The team compares three plans: one item per person, three swarms of two, and two swarms of three.
The formula
Item duration D = E ÷ s(k)
- D is the elapsed time to finish one item, in working days.
- E is the item's effort, in person-days (8 in the base case).
- k is the number of people working on the item.
- s(k) is the speed-up from k people, a dimensionless factor. Perfect parallel work would make s(k) equal to k; in practice coordination makes it lower. The example assumes s(1) = 1.0, s(2) = 1.8 and s(3) = 2.4, so a pair loses 10% to coordination and a trio 20%.
Substituting for a pair: D = 8 ÷ 1.8 = 4.44 working days. For a trio: D = 8 ÷ 2.4 = 3.33 working days. For one person: D = 8 ÷ 1.0 = 8 working days. Each swarm then works through its items one after another.
Results when the estimates are right
| Plan | Items in progress (WIP) | Days to finish each item | Items Done by day 5 | Last item Done on day | Average cycle time (days) | Throughput (items/day) |
|---|---|---|---|---|---|---|
| One item per person | 6 | 8.00 | 0 | 8.00 | 8.00 | 0.750 |
| Three swarms of two | 3 | 4.44 | 3 | 8.89 | 4.44 | 0.675 |
| Two swarms of three | 2 | 3.33 | 2 | 10.00 | 3.33 | 0.600 |
The Little's Law cross-check holds for each plan: 6 ÷ 0.750 = 8.00 days, 3 ÷ 0.675 = 4.44 days and 2 ÷ 0.600 = 3.33 days. Throughput here is six items divided by the day the last item finishes.
Read the table honestly. On these assumptions, one item per person finishes all six items earliest, on day 8, because nobody loses time to coordination. Pairs finish on day 8.89 and trios exactly on day 10, with no margin left. What swarming buys is earlier Done: pairs have three items finished by day 5, which the Product Owner can review with stakeholders or release, while the solo plan has nothing Done until day 8.
Results when every item overruns by 30%
Estimates are rarely exact. Suppose every item turns out to need 10.4 person-days (8 × 1.3) instead of 8.
| Plan | Days to finish each item | Items Done by day 10 | Items carried over |
|---|---|---|---|
| One item per person | 10.40 | 0 | 6 |
| Three swarms of two | 5.78 | 3 | 3 |
| Two swarms of three | 4.33 | 4 | 2 |
Now the picture reverses. With one item per person, every item is 96% complete at the end of the Sprint and none meets the Definition of Done, so the Increment contains nothing from this Sprint. Pairs deliver three items and trios four. This is the main practical argument for swarming: it turns a risk of "everything almost done" into "most things done, a few not started".
Adding handoffs to the solo plan
The base model leaves out waiting. In many teams, a solo item cannot be Done until a colleague reviews and tests it, and that colleague is busy with their own item. If each solo item waits an average of 1.5 working days for that review (an assumption), the solo plan finishes on day 9.5 instead of day 8, and its throughput drops to 6 ÷ 9.5 = 0.632 items per day. The pairs, who review inside the swarm, now finish both earlier on average and faster overall (0.675 items per day).
What the team should do with this
- If the team's items are well estimated, independent and rarely wait for others, swarming mainly improves predictability and early feedback; use pairs on the top items rather than swarming everything.
- If items often overrun, wait for review or testing, or end the Sprint unfinished, swarming in pairs or trios is likely to raise the number of items Done; start with a WIP limit of three for a six-person team.
- Measure your own speed-up: compare the cycle time of items done by pairs with similar items done alone over two or three Sprints, rather than relying on the 1.8 and 2.4 assumed here.
Limitations of the model: it treats all items as equal in size and value, applies the same overrun to every item, ignores context switching (which would favour swarming further) and assumes speed-up factors that will differ by team and by type of work.
Swarming in Kanban
Kanban teams have no Sprints, so the trigger for swarming is the board rather than the calendar. Three signals are common.
- A WIP limit is reached. When a column is full, people who would otherwise pull new work help to finish items in that column. This is exactly the behaviour WIP limits are meant to cause.
- An item is ageing. The Kanban Guide asks teams to make sure work items "do not age unnecessarily", using their service level expectation as a reference. A WIP aging chart shows which items are getting old; swarm on the oldest first. The guide to flow efficiency explains why waiting time is usually the larger share of cycle time.
- An expedite item arrives. Teams that use an expedite lane agree in advance who drops what to swarm on it; see Kanban swimlanes.
Swarming also has a place in the Theory of Constraints: when one stage is the bottleneck, people from other stages swarm on it to exploit the constraint before anyone argues for more capacity. Track the effect through cycle time and throughput, not through how busy people look.
Swarming with remote and hybrid teams
Remote teams can swarm, but the informal cues of a shared room disappear, so coordination has to be explicit: a dedicated channel or video room for each swarmed item, each person's name on their task on the board, and screen sharing or a collaborative editor for the hardest part (in effect, remote pairing or mobbing). Overlapping hours are the real constraint. As a rule of thumb, a swarm spread across time zones with only two or three hours of shared working time usually works better as a hand-over chain, with each person integrating and updating the item's status before signing off.
How to tell whether swarming is helping
Judge swarming by flow and outcomes, not by individual utilisation. Compare at least three Sprints, or four to six weeks of Kanban data, before and after you change the way you work.
| Measure | What to look for | Caution |
|---|---|---|
| Items in progress per Developer | Below 1, for example 0.5 for a team swarming in pairs | A low number with nothing finishing means items are stuck, not swarmed |
| Average and 85th-percentile cycle time | Falling | Compare similar item sizes |
| Items Done per Sprint and carry-over | Carry-over falling, Done stable or rising | A drop in Done may mean the swarms are too large |
| Day of the Sprint the first item is Done | Earlier | Easy to track on a burn-up or board |
| Work item age of the oldest item | Lower peaks | Use a WIP aging chart |
| Key-person risk | More skills rated 3 or above by two or more people | Rate it with a skills matrix template twice a year |
See Agile metrics and KPIs for a wider set of measures and how to report them to stakeholders.
Who does what when a team swarms
- Developers decide whether and how to swarm, as part of managing their own Sprint Backlog. Nobody outside the team should assign people to swarms.
- The Scrum Master coaches the team on limiting WIP, helps it notice items that are ageing and removes impediments such as environments that only one person can use. See the Scrum Master role.
- The Product Owner orders the Product Backlog and makes the value of each item clear, so the team knows which item to swarm on first. The Product Owner does not decide who works on what.
- Managers shape the conditions: performance reviews and targets that reward individual output, or utilisation reports that treat an idle-looking person as a problem, discourage swarming. How to manage Agile teams explains how to measure team rather than individual performance.
Swarming also depends on overlapping skills. A team in which each person can work in only one specialism will struggle to swarm, so this is a team-design question as much as a habit: Agile team structures explains how T-shaped composition and feature-team boundaries make it possible, and what an Agile team is covers the basics of cross-functional teams.
Common swarming mistakes
| Mistake | What it looks like | Fix |
|---|---|---|
| Swarm too large for the item | People wait for each other or duplicate work | Cap the swarm at the number of parallel tasks; move spare people to the next item |
| Swarming only in emergencies | The team reverts to one item each as soon as the crisis ends | Make a WIP limit part of normal working and review it at each retrospective |
| No shared finish line | Each person finishes their task, but the item is still not Done | Agree the Definition of Done and acceptance criteria before splitting the item |
| Spectators instead of contributors | One expert does the work while others watch | Give each person a task, or switch to explicit pairing with swapped roles |
| Late integration | Parallel pieces collide on the last day | Integrate and test several times a day |
| Measuring individual utilisation | People avoid swarming because it looks less productive | Report items Done and cycle time at team level |
| Starting new work 'just in case' | New items appear while older ones are ageing | Walk the board right to left and agree to help before pulling |
The Sprint Backlog guide covers how Developers plan and adapt their work during the Sprint, which is where most swarming decisions are made.
Free templates for this topic
Frequently asked questions
What is swarming in Agile?
Swarming is when two or more members of an Agile team work together on the same backlog item, splitting its tasks between them, until it meets the Definition of Done, instead of each person working on a separate item. It reduces work in progress so items finish sooner.
Is swarming part of Scrum?
No. The 2020 Scrum Guide does not mention swarming. It is a technique teams choose. Scrum makes it possible because the Developers are self-managing and own the Sprint Backlog, so they decide who works on what.
What is the difference between swarming and mobbing?
In swarming, a sub-group of the team works on different tasks within one backlog item at the same time. In mob or ensemble programming, the whole team works on one task together at one screen, rotating who types. A swarm may mob on its hardest task.
What is the difference between swarming and pair programming?
Pair programming is two people sharing one task at one keyboard. Swarming involves two or more people working in parallel on several tasks of one item. Pairs are often used inside a swarm for the most complex task.
How many people should swarm on one item?
As many as there are tasks that can proceed in parallel without waiting for each other, usually two to four. If swarm members regularly wait for the same file, environment or decision, the swarm is too large for that item.
Does swarming reduce productivity?
It can reduce raw output slightly, because coordination takes time. It usually increases the number of items Done when work would otherwise wait for reviews, testing or specialists, and it sharply reduces the risk of ending a Sprint with many items almost finished.
When should a team not swarm?
Avoid swarming on very small items, work that cannot be split such as a single research spike, or items where the extra people lack the needed skills and learning is not the goal. In those cases, one person or a pair is usually faster.
How do WIP limits relate to swarming?
WIP limits create the trigger for swarming. When a column or the whole board is at its limit, people help finish existing items instead of starting new ones. Swarming is the behaviour; the WIP limit is the policy that makes it routine.
Does swarming work for remote teams?
Yes, if coordination is explicit: a dedicated channel or video room per item, names on tasks on the board, screen sharing for the hardest part and enough overlapping working hours. Across wide time zones, a well-documented hand-over chain may work better.
What is Intelligent Swarming?
Intelligent Swarming is a customer support model from the Consortium for Service Innovation. It replaces tiered escalation by bringing the people best placed to help together on a customer case. It shares the collaborative idea but is separate from swarming on backlog items.