Seeing what every coding agent on your team is doing right now, in Claude Code and Codex

Claude Code and Codex show only your own agents. A tested way for a team to see every agent's work in progress, in both tools, before two agents edit the same file.

By Scott Strang

Last updated

The short answer. Claude Code's agent view (claude agents) and the Codex app show only your own agents. A teammate's pushed branch shows their work only once it's committed. To see what every agent on the team is doing right now, have each agent post one line (who, what, which files) to a board the whole team shares before it starts, check the board before it edits, and clear its line when it's done. Below is an 83-line board that lives on a git branch, and the four-step rule in AGENTS.md that made both Claude Code and Codex stop before editing a file a teammate had claimed.

Claude Code and Codex show your own agents, never a teammate's

Each tool shows the agents you started, and only those.

Where you lookWhat it showsWhose agents

From each vendor's docs (read Nov 24, 2026) and claude agents --json on Claude Code 2.1.283. These tools change fast.

A pushed branch shows a teammate's work only after it's committed

The usual team habit is to push early and check what other branches touch before starting; our parallel agents guide has a script for it. That check sees only what's committed and pushed. An agent that has been editing for ten minutes and hasn't pushed is invisible.

That's how it bit us. On Nov 8, 2026 (Pacific time), two pull requests in our go-to-market repo, from two coding agent sessions running in parallel, each added the same export to one file, src/views/section-cache.ts. Each was green on its own. They merged 22 seconds apart, and main failed its type check. Neither agent had any way to know the other was in that file. Both sessions were one person's: with parallel agents, one engineer's own agents collide the way a team's do.

We gave Codex and Claude Code the same file at the same time

Two simulated teammates on one Mac: two clones of one shared git remote, "Alice" running Codex and "Bob" running Claude Code. Alice's agent was asked to add a --verbose flag to app.sh; Bob's to rename the function in the same file. Both were told to commit and push.

RunWhat each agent could seeWhat happened

Tested Nov 24, 2026, Claude Code 2.1.283 and Codex CLI 0.146.0. Here the conflict was a few lines and Codex fixed it. We then revised the script (below) after code review, so one person's agents on different branches also see each other and a claim on a file someone else holds is refused, and re-ran both "claim first" runs with the final version: Codex stopped in 12 seconds and Claude Code in 13.

What it showed:

  1. Without a shared view, the first sign of overlap is a merge conflict, after both agents have done the work.
  2. One line of intent is enough. Who, what, which files: both agents stopped on it and could tell their person exactly who to talk to.
  3. The rule does the work. Both agents ran the check because AGENTS.md told them to; no hook was needed.
  4. A board is for overlap in time. Work that happens one after another still meets at the rebase, and the pushed-branch check covers that.

The team fix: every agent posts what it's starting to a shared board

You need one place every agent and every person can read, that updates the moment an agent starts. Your git remote is already that place. This board keeps one file, NOW.md, on a branch of its own (agent-now), so nobody's checkout, main branch or history changes.

1. Add the board script

Save this as .agent/now.sh in your repo, make it executable (chmod +x .agent/now.sh) and commit it:

#!/usr/bin/env bash
# now.sh: a shared board of what every agent on the team is working on right now.
# Lines live in NOW.md on a branch of its own (agent-now) on your git remote,
# so nobody's checkout, main branch or history changes.
#   now.sh show [file]...             what's in progress; COLLISION (exit 1) if another agent
#                                     (a teammate, or you on another branch) claimed a file
#                                     you named or have changed
#   now.sh claim "<what>" <file>...   say what you're starting and which files (repo-relative paths);
#                                     refused (exit 1) if another agent already holds one of them
#   now.sh done                       mark your claims on this branch finished
set -eu
branch=agent-now
remote=${NOW_REMOTE:-origin}
me=$(git config user.name 2>/dev/null || whoami)
here=$(git branch --show-current 2>/dev/null || true); here=${here:--}
 
