VI · Multi-AgentEmerging

Decentralized Swarm Handoff

also known as Peer-Initiated Handoff, Protocol-Based Swarm

Agents in a swarm decide handoffs to peers based on a shared protocol with no central coordinator; specifically about agent-initiated handoff protocols, not topology.

This pattern helps complete certain larger patterns —

  • specialisesSwarm·Run many peer agents that interact directly without a central supervisor, achieving emergent coordination.
  • specialisesDecentralized Agent Network·Agents publish signed DID+JSON-LD identity records so any peer can discover and verify them without a central registry — the agent equivalent of the open web.
  • specialisesHandoffTransfer the active conversation from one agent to another, carrying context across the switch.

Context

A team has a swarm/decentralized agent network. Handoffs between agents happen either through a central router (defeating the decentralized topology) or through implicit handoffs in shared memory (defeating accountability). The protocol by which one agent hands off to another is not first-class.

Problem

Without a named handoff protocol, handoffs are either centralized (router) or implicit (shared memory). Centralized handoff defeats the swarm topology's scaling. Implicit handoff makes the trace of 'who handed work to whom' impossible to reconstruct. Distinct from existing swarm/decentralized-agent-network by naming the handoff *protocol* explicitly.

Forces

  • Decentralized handoff requires agents to know peers and their capabilities.
  • Handoff protocols add coordination overhead.
  • Without a protocol, decentralized swarms either re-introduce central routing or lose accountability.

Example

A customer-support swarm has agents tagged {refunds, technical, account, sales}. A refunds agent receives a query that turns out to be technical. It addresses peers with capability tag 'technical' (not by identity); the first peer to accept_handoff(task) → accept takes the conversation. The refunds agent logs the handoff. The conversation continues under the technical agent.

Diagram

Solution

Therefore:

Each agent in the swarm exposes a handoff endpoint (accept_handoff(task) → {accept, defer, decline, with_reason}). Handoff initiator addresses peers by capability tag, not by identity. Protocol includes acceptance, decline-with-reason, capacity back-pressure. The trace of handoffs is logged per-agent and reconstructable. Pair with swarm, decentralized-agent-network, handoff, conversation-handoff.

What this pattern forbids. No central router; handoffs only via the declared peer-to-peer protocol; all handoffs logged for trace reconstruction.

And the patterns that stand alongside it, or against it —

  • complementsConversation Handoff to Human★★Transfer the entire conversation thread from agent to human operator, with state transfer and return primitive.
  • complementsCellular-Automata Agents·A swarm where each agent applies simple local rules to its immediate neighborhood; macro behavior emerges without a central orchestrator and without global information access.
  • complementsReflexive Metacognitive Agent·Agent maintains an explicit self-model of its own capabilities, confidence and limitations, and reasons over that model when accepting / refusing / handing off tasks.
  • complementsContract Net Protocol★★Classical bid-based multi-agent task allocation: a manager broadcasts a task announcement, contractors submit bids, and the manager awards the contract to the best bid.

Neighbourhood

Click any neighbour to follow the language. Scroll to zoom, drag to pan.

References

Provenance