Up to 59% offLaunch prices on every plan while spots last.See pricing
KANBANMCP
Sign inStart free

How to Track Agent Sessions Running in Parallel

9 min read

Key takeaways

  • Track every agent session with five fields: task, branch or worktree, diff state, test status, and a handoff note.
  • Keep the tracking record on a shared board with claim-and-handoff, not in chat logs or personal task lists.
  • Give each parallel session its own lane and worktree so agents never clobber the same branch or uncommitted work.
  • A CLAUDE.md covers standing conventions but not per-session state, and files break down with three or more concurrent sessions.
  • A ten-minute morning routine of reading handoff notes, checking per-worktree git diffs, and steering cards keeps every session accountable.

To track agent sessions, record a handoff note for every session: what the agent was doing, what changed in git, what passed or failed, and what it should pick up next. Keep that record on a shared board with claim-and-handoff, not in chat logs or personal task lists, so any session, in any tool, can resume cleanly.

What does it mean to track an agent?

Tracking an agent means three things for every session you have running: what it is working on right now, what it changed, and what it left unfinished when it stopped or hit a wall. Most solo devs running three or more parallel sessions across Claude Code, Cursor, Codex and Antigravity track none of this deliberately. The record lives in scattered chat logs, a CLAUDE.md, and whatever the agent said last. Reddit threads on agent task management keep circling the same complaint: tools like Task Warrior or backlog.md organise tasks fine, but nothing tells you where a half-finished session actually stands. A tracked session is one another agent (or you, over a morning git diff) can resume without re-reading the chat. That requires a claim on the work plus a handoff note, which is what a shared board with claim-and-handoff gives you — KanbanMCP's connect docs describe wiring agents to one board so each session leaves its state behind.

Why do parallel agent sessions lose context?

The failure mode is simple: chat sessions are disposable, and the context lives inside them. When you close a session, the reasoning behind a decision, the half-finished refactor, the "don't touch this file yet" note all vanish with it. Weeks later, the project becomes hard to recover, because nothing outside the chat holds the state.

Running three or more agent sessions in parallel makes this worse. Each session builds its own private picture of the codebase, and none of them can see what the others did. You end up as the only shared memory between them, reconstructing intent from git diffs in the morning.

The fix is separating the system of record from working memory: tasks and handoff notes live somewhere durable, chat stays disposable. That is the idea behind agent memory on a shared board, where any agent can pick up a card and read what the last one left behind.

What should you record for every agent session?

Five things: the task, the branch or worktree, the diff state, the test status, and a handoff note. Anything else is documentation for documentation's sake, as one builder put it. The record should be short enough that an agent can read it in one pass and you can scan it in the morning next to the git diff.

The handoff note fields that matter

FieldWhat to writeWhy the next agent needs it
TaskOne sentence: what was askedStops the next session re-interpreting the goal
Branch / worktreePath, e.g. ../proj-feature-authTells it where to run commands
Diff stateCommitted, staged, or dirtyPrevents a second agent committing over uncommitted work
Test statusPassing, failing, or not runDecides whether the next step is fixing or building
Handoff noteWhat's done, what's next, any traps hitThe actual reason the session can be picked up cold

Tools like Vibe Kanban track a similar set of fields on cards, which is a reasonable baseline for what belongs in a record. A CLAUDE.md covers standing rules but not per-session state; chat logs cover state but scatter it across dozens of sessions you can't search.

The handoff note is the field people skip and then regret. Write it as a note to the next agent, not a status report: "auth middleware done, tests green, signup page still uses the old form, see signup.tsx:40." That one line saves the next session ten minutes of re-reading code. A board like KanbanMCP keeps these fields on the card itself, so the note travels with the task instead of dying in a chat log.

Where should the tracking record live: chat, files, or a board?

The split that works: tasks live in one system of record, working memory lives in the session, and chat stays disposable. If a project only exists across agent chats, you cannot recover its context a week later.

Files: CLAUDE.md and backlog.md

Files are the default because agents already read them. CLAUDE.md holds conventions, backlog.md holds tasks with a web UI you can check and an interface agents can use without ceremony. The catch is concurrency: when three or more agent sessions edit the same task file, you get merge conflicts and stale claims, and the file has no idea which session is doing what right now.

Task Warrior and Obsidian

Task Warrior is fast from the CLI and keeps tasks organised across hundreds of sessions, but it is a personal list, not a shared surface an agent can claim work from. Obsidian works well as a knowledge base and turns dense fast when you use it for management. Anything more complex than tasks plus a board becomes documentation nobody revisits.

A board as the system of record

A shared board separates the system of record from working memory by design. Each card is one unit of work; an agent claims a card, does it in its own worktree, and leaves a handoff note for the next session, so you can read the git diff in the morning and steer from the same board the agents use. That is the model behind KanbanMCP and also Vibe Kanban, while file-based setups keep the record but lose the claim-and-handoff step. The honest trade-off: a board adds one more tool to keep running, and if you already maintain a backlog.md you like, the board's win is concurrency and visibility, not better task writing.