fetch() {
  git fetch -q "$remote" "+refs/heads/$branch:refs/remotes/$remote/$branch" 2>/dev/null && return 0
  git ls-remote --exit-code -q "$remote" >/dev/null 2>&1 && return 0   # reachable, board not created yet
  echo "now.sh: can't reach $remote; this board may be out of date" >&2; return 2
}
board() { git show "$remote/$branch:NOW.md" 2>/dev/null || true; }
# Every claim not yet followed by a "done" from the same person and branch.
active() { board | awk -F' [|] ' 'NF >= 5 { k = $2 "|" $3
    if ($4 == "done") delete a[k]; else a[k] = (k in a) ? a[k] "\n" $0 : $0 }
  END { for (k in a) print a[k] }' | sort; }
# Claims by another agent (anyone else, or me on another branch) on any of the files given.
clashes() { active | awk -F' [|] ' -v me="$me" -v here="$here" -v files=" $* " \
  '!($2 == me && $3 == here) { n = split($5, c, " "); for (i = 1; i <= n; i++)
    if (index(files, " " c[i] " ")) print "COLLISION: " $2 " (" $3 ") is working on " c[i] ": " $4 }' | sort -u; }
# Keep the newest 199 lines, plus any older claim that is still in progress.
trimmed() { board | awk -F' [|] ' '{ l[NR] = $0; if (NF >= 5) { k = $2 "|" $3
    if ($4 == "done") { delete op[k] } else op[k] = (k in op) ? op[k] " " NR : NR } }
  END { s = NR - 199; for (k in op) { n = split(op[k], r, " "); for (i = 1; i <= n; i++) if (r[i] <= s) keep[r[i]] = 1 }
    for (i = 1; i <= NR; i++) if (i > s || (i in keep)) print l[i] }'; }
 
add() {
  line="$(date -u +%Y-%m-%dT%H:%MZ) | $me | $here | $1 | $2"
  for try in 1 2 3; do
    fetch || return 2
    if [ "$1" != done ]; then
      hits=$(clashes $2)
      [ -z "$hits" ] || { printf '%s\n' "$hits"; echo "now.sh: not claimed" >&2; return 1; }
    fi
    parent=$(git rev-parse -q --verify "refs/remotes/$remote/$branch" || true)
    blob=$( { trimmed; printf '%s\n' "$line"; } | git hash-object -w --stdin)
    tree=$(printf '100644 blob %s\tNOW.md\n' "$blob" | git mktree)
    if [ -n "$parent" ]; then
      commit=$(git commit-tree "$tree" -p "$parent" -m "now: $me")
    else
      commit=$(git commit-tree "$tree" -m "now: $me")
    fi
    if git push -q "$remote" "$commit:refs/heads/$branch" 2>/dev/null; then
      echo "now: $line"; return 0
    fi
    sleep "$try"
  done
  echo "now.sh: could not update the board after 3 tries" >&2; return 1
}
 
cmd=${1:-show}; [ $# -gt 0 ] && shift
case "$cmd" in
  show)
    rc=0; fetch || rc=2
    now=$(active)
    if [ -z "$now" ]; then echo "NOW board: nobody has work in progress"; exit "$rc"; fi
    echo "NOW board, work in progress (time UTC | who | branch | what | files):"
    printf '%s\n' "$now"
    mine=""; for f in "$@" $(git diff --name-only HEAD 2>/dev/null; git diff --name-only "$remote/HEAD...HEAD" 2>/dev/null); do
      mine="$mine ${f#./}"; done
    hits=$(clashes $mine)
    [ -z "$hits" ] || { printf '%s\n' "$hits"; exit 1; }
    exit "$rc"
    ;;
  claim)
    [ $# -ge 2 ] || { echo 'usage: now.sh claim "<what>" <file>...' >&2; exit 2; }
    what=$1; shift
    files=""; for f in "$@"; do files="$files ${f#./}"; done
    add "$what" "${files# }"
    ;;
  done) add done - ;;
  *) echo 'usage: now.sh show [file]... | now.sh claim "<what>" <file>... | now.sh done' >&2; exit 2 ;;
