SwarmSAR turns a fleet of drones into a self-organising search team — coordinating over a real-time graph mesh, fusing what they see into one shared survivor map, and handing confirmed locations to rescuers.
Built to help
In a disaster the bottleneck is coverage: too much ground, too few responders, too little time. SwarmSAR blankets an area in minutes and turns many noisy sightings into a few locations a team can trust.
How it works
Every tick, each drone senses and decides on its own — there is no central controller, so the swarm keeps working even when it splits into disconnected islands.
Drones build a proximity graph and gossip telemetry over it in real time, with bounded hops.
Each drone runs a pluggable human-presence detector (thermal, RGB, acoustic) over its field of view.
Sightings are clustered into confidence-weighted survivor estimates in one shared map.
A pluggable AI layer ranks estimates and sends a second drone to corroborate lone sightings.
An estimate is confirmed only when enough distinct drones agree — a single false positive can't escalate.
Confirmed survivors are dispatched to responders as de-duplicated alerts with WGS-84 coordinates.
What's inside
Clean interfaces at every seam, so you can swap the AI, the sensor, or the flight backend without touching the rest.
Range-based topology with telemetry gossip and connected-component awareness.
Online clustering with corroboration-gated confirmation and time decay of stale estimates.
A runtime registry with ensemble voting — diverse models plug in and can't unilaterally escalate.
Local ENU ↔ WGS-84 conversion so alerts carry real latitude/longitude for the field.
The same swarm logic flies PX4/ArduPilot via a velocity-setpoint actuator (optional).
The whole pipeline runs offline and reproducibly — 38 tests, plus a live replay dashboard.
Plug in your own model
Providers are interchangeable at runtime; several can be fused so no single model forces an escalation on its own.
from swarmsar.ai.provider import AIProvider, Decision, SituationContext
class MyVisionProvider(AIProvider):
name = "my-vision"
def decide(self, ctx: SituationContext) -> Decision:
ranked = sorted(ctx.estimates, key=lambda e: e.confidence, reverse=True)
return Decision(
priorities=[e.id for e in ranked],
escalate=[e.id for e in ranked if e.confirmed],
rationale="prioritised by my model",
)
ai.register(MyVisionProvider(), activate=True) # diverse models, one bus
See it run
A recorded search over a 400×300 m field with eight drones and six survivors. Watch the mesh form, estimates appear, and rescue alerts fire as survivors are confirmed.