Skip to main content
GitHub

COORDINATION

Multi-agent workflow coordination failures.

The COORDINATION module covers errors in managing multi-agent workflows. This is the first of the five multi-agent modules, focusing on workflow management, task handoffs, and synchronization between agents.

Categories

WORKFLOW

Workflow management failures.

CodeSeverityDescriptionRemediation
COORDINATION.WORKFLOW.DEADLOCK5Agents in deadlockImplement deadlock detection and resolution
COORDINATION.WORKFLOW.LIVELOCK4Agents in livelockImplement livelock detection
COORDINATION.WORKFLOW.STARVATION4Agent starvationImplement fair scheduling
COORDINATION.WORKFLOW.CYCLE3Cyclic dependency in workflowValidate workflow DAG
COORDINATION.WORKFLOW.ORPHANED3Orphaned task or agentImplement orphan detection

Warning

COORDINATION.WORKFLOW.DEADLOCK (severity 5) indicates agents are permanently blocked waiting on each other. Unlike a livelock where agents are still active but making no progress, a deadlock requires external intervention to resolve.

HANDOFF

Task handoff failures.

CodeSeverityDescriptionRemediation
COORDINATION.HANDOFF.INCOMPLETE4Incomplete handoff informationValidate handoff completeness
COORDINATION.HANDOFF.WRONG_RECIPIENT4Task sent to wrong agentValidate recipient capabilities
COORDINATION.HANDOFF.LOST5Handoff was lostImplement handoff acknowledgment
COORDINATION.HANDOFF.DUPLICATED3Duplicate handoffsImplement idempotent handoffs
COORDINATION.HANDOFF.DELAYED2Handoff significantly delayedMonitor handoff latency

SYNCHRONIZATION

Agent synchronization failures.

CodeSeverityDescriptionRemediation
COORDINATION.SYNCHRONIZATION.RACE_CONDITION5Race condition between agentsImplement proper locking
COORDINATION.SYNCHRONIZATION.OUT_OF_ORDER4Out of order executionImplement ordering guarantees
COORDINATION.SYNCHRONIZATION.SPLIT_BRAIN5Split brain scenarioImplement leader election
COORDINATION.SYNCHRONIZATION.CLOCK_SKEW3Significant clock skewUse logical clocks
COORDINATION.SYNCHRONIZATION.VERSION_MISMATCH3Version mismatch between agentsImplement version negotiation

Example Diagnosis

{
  "error_code": "COORDINATION.SYNCHRONIZATION.RACE_CONDITION",
  "confidence": 0.82,
  "root_cause": "Two agents simultaneously updated the shared task state, causing one agent's changes to be overwritten.",
  "suggested_fixes": ["guard", "parameter"]
}

Next Steps