A sprint run by people and agents
For engineers
One two-week sprint where agents take tickets, a lead agent splits a migration among workers and people review, own and track it all.
The one-sentence idea: a sprint run by people and agents works when people choose which work agents get, brief each agent with clear limits, check what comes back against the ticket and the run log, and keep every change owned by a named person, so that agent output never grows faster than the team's ability to review it.
The case
Northwind builds a payments API. Sprint 14 is two weeks long and holds 30 tickets. The team is Priya (tech lead), Marcus, Lena and Tom (engineers) and Sara (QA). They use two kinds of agent. The GitHub Copilot cloud agent takes small tickets and opens pull requests. A lead agent built on Claude Code, with worker agents as subagents, will migrate 40 endpoints from version 1 to version 2 of the payments SDK. Other tools such as Codex, Devin or Cursor would raise the same questions.
This case joins three skills. Teams with AI agents covers which tickets agents get, how their pull requests are reviewed and how the board shows them. Orchestrating a lead agent and worker agents covers how the migration is split and merged. Managing people and agents covers briefs, run logs, review cadence and accountability.
Step by step
- Sort the backlog. Agent-ready tickets have a clear spec, sample data and tests. Pair-with-agent tickets are exploratory and need a person steering. Human-only tickets contain an undecided rule, such as the refund policy for split payments. Rewrite each agent-ready ticket as a brief with scope, inputs, allowed files, acceptance criteria and a stop rule.
- Size the sprint to review capacity. If four people can carefully review about 20 pull requests in the sprint and humans will write 10, the agents get about 10, not 25. Production is cheap, review is not.
- Split the migration without overlap. The lead agent gives each worker its own folder. Shared files, such as a helper module, are changed by the lead first or by one named worker. Every worker brief states the files it owns, the format of its report and when to stop, for example after three failed fixes.
- Merge with evidence. The lead agent combines the worker reports and lists open items. A claim that no worker verified, such as a test that was skipped, goes into the report as unverified, not as done. When two workers disagree, the lead checks the docs or runs a call.
- Review the deliverables. The reviewer reads the pull request against the ticket's acceptance criteria and then reads the run log. The questions are: did it do only what the brief allowed, did it guess where it should have asked, and did it run the checks it claims?
- Show it on the board. Every agent card carries an agent label, a named human owner, a status and a human reviewer. Rework and cost sit beside it, so a card with five returned pull requests gets a conversation.
- Set the cadence. Review follows the harm an error can do. Anything that moves money is approved before it takes effect. A queue-labelling agent is sampled daily. A drafting agent is read before publishing.
Before and after
Weak: "Add currency to the invoice export. If it is missing, use the account default." The agent obeys, the tests pass and the exports mislabel money.
Better: "Add currency to the export. If currency is missing, fail the row and report the invoice id. Only edit src/export/invoice.ts and its test. Stop after three failed attempts and say what failed." Now the agent has a checkable rule, a scope and a stop.
What goes wrong
- Review becomes the bottleneck and then a rubber stamp. When 35 pull requests meet a capacity of 20, the last 15 get a glance. Cap agent work to what people can check.
- Confident summaries stand in for evidence. An agent writes "latency improved" when the staging benchmark never ran. Read the run log and test the claim.
- Nobody owns the mistake. "The agent did it" is not an owner. The person who delegated answers for the change, and the fix is a process control such as approval before refunds, not only a different model.
- Workers collide. Two workers edit one shared file and one result silently overwrites the other. Give each file one owner.
Steps
Sort the backlog and write agent briefs
Skill: delivery-agents-in-team
Split the 30 tickets into agent-ready (clear spec, sample, tests), pair-with-agent and human-only. Rewrite each agent-ready ticket as a brief: scope, inputs, files it may touch, acceptance criteria and a stop rule. The refund redesign stays with people until finance decides the rules.
Backlog sort for sprint 14 Ticket Class Reason NP-224 export currency Agent-ready Spec, sample file and tests exist NP-231 slow checkout Pair with agent No repro, needs a person steering NP-219 split refunds Human only Business rule undecided Cap agent work at review capacity
Skill: delivery-agents-in-team
Count the reviews the team can do carefully, subtract the human pull requests and give agents the rest. Writing the number into the sprint plan makes the trade-off visible when someone proposes more agent tickets.
Capacity check Goal: Fit review to people
- Review capacity: 4 reviewers x 5 = 20 reviews
- Human PRs: 10
- Agent PRs allowed: about 10
- Anything beyond that waits for next sprint
Split the migration into non-overlapping worker briefs
The lead agent assigns folders, not topics. Each worker brief names its files, the report format and a stop rule. Shared helpers are edited once, by the lead, before workers start.
Worker brief - user
Migrate src/api/orders/ (12 files) from payments SDK v1 to v2. Use only src/api/orders/ and tests/orders/. Return the list of files changed and the test output. Stop after tests pass or after 3 failed fixes, and report what failed.
- user
Merge worker reports and flag what nobody verified
The lead agent lists, per worker, what ran and what did not. Skipped or unrun tests go into the report as open items. Contradictions between workers are settled by reading the docs or running a call, not by choosing a story.
Review the pull request and the run log
Compare the pull request with the acceptance criteria, then read the run log for steps beyond the brief: guesses where it should have asked, edits outside the allowed files, disabled checks. Return it with the exact line and criterion, accept it, or discard it if the approach is wrong.
Show owners, status and cost on the board
Skill: delivery-agents-in-team
Every agent card has an agent label, a human owner, a reviewer, a status and the number of returned pull requests. A card with many returns and high spend is a signal to rewrite the brief or take the work back.
Set cadence and own the errors
Review before action for money, daily samples for queues, a read before publishing for drafts. When an agent errs, the person who delegated answers, and the post-incident fix is a process control.
Skills this scenario uses
Where to study
- About GitHub Copilot cloud agent (opens in a new tab)DocsFree
How an agent takes an issue, works in the background and opens a pull request for human review.
- How we built our multi-agent research system (Anthropic) (opens in a new tab)ArticleFree
Lead agent and worker design, worker briefs and why multi-agent runs cost more tokens.
- Building effective agents (Anthropic) (opens in a new tab)ArticleFree
Patterns for orchestrator-worker setups and when added complexity is worth it.
- Orchestrating multiple agents (OpenAI Agents SDK) (opens in a new tab)DocsFree
Handoffs versus agents used as tools, with code.
- Subagents in the SDK (Claude Agent SDK docs) (opens in a new tab)DocsFree
How subagents get their own context, tools and instructions.