How do agents claim work without stepping on each other?

Three sessions writing to the same card is how you get duplicate work and clobbered worktrees. The fix is a claim step: an agent picks up a card, marks it as taken, and other sessions skip it. Taskmaster gives agents a task list they mark in progress, but with several parallel sessions you need the claim to be visible on a shared board, not buried in one session's state file.

Lanes and worktrees

Split work into lanes so sessions never touch the same branch. One lane per feature, one worktree per lane, one agent per worktree. The agent claims a card, checks out its lane's worktree, and works there. Because each session has its own checkout, a git diff in the morning shows exactly which lane changed what. If a session dies mid-card, the claim plus its handoff note tells the next agent where things stopped.

What the human reviews

You are the merge point. An agent finishing a card leaves a note: what it did, what it skipped, what to test. You review the diff, move the card, and steer the next claim. The handoff pattern works across tools too, so a card started in Claude Code can be picked up in Cursor; see how that works at https://kanbanmcp.com/agents/other.

How does KanbanMCP handle agent tracking?

KanbanMCP runs a claim-work-leave-a-note loop on a hosted board. An agent claims a card, does the work in its own session or worktree, and writes a handoff note on the card before it stops. The next agent, whether it is Claude Code, Cursor, Codex or Antigravity, reads that note and picks up exactly where the last one left off. You watch the same board, read the notes, and steer by moving cards or leaving comments.

Run against the criteria from earlier sections, it holds up well. The record lives outside chat, so a session dying costs you nothing. Claiming is explicit, so three parallel sessions do not grab the same task. The note-per-card format matches how you already work: a git diff in the morning plus a handoff note tells you what happened overnight.

Where is a plain file setup still fine? If you run one or two sessions on a single project, a backlog.md file and a handover prompt do the same job with fewer moving parts. KanbanMCP earns its keep once you have three or more sessions running across lanes and you stop being able to hold the state in your head.

How do the alternatives compare for tracking agents?

Run every option against the same four criteria: does the record live outside chat, can agents claim work without collisions, is there a handoff note per card, and can you review the board yourself?

Agent Kanban and Flow (FlowCollab) both describe agent-facing kanban boards where tasks move through lanes and agents pick up work, so they cover the record-outside-chat and claim criteria. Taskmaster takes a different shape: a task list your agent reads and updates from a file, which handles the record but leaves claiming to you.

Vibe Kanban is the closest direct comparison, with a board built around running coding agents in parallel.

KanbanMCP runs the same criteria honestly: the board is the record, agents claim cards and leave handoff notes, and you watch from the same board. What it does not do is manage your documents or specs, so you keep those in your existing setup.

What does a morning tracking routine look like?

Open the board first. Every card shows which agent session claimed it, when, and what the last handoff note said. You read the notes top to bottom before touching a terminal, because the notes tell you which lanes finished overnight and which stalled.

Next, check git diffs per worktree. The note says what the agent intended; the diff says what it actually did. Skim each branch, run the tests if the card moved to review, and look for work that drifted from the handoff.

Then steer. Leave a comment on a card, reassign it to a different agent, or split a card that grew too large. Anything you can't review in five minutes gets a note for the next session instead of a half-finished review.

Ten minutes, three or more sessions, and you know exactly where every agent stands.

FAQ

How do I track multiple Claude Code and Cursor sessions at the same time?

Give every session the same shared record: each one claims a card, works in its own worktree, and leaves a handoff note before stopping. Then any session, in either tool, can read what the last one did and pick up cold. Chat logs cannot do this because they are private to each session and disappear when closed.

Do I need a separate tool, or can my CLAUDE.md track agents?

A CLAUDE.md covers standing conventions, not per-session state. It also has no claim step, so three sessions editing the same file produce merge conflicts and stale claims. A separate tool earns its keep once you run three or more sessions; with one or two, a backlog.md file plus a handover prompt does the same job with fewer moving parts.

What should an agent leave behind when it finishes a task?

Five fields: the task in one sentence, the branch or worktree path, whether the diff is committed or dirty, test status, and a handoff note. The note is the one people skip and then regret. Write it to the next agent, like "auth middleware done, tests green, signup page still uses the old form, see signup.tsx:40."

How do I stop two agents working on the same card?

Use an explicit claim step: an agent marks a card as taken before starting, and other sessions skip claimed cards. Pair that with lanes, so one feature gets one worktree and one agent. Because each session has its own checkout, nobody clobbers uncommitted work, and a morning git diff shows exactly which lane changed what.

Can I track an always-on bot alongside my coding agents?

Yes, if the bot works from the same board the coding agents use. The claim-and-handoff loop is tool-agnostic: a card claimed by a bot carries the same fields and note format as one claimed by Claude Code or Cursor. The pattern works across tools, so a card started in one agent can be picked up in another.