Skip to main content
GitHub

ORCHESTRATION

Agent lifecycle and management failures.

The ORCHESTRATION module covers errors in managing agent lifecycles, scaling agent pools, and delegating tasks to agents. This module focuses on the infrastructure layer that keeps multi-agent systems running.

Categories

LIFECYCLE

Agent lifecycle failures.

CodeSeverityDescriptionRemediation
ORCHESTRATION.LIFECYCLE.SPAWN_FAILED4Failed to spawn agentImplement spawn retry
ORCHESTRATION.LIFECYCLE.CRASHED5Agent crashedImplement crash recovery
ORCHESTRATION.LIFECYCLE.HUNG4Agent is unresponsiveImplement health checks
ORCHESTRATION.LIFECYCLE.ZOMBIE3Zombie agent detectedImplement zombie cleanup
ORCHESTRATION.LIFECYCLE.CLEANUP_FAILED3Failed to cleanup agentImplement forced cleanup

Danger

ORCHESTRATION.LIFECYCLE.CRASHED (severity 5) is one of the most common critical errors in production multi-agent systems. Both SDKs stamp this code on a span when they classify an error that way, and that runs today. Diagnosis is held for the beta and fix deployment is gated off, so no fix is generated or applied for it.

SCALING

Scaling failures.

CodeSeverityDescriptionRemediation
ORCHESTRATION.SCALING.SCALE_UP_FAILED4Failed to scale upImplement scale retry
ORCHESTRATION.SCALING.SCALE_DOWN_FAILED3Failed to scale downImplement forced scale down
ORCHESTRATION.SCALING.OVERLOADED4System overloadedImplement load shedding
ORCHESTRATION.SCALING.UNDERUTILIZED2System underutilizedImplement auto-scaling
ORCHESTRATION.SCALING.QUOTA_EXCEEDED3Quota exceededImplement quota management

DELEGATION

Task delegation failures.

CodeSeverityDescriptionRemediation
ORCHESTRATION.DELEGATION.NO_AVAILABLE_AGENT4No agent available for delegationImplement agent pool
ORCHESTRATION.DELEGATION.CAPABILITY_MISMATCH4Agent lacks required capabilityMatch capabilities to tasks
ORCHESTRATION.DELEGATION.OVERLOADED_AGENT3Target agent overloadedImplement load balancing
ORCHESTRATION.DELEGATION.CIRCULAR_DELEGATION4Circular delegation detectedTrack delegation chain
ORCHESTRATION.DELEGATION.EXCESSIVE_DEPTH3Delegation chain too deepLimit delegation depth

Example Diagnosis

{
  "error_code": "ORCHESTRATION.DELEGATION.CAPABILITY_MISMATCH",
  "confidence": 0.81,
  "root_cause": "The orchestrator delegated a code review task to a summarization agent that lacks code analysis capabilities.",
  "suggested_fixes": ["routing", "prompt"]
}

Next Steps