What is an Agent Swarm?
An agent swarm is a collection of AI agents that collaborate through decentralized, emergent coordination patterns — inspired by biological swarms — rather than centralized orchestration.
WHY IT MATTERS
The term 'swarm' in AI agents draws from swarm intelligence in biology (ant colonies, bird flocking). OpenAI's experimental 'Swarm' framework (now succeeded by the Agents SDK) popularized the concept of lightweight, composable agent teams.
In practice, agent swarms emphasize simplicity and composability. Each agent is a self-contained unit with instructions, tools, and the ability to hand off to other agents. There's no complex central orchestrator — coordination emerges from individual agent decisions.
For financial applications, swarms present interesting challenges. A swarm of trading agents might collectively drain a budget without any single agent violating its individual limits. Swarm-level controls are needed alongside individual agent policies.
HOW POLICYLAYER USES THIS
PolicyLayer provides fleet-level spending controls for agent swarms. Individual agents have their own limits, while a shared budget pool ensures the swarm's collective spending stays within bounds — preventing uncoordinated overspending.