WAF-AGN-060 β Multi-Agent Orchestration
Description
Many agents must be coordinated. Agent orchestration must use coordinator/manager patterns or mesh architectures. Event-based communication must be configured for agent messaging. Failure recovery and agent health monitoring must be in place.
Rationale
Uncoordinated multi-agent systems create several problems:
Redundant work: Multiple agents working on same task without coordination wastes resources.
Conflicting actions: Agents may take contradictory actions without coordination.
Performance issues: Lack of load balancing causes some agents to overload while others idle.
Failure propagation: When one agent fails, dependent agents may also fail without recovery.
No visibility: Hard to monitor overall system health without orchestration.
Requirements
-
Coordinator/manager pattern must be used for agent orchestration
-
Event-based communication (SNS, SQS, EventBridge) must be configured
-
Failure recovery mechanisms must be in place
-
Agent health monitoring must be configured
-
Dead letter queues must be configured for failed messages
Implementation Guidance
-
Design coordinator pattern: One manager agent delegates tasks to specialized workers
-
Use event channels: Configure SNS topics, SQS queues, and EventBridge rules
-
Implement retry logic: Configure message retries with exponential backoff
-
Set up dead letter queues: Configure DLQ for messages that fail repeatedly
-
Monitor agent health: Configure alarms for agent failures and latency spikes
Maturity Levels
| Level | Name | Criteria |
|---|---|---|
1 |
No Orchestration |
Agents operate independently without coordination. No failover. |
2 |
Manual Coordination |
Some manual orchestration via external systems. |
3 |
Event-Based Coordination |
Agents communicate via events. Basic failover configured. |
4 |
Automated Orchestration |
Dynamic task allocation. Automatic failover and scaling. |
5 |
Self-Healing System |
Orchestrator learns from failures and improves automatically. |
Terraform Checks
waf-agn-060.tf.aws.coordinator-agent-configured
Checks: Multi-agent systems have coordinator/manager configured.
| Compliant | Non-Compliant |
|---|---|
|
No coordinator defined |
waf-agn-060.tf.aws.event-based-communication
Checks: Agent communication uses event-based messaging (SNS, SQS, EventBridge).
# Compliant
resource "aws_sns_topic" "agent_events" {
name = "agent-events"
}
resource "aws_sqs_queue" "agent_queue" {
name = "agent-messages"
}
resource "aws_sns_topic_subscription" "agent_subscription" {
topic_arn = aws_sns_topic.agent_events.arn
protocol = "sqs"
endpoint = aws_sqs_queue.agent_queue.arn
}
resource "aws_bedrockagent" "event_agent" {
agent_name = "event-based-agent"
}
Remediation: Configure coordinator agent pattern. Set up event-based messaging via SNS/SQS. Implement failure recovery with DLQs and alarms.
Evidence
| Type | Required | Description |
|---|---|---|
IaC |
β Required |
Coordinator agent configuration, event channel setup, DLQ configuration. |
Config |
β Required |
Queue configurations, retry policies, alarm thresholds. |
Process |
β Required |
Orchestration runbook, failover test reports, health monitoring dashboards. |
Governance |
β Required |
Multi-agent orchestration policy defining coordination requirements. |
Regulatory Mapping
| Framework | Controls |
|---|---|
ISO 27001:2022 |
A.8.1 β Information security roles and responsibilities; A.8.2 β Privileged access rights |
NIST SP 800-53 |
AU-2 β Event logging; AU-6 β Audit review and analysis |
NIST CSF 2.0 |
DE.CM β Continuous monitoring; DE.DP β Data protection |
GDPR |
Art. 32 β Security of processing; Art. 5(1)(f) β Integrity and confidentiality |
PCI DSS v4.0 |
Req 10 β Monitor and detect threats |
TISAX |
Information security β Monitoring and logging |
ANSSI SecNumCloud |
Domain β Logging and monitoring |
BIO |
BIO β Logboekhouding en monitoring |
ENS High |
op.exp.6 β GestiΓ³n de cambios |
UK NCSC CAF |
A4 β Policy and assurance |
FedRAMP |
AU-2, AU-6 (Moderate baseline) |
CMMC 2.0 |
AU.L2-3.8.1 β Flow audit logs to central log management |
IT-Grundschutz |
ORP.1 β Informationstechnisch-related Angriffsschutz |
IRAP |
ISM β Logging and monitoring |
CCCS PBMM |
AU-2, AU-6 β Logging and audit |
MAS TRM |
Ch.9 β Change management |
ISMAP |
Monitoring and logging controls |
FISC |
Technical measures β Logging and monitoring |
AWS Well-Architected Framework |
Security Pillar β Logging and monitoring; Reliability Pillar β Failure management |
Google Cloud Architecture Framework |
Reliability β Failure management; Security β Monitoring |
BSI C5:2020 |
OPS-01 β Operational monitoring |
SOC 2 Type II |
CC4.1 β Monitoring activities; CC7.1 β Infrastructure and software monitoring |
CSA STAR |
CCM Logging and Monitoring |
CIS Controls v8 |
CIS 13 β Content Filtering |