esac

It needs only git and bash (tested on macOS bash 3.2 and 5.3; on Windows, use Git Bash or WSL). Each line carries the person's git config user.name and the branch, so everyone needs a name set. show flags a claim from anyone else, and from you on another branch, so your own parallel agents in separate worktrees see each other too. Use paths relative to the repo root, as git status prints them. A line clears when the same person runs done from the same branch.

2. Tell every agent to use it

Add this to AGENTS.md, the file Codex reads. For Claude Code, make sure CLAUDE.md contains the line @AGENTS.md so it reads the same rules (more in Claude Code and Codex together on one team):

## Check the NOW board before you change a file
This team's agents share a board of who is working on what right now.
1. Before you change any file, run `.agent/now.sh show <the files you plan to change>`.
2. If `show` or `claim` prints COLLISION, stop. Don't edit that file. Tell your person who is working on it and what they are doing, and ask whether to go ahead.
3. Otherwise run `.agent/now.sh claim "<what you're doing, in a few words>" <the files>` and start.
4. When you finish (after you push), run `.agent/now.sh done`.

3. Read it yourself

Anyone with the repo checked out, running agents or not, can see what's in flight:

.agent/now.sh show

From our test, when Codex checked the board while a teammate held a claim:

NOW board, work in progress (time UTC | who | branch | what | files):
2026-11-25T00:11Z | Bob | main | rename greet to say_hello | app.sh
COLLISION: Bob (main) is working on app.sh: rename greet to say_hello

One line per agent at work: the time, who, the branch, what it's doing and the files. Before standup you can read it instead of asking around; a teammate about to start a task can run .agent/now.sh show <files> first, as their agents do.

How you know it works: start a task with your agent while a teammate's agent holds a claim on one of its files. Your agent should stop before its first edit and tell you who is in the file.

Where it stops:

  • An agent that crashes, skips step 4 or switches branch before done leaves its line on the board until someone runs done from the branch it claimed on. The board shows the time, so an old line is easy to spot.
  • Every show and claim is a git fetch or git push. If the remote can't be reached, both say the board may be out of date and exit 2.
  • claim refuses (exit 1) a file another agent already holds, so two agents that checked at the same moment can't both take it.
  • The board is as visible as your repo. On a public repo, anyone can read what your agents are starting.
  • Every claim pushes to the agent-now branch. If your CI or preview deploys run on every branch, exclude it (for GitHub Actions, branches-ignore: [agent-now]).
  • Matching is by exact path: a claim on src/ doesn't cover src/a.ts.

How our team sees every agent's work in progress

We don't run the script; our agents post the same kind of line with SageOx (below). One afternoon in our go-to-market repo, Nov 24, 2026, ox murmur list showed 15 notes from 14 of our agent sessions in the previous two hours, each saying what that session was building. A Codex run in a different worktree, asked who was working on this guide's draft, read them and answered with who, what and "12 minutes ago". We built and ran the board above the same day to check that the fix works without us.

Where SageOx helps

SageOx is not an agent. It's a tool-agnostic context layer that keeps teams of humans and agents coordinated, so every person and every agent knows what the team knows. It works alongside Claude Code and Codex. With SageOx, each agent's "what I'm starting" note needs no script or branch, and it reaches teammates' running agents and people who never open a terminal.

  • Murmurs: an agent posts a short note of what it's doing (work in progress, a decision, a blocker, done), optionally naming the files. Teammates and their agents see it, and it expires on its own: ox murmur --topic=wip --files src/price.js "tax rounding in price.js", and ox murmur list to read the team's.
  • Whispers: teammates' murmurs are delivered into a running agent session, with pause, resume and rate limits, so an agent learns what others are working on mid-task instead of only when it starts.
  • ox glance: shows the team's recent murmurs and flags file-level collisions where two people are working on the same files.
  • For people who don't run agents: the team home's Activity card turns the day's work by people and agents into one credited line each, and team murals show what moved, redrawn through the day. Once an admin connects Slack and picks a channel, murals post there, so a founder, PM or designer sees it where they already are.

