# description
An agent composition assembling persona + tools + capabilities + role boundaries + isolation into a complete agent definition, or a swarm composition coordinating multiple sub-agents.

# properties.type.description
Composition type. 'agent' = single agent definition; 'swarm' = multi-agent composition.

# properties.references.description
Required for type: agent. References to component atoms.

# properties.coordinator.description
For type: swarm. Reference to the coordinator persona atom.

# properties.sub_agents.description
For type: swarm. Ordered list of sub-agent persona references with their assigned roles.

# properties.coordination_protocol.description
For type: swarm. How the coordinator dispatches and merges sub-agent work.