Category: Orchestration
Skill Level: advanced
Stability: stable
Description
Coordinate messages between agents using explicit sender, recipient, task context, state, and acknowledgement semantics.
When to Use
Use when multiple agents need structured coordination and message ownership is explicit.
Inputs / Outputs / Failure Modes
| Area |
Contract |
| Inputs |
Workflow state, role/agent context, task constraints, trigger or decision criteria, and execution bounds. |
| Outputs |
Deterministic orchestration decision/action plus state and evidence needed for downstream work. |
| Failure modes |
Stale state, ambiguous ownership, race conditions, duplicate execution, or missing recovery path. |
Procedure
- Establish workflow state, ownership, boundaries, and acceptance criteria.
- Validate the inputs or trigger before changing workflow state.
- Execute only the declared orchestration operation.
- Record resulting state, evidence, and unresolved conditions.
- Apply explicit recovery or escalation behavior when the workflow cannot continue safely.
Runnable Example
task = {"capability": "agent-communication", "validated": True}
assert task["validated"]
result = {"status": "orchestration_step", "capability": task["capability"]}
print(result)
Failure Modes
- Ambiguous agent ownership or workflow state.
- Stale or conflicting state.
- Duplicate, concurrent, or non-idempotent execution.
- Missing authorization or recovery path.
- Completion reported without verifiable postconditions.
Orchestration Boundary
Ambiguous ownership or stale state can cause duplicated or conflicting work; preserve message IDs and state.
Evidence
Canonical repository skill: this file. Structural conformance is defined by the repository schema, validation workflows, Agent Skills contract, and security gates. Orchestration decisions must preserve state, ownership, and material evidence.
Related
- ../14-security/input-guardrails.md
- ../14-security/output-guardrails.md
1---2name: agent-communication3description: Coordinate messages between agents using explicit sender, recipient, task context, state, and acknowledgement semantics.4metadata:5 source: https://skillmd.com/skills/samotech/agent-communication6 upstream: skills/15-orchestration/agent-communication.md7 category: 15-orchestration8 version: "v1"9---1011**Category:** Orchestration12**Skill Level:** `advanced`13**Stability:** stable1415## Description16Coordinate messages between agents using explicit sender, recipient, task context, state, and acknowledgement semantics.1718## When to Use19Use when multiple agents need structured coordination and message ownership is explicit.2021## Inputs / Outputs / Failure Modes22| Area | Contract |23|---|---|24| Inputs | Workflow state, role/agent context, task constraints, trigger or decision criteria, and execution bounds. |25| Outputs | Deterministic orchestration decision/action plus state and evidence needed for downstream work. |26| Failure modes | Stale state, ambiguous ownership, race conditions, duplicate execution, or missing recovery path. |2728## Procedure291. Establish workflow state, ownership, boundaries, and acceptance criteria.302. Validate the inputs or trigger before changing workflow state.313. Execute only the declared orchestration operation.324. Record resulting state, evidence, and unresolved conditions.335. Apply explicit recovery or escalation behavior when the workflow cannot continue safely.3435## Runnable Example36```python37task = {"capability": "agent-communication", "validated": True}38assert task["validated"]39result = {"status": "orchestration_step", "capability": task["capability"]}40print(result)41```4243## Failure Modes44- Ambiguous agent ownership or workflow state.45- Stale or conflicting state.46- Duplicate, concurrent, or non-idempotent execution.47- Missing authorization or recovery path.48- Completion reported without verifiable postconditions.4950## Orchestration Boundary51Ambiguous ownership or stale state can cause duplicated or conflicting work; preserve message IDs and state.5253## Evidence54Canonical repository skill: this file. Structural conformance is defined by the repository schema, validation workflows, Agent Skills contract, and security gates. Orchestration decisions must preserve state, ownership, and material evidence.5556## Related57- ../14-security/input-guardrails.md58- ../14-security/output-guardrails.md