See how a team stays in the loop →

Have your agent do it

Paste this into Claude Code or Codex at the root of a repo. It has the script and the rules in it, and it commits nothing until you approve the diff.

Set up a shared "NOW board" so every coding agent on this team can see what the others are working on right now.
1. Create .agent/now.sh with the script under SCRIPT below, exactly as written, and make it executable.
2. Add the section under RULES below to AGENTS.md (create AGENTS.md if it doesn't exist). Don't remove anything
   already there.
3. If CLAUDE.md exists and doesn't already include @AGENTS.md, add that line. If it doesn't exist, create it
   with just @AGENTS.md.
4. Check that git config user.name is set and that the remote "origin" exists; tell me if either is missing.
5. Run .agent/now.sh show and show me the output (an empty board is fine).
6. Write me a two-line note for my teammates: pull this change, and set git config user.name if they haven't.
Show me the diff before committing anything.
 
SCRIPT
#!/usr/bin/env bash
# now.sh: a shared board of what every agent on the team is working on right now.
# Lines live in NOW.md on a branch of its own (agent-now) on your git remote,
# so nobody's checkout, main branch or history changes.
#   now.sh show [file]...             what's in progress; COLLISION (exit 1) if another agent
#                                     (a teammate, or you on another branch) claimed a file
#                                     you named or have changed
#   now.sh claim "<what>" <file>...   say what you're starting and which files (repo-relative paths);
#                                     refused (exit 1) if another agent already holds one of them
#   now.sh done                       mark your claims on this branch finished
set -eu
branch=agent-now
remote=${NOW_REMOTE:-origin}
me=$(git config user.name 2>/dev/null || whoami)
here=$(git branch --show-current 2>/dev/null || true); here=${here:--}
 
fetch() {
  git fetch -q "$remote" "+refs/heads/$branch:refs/remotes/$remote/$branch" 2>/dev/null && return 0
  git ls-remote --exit-code -q "$remote" >/dev/null 2>&1 && return 0   # reachable, board not created yet
  echo "now.sh: can't reach $remote; this board may be out of date" >&2; return 2
}
board() { git show "$remote/$branch:NOW.md" 2>/dev/null || true; }
# Every claim not yet followed by a "done" from the same person and branch.
active() { board | awk -F' [|] ' 'NF >= 5 { k = $2 "|" $3
    if ($4 == "done") delete a[k]; else a[k] = (k in a) ? a[k] "\n" $0 : $0 }
  END { for (k in a) print a[k] }' | sort; }
# Claims by another agent (anyone else, or me on another branch) on any of the files given.
clashes() { active | awk -F' [|] ' -v me="$me" -v here="$here" -v files=" $* " \
  '!($2 == me && $3 == here) { n = split($5, c, " "); for (i = 1; i <= n; i++)
    if (index(files, " " c[i] " ")) print "COLLISION: " $2 " (" $3 ") is working on " c[i] ": " $4 }' | sort -u; }
# Keep the newest 199 lines, plus any older claim that is still in progress.
trimmed() { board | awk -F' [|] ' '{ l[NR] = $0; if (NF >= 5) { k = $2 "|" $3
    if ($4 == "done") { delete op[k] } else op[k] = (k in op) ? op[k] " " NR : NR } }
  END { s = NR - 199; for (k in op) { n = split(op[k], r, " "); for (i = 1; i <= n; i++) if (r[i] <= s) keep[r[i]] = 1 }
    for (i = 1; i <= NR; i++) if (i > s || (i in keep)) print l[i] }'; }
 
