Enable multiple AI agents to collaborate on issues using Tracer’s coordination features
Tracer supports simple multi-agent coordination through comments, automatic assignee tracking, and shared visibility across all agents working on a project.
# Agent 1 encounters a blockertracer --actor claude-1 update bd-1 --status blockedtracer comment bd-1 "Need help with authentication - stuck on OAuth flow"# Agent 2 sees the comment and helpstracer show bd-1tracer comment bd-1 "I can help with OAuth. Will create a subtask."# Agent 2 creates related workNEW_ID=$(tracer create "Implement OAuth flow" -t task -p 0 --json | jq -r '.id')tracer dep add $NEW_ID bd-1 --type relatedtracer --actor cursor-2 update $NEW_ID --status in_progress
tracer show bd-1bd-1 Implement authentication APIStatus: in_progressAssignee: claude-1Recent comments: cursor-2 (10 min ago): "I can help with frontend once ready" claude-1 (20 min ago): "Working on JWT implementation" claude-1 (30 min ago): "Started on this issue"
# Good: identifies model and instanceexport TRACE_ACTOR="claude-sonnet-1"export TRACE_ACTOR="cursor-agent-main"# Avoid: too genericexport TRACE_ACTOR="agent"export TRACE_ACTOR="ai"
# Good: specific and actionabletracer comment bd-1 "JWT tokens implemented, need frontend integration"# Avoid: vaguetracer comment bd-1 "working on it"
# Always check if someone is already workingtracer show bd-1# If assignee is set, leave a comment instead of taking overif [[ $(tracer show bd-1 --json | jq -r '.assignee') != "" ]]; then tracer comment bd-1 "I can help with this if needed"else tracer update bd-1 --status in_progressfi
When agents run on different machines, sync the Tracer database via Git:
# Machine 1: Agent 1 makes changescd .tracegit add issues.jsonl events.jsonlgit commit -m "claude-1: completed bd-1"git push# Machine 2: Agent 2 syncscd .tracegit pull# Now sees claude-1's updatestracer show bd-1
The .trace/ directory contains SQLite databases and JSONL exports. Commit the JSONL files to Git, and use tracer import after pulling to sync the database.