Agile Workflows: Scrum and Kanban Integration
PLScrum and Kanban still work when coding agents write most of the code, but the bottleneck moves from typing to specifying and verifying. Refinement turns stories into acceptance criteria an agent can be checked against, sprint planning budgets review capacity instead of implementation hours, a Kanban WIP limit sits on evidence review, and merged pull requests feed the sprint review.
This page is for the tech lead or Scrum Master who runs the ceremonies, and for the developers on the team. The typical situation: the team adopted Claude Code, Codex, or Cursor two sprints ago. Implementation now finishes by Wednesday, yet the burndown flattens because nine pull requests wait for review, two stories came back as “done but not what we meant”, and the sprint review is a scroll through a merge log.
What you’ll walk away with from agent-aware Scrum and Kanban
Section titled “What you’ll walk away with from agent-aware Scrum and Kanban”- A ceremony-by-ceremony map of what the agent drafts, what humans decide, and which evidence closes each step.
- Board connections for Linear and Jira in Claude Code, Codex, and Cursor, with commands checked against the installed CLIs.
- Five copy-paste prompts: story refinement, sprint-capacity check, card-to-plan, sprint-review draft, and retrospective flow data.
- A Definition of Done you can adopt as-is, so a story is accepted on evidence rather than on someone reading the diff.
- The failure modes of agile-with-agents, each with a recovery step.
What changes in each Scrum and Kanban ceremony?
Section titled “What changes in each Scrum and Kanban ceremony?”The ceremonies stay. What moves is the scarce resource: when an agent implements a story in an hour, the constraint becomes how fast the team can say precisely what it wants and prove that it got it. DORA’s AI Capabilities Model names “working in small batches” as one of its seven capabilities (Kevin M. Storer and Derek DeBellis, Google Cloud blog, 2025-09-23); as Nathen Harvey and Allison Park put it, “AI can easily generate massive blocks of code, which are hard to review and test” (Google Cloud blog, 2025-12-10).
| Ceremony or flow step | The agent drafts | Humans decide | Evidence that closes it |
|---|---|---|---|
| Backlog refinement | Acceptance criteria, slices, open questions | Scope, priority, which questions block “ready” | Every criterion names the check that proves it |
| Sprint planning | Capacity check, dependency order | Sprint goal and commitment | Review hours fit the team’s review capacity |
| Daily work (Kanban flow) | Implementation, tests, board comments | Who reviews what, when to stop a run | CI green and the evidence bundle attached to the PR |
| Sprint review | Changelog and demo script from merged PRs | What to show, what the product owner accepts | Acceptance tests passing on the release branch |
| Retrospective | Cycle-time and bounce data per lane | What to change next sprint | A number, not a feeling |
Which tickets an agent may take at all, and under how much supervision, is a separate decision covered in shaping a backlog for agents. This page assumes that triage exists and focuses on the ceremonies around it.
Connect the board to your agent
Section titled “Connect the board to your agent”Every prompt below works with pasted ticket text. Connecting the tracker over MCP removes the copy-paste and lets the agent read linked issues and post comments itself. Both Linear and Atlassian run official remote MCP servers over HTTP with OAuth: there is no npm package to install, and the server URLs are the same in every tool. Atlassian recommends https://mcp.atlassian.com/v2/mcp for new setups; the old /v1/sse endpoint stopped being supported after 30 June 2026.
# Terminal, from the repository root (Claude Code 2.1.283)claude mcp add --transport http linear https://mcp.linear.app/mcpclaude mcp add --transport http atlassian https://mcp.atlassian.com/v2/mcpThen run /mcp in a session to finish the OAuth sign-in. The default scope is local (this project, only you); add --scope project to share the entry through .mcp.json. Atlassian also ships as a plugin with ready-made skills such as spec-to-backlog: claude plugin install atlassian@claude-plugins-official.
# Terminal (Codex CLI 0.157.1)codex mcp add linear --url https://mcp.linear.app/mcpcodex mcp login linearcodex mcp add atlassian --url https://mcp.atlassian.com/v2/mcpcodex mcp login atlassianCodex also has a native Linear integration: you can assign an issue to Codex or mention @Codex in Linear (checked 2026-10-12). Its curated atlassian-rovo plugin still points at the older /v1/mcp/authv2 endpoint (read 2026-09-26), so prefer the direct v2 line above.
Add both servers under mcpServers in .cursor/mcp.json and sign in when Cursor prompts:
{ "mcpServers": { "linear": { "url": "https://mcp.linear.app/mcp" }, "atlassian": { "url": "https://mcp.atlassian.com/v2/mcp" } }}Cursor’s marketplace also lists an Atlassian plugin. Per-server scopes and the full tool lists are on Jira and Linear MCP integration and Atlassian MCP.
Refine stories until an agent can be checked against them
Section titled “Refine stories until an agent can be checked against them”Refinement is where agile-with-agents is won or lost. A story that a human developer could interpret sensibly is not enough: the agent will pick one interpretation and make every check it can see pass. The output of refinement is therefore acceptance criteria that each map to a check, slices small enough that one check proves each, and a list of questions only a human can answer. Run this prompt before the refinement meeting, not during it, so the meeting spends its time on the questions.
Two outputs matter most. A criterion marked “NO CHECK POSSIBLE” means the story is not ready for an agent, whatever its size. A BLOCKING question goes to the product owner, not to the agent’s best guess. How to turn the criteria into failing tests the agent cannot edit is on executable acceptance criteria; the wider spec discipline is on spec-driven development.
Plan the sprint to review capacity, not typing speed
Section titled “Plan the sprint to review capacity, not typing speed”Story points measured how long a human takes to write the code. With agents, the cost that still scales with the story is specifying it and verifying the result. Plan against that.
-
Measure review capacity. Take the last two sprints and count the agent pull requests each reviewer approved per day. That number, times reviewer-days in the sprint, is your review capacity.
-
Estimate verification, not implementation. For each slice, estimate the human time to check the evidence, run the demo path, and approve. A slice with strong automated checks costs minutes; one that needs a human to click through three screens costs an hour.
-
Commit to what fits. Pull slices into the sprint until the verification estimate reaches about 80 percent of review capacity. The remaining 20 percent absorbs rework and bounced runs; adjust it from your own retro data.
-
Order by dependency. Slices that change a shared contract (an API schema, a database table) go first, so later slices build on merged code rather than on each other’s branches.
The prompt asks for pull-request counts instead of story points on purpose. An agent that invents story points anchors the team on a number it has no basis for; a count of reviewable units is something it can derive from the slices.
Run Kanban flow with a WIP limit on evidence review
Section titled “Run Kanban flow with a WIP limit on evidence review”On a Kanban board, the agent makes “In progress” fast and fills the column after it. Make that visible:
- Split “In progress” into Agent running and Evidence review. The first tracks runs; the second tracks pull requests a human must approve.
- Put the WIP limit on Evidence review, not on “In progress”. When the column is full, nobody dispatches a new run; they review.
- Add a Needs clarification column before “Ready”. A run that stops on a question or a missing check goes there, not back to “In progress”.
Faros AI’s “AI Productivity Paradox” report (2025) found, as summarised in Faros AI’s own blog coverage (faros.ai, 2025; read via a search extract, not the report itself), that developers on high-AI teams merged about 98 percent more pull requests while pull request review time rose about 91 percent. That is the queue the WIP limit protects.
When a thin card reaches “Ready” anyway, run it through the agent before pulling it:
The last two lines are the pattern for every board write: the agent drafts, a human says “apply”, and the write is scoped to one named issue.
Who updates the board: automation in Claude Code, Codex, and Cursor
Section titled “Who updates the board: automation in Claude Code, Codex, and Cursor”The MCP connection is identical in shape across the three tools. What differs is who drives board updates once a run finishes and how that run is triggered.
Interactive sessions start in auto mode from v2.1.283 (both release channels on 2026-10-12) unless your model or settings keep Manual, so start board sessions with --permission-mode manual: every MCP call not in your allow rules then asks first. Allow-list the Linear and Atlassian read tools if you like, and keep the write tools out. For scheduled work, a routine (/schedule, research preview) can run a sprint-end prompt as a cloud session; see Claude Code routines. The scripted pattern that needs no board credentials is to draft in -p mode and let a human post the result, as in the sprint-review command below.
The native Linear integration lets the team assign an issue to Codex or mention @Codex on it (checked 2026-10-12). Assign only issues your triage marked for background work, never the whole inbox. Setup and limits are on Codex in Slack and Linear.
Automations can start Cloud Agents on Linear events as well as on a schedule (checked 2026-08-28). A trigger filtered to a “Ready for agent” status turns the board column into the dispatch switch, and a scheduled automation at the end of the sprint is a natural hook for the sprint-review draft. See Cursor Cloud Agents and Automations.
The full intake-to-pull-request automation, including the permissions an unattended run needs, is on the issue-to-PR pipeline.
Draft the sprint review from merged pull requests
Section titled “Draft the sprint review from merged pull requests”Pull the sprint’s merged pull requests into a file first, then give the agent read-only access to that file. The agent never needs a token or network access, and the input is exactly what shipped.
# Terminal, from the repository root, with the GitHub CLI signed ingh pr list --state merged --search "merged:2026-09-14..2026-09-25" \ --limit 200 --json number,title,body,labels,url > sprint-24-prs.json# -p sessions do not start in auto mode; only Read is allowed hereclaude -p "$(cat sprint-review-prompt.txt)" \ --allowedTools "Read" --output-format text > sprint-24-review.md# read-only sandbox; the final message is written to the filecodex exec -s read-only -o sprint-24-review.md "$(cat sprint-review-prompt.txt)"Paste the prompt below into the agent with sprint-24-prs.json attached, or run it from a scheduled or Linear-triggered automation.
Save this prompt as sprint-review-prompt.txt:
The “Missing evidence” list is the useful part for the review meeting: it tells the product owner which stories were merged without the proof the Definition of Done asks for.
Bring flow data to the retrospective
Section titled “Bring flow data to the retrospective”The retrospective stays a human conversation, but it should start from numbers. Ask the agent to compute them from the board rather than from memory.
The labels lane:background and lane:interactive come from the triage on shaping a backlog for agents; replace them, and the column names in the prompt, with your own. Metric definitions that hold up across sprints are on lifecycle metrics.
How do you know the sprint’s agent work is right?
Section titled “How do you know the sprint’s agent work is right?”Nobody on the team reads every line the agents wrote, so acceptance rests on evidence that machines produce and a named person checks. Adopt this Definition of Done for any story an agent implemented:
- Every acceptance criterion maps to a named test, and the tests were written and approved before implementation. They live in paths the implementing run cannot edit (protecting the oracle).
- CI is green: type check, lint, unit and acceptance tests on the merge commit.
- The pull request carries an evidence bundle: the criteria checklist with a result per line, test output, and a screenshot or recording for anything user-visible.
- An agent reviewer has run, and a human reviewed its findings and the evidence. Changes to auth, payments, migrations, or public API contracts escalate to a human code read (evidence, not diffs).
- The product owner accepts the story at the sprint review against the acceptance tests passing on the release branch, not against the demo alone.
Sign-off is split. The developer who owns the ticket approves the evidence and merges. The product owner accepts the increment. The tech lead owns the WIP limit and decides when a task class moves between lanes.
What breaks when agents join a Scrum or Kanban team?
Section titled “What breaks when agents join a Scrum or Kanban team?”Where to go next with agile and agents
Section titled “Where to go next with agile and agents”- The artifact chain: the intent, spec, plan, and task sequence each story runs through once it leaves the board.
- Executable acceptance criteria: turn refinement output into failing tests before the agent starts.
- Shaping a backlog for agents: eligibility, lanes, and a ticket template for agent work.
- Behavior-driven development workflows: Given/When/Then scenarios as executable specifications.
- The BMAD Method: agile roles run as agents, and when that ceremony overhead pays off.