add() {
  line="$(date -u +%Y-%m-%dT%H:%MZ) | $me | $here | $1 | $2"
  for try in 1 2 3; do
    fetch || return 2
    if [ "$1" != done ]; then
      hits=$(clashes $2)
      [ -z "$hits" ] || { printf '%s\n' "$hits"; echo "now.sh: not claimed" >&2; return 1; }
    fi
    parent=$(git rev-parse -q --verify "refs/remotes/$remote/$branch" || true)
    blob=$( { trimmed; printf '%s\n' "$line"; } | git hash-object -w --stdin)
    tree=$(printf '100644 blob %s\tNOW.md\n' "$blob" | git mktree)
    if [ -n "$parent" ]; then
      commit=$(git commit-tree "$tree" -p "$parent" -m "now: $me")
    else
      commit=$(git commit-tree "$tree" -m "now: $me")
    fi
    if git push -q "$remote" "$commit:refs/heads/$branch" 2>/dev/null; then
      echo "now: $line"; return 0
    fi
    sleep "$try"
  done
  echo "now.sh: could not update the board after 3 tries" >&2; return 1
}
 
cmd=${1:-show}; [ $# -gt 0 ] && shift
case "$cmd" in
  show)
    rc=0; fetch || rc=2
    now=$(active)
    if [ -z "$now" ]; then echo "NOW board: nobody has work in progress"; exit "$rc"; fi
    echo "NOW board, work in progress (time UTC | who | branch | what | files):"
    printf '%s\n' "$now"
    mine=""; for f in "$@" $(git diff --name-only HEAD 2>/dev/null; git diff --name-only "$remote/HEAD...HEAD" 2>/dev/null); do
      mine="$mine ${f#./}"; done
    hits=$(clashes $mine)
    [ -z "$hits" ] || { printf '%s\n' "$hits"; exit 1; }
    exit "$rc"
    ;;
  claim)
    [ $# -ge 2 ] || { echo 'usage: now.sh claim "<what>" <file>...' >&2; exit 2; }
    what=$1; shift
    files=""; for f in "$@"; do files="$files ${f#./}"; done
    add "$what" "${files# }"
    ;;
  done) add done - ;;
  *) echo 'usage: now.sh show [file]... | now.sh claim "<what>" <file>... | now.sh done' >&2; exit 2 ;;
esac
 
RULES
## Check the NOW board before you change a file
This team's agents share a board of who is working on what right now.
1. Before you change any file, run `.agent/now.sh show <the files you plan to change>`.
2. If `show` or `claim` prints COLLISION, stop. Don't edit that file. Tell your person who is working on it and what they are doing, and ask whether to go ahead.
3. Otherwise run `.agent/now.sh claim "<what you're doing, in a few words>" <the files>` and start.
4. When you finish (after you push), run `.agent/now.sh done`.

Questions

Can I see my teammates' Claude Code or Codex agents? No. Claude Code's agent view lists the background sessions you started, which "run on your machine", and cross-session messaging reaches only your own sessions. The Codex app keeps your own chats in view.

Is this the same as Claude Code agent teams? No. Agent teams, an experimental Claude Code feature, coordinate several Claude Code sessions inside one person's session, with a shared task list; they don't see a teammate's agents. Our parallel agents guide covers agent teams and worktrees.

Is this agent observability? Not in the usual sense. Agent observability tools trace the agents you build into a product (prompts, tool calls, cost). This is about seeing what your teammates' coding agents are working on.

Can people who don't code see what the agents are doing? Not with the board: it needs the repo and a terminal. With SageOx, the team home and team murals show what people and agents moved through the day, and murals post to a Slack channel an admin picks.

Does the board work with Cursor or other agents? It's plain git and bash, and the rule lives in AGENTS.md, so any agent that reads AGENTS.md and runs shell commands can use it. We tested Claude Code and Codex only.

Why not just push early and check branches? Do that too: it catches overlap that happens one after another. It can't see an agent that hasn't committed yet, which is when two agents are most likely to be in the same file. Our parallel agents guide has the branch check.

Sources

SourceWhat we usedChecked

More on working together without colliding