EU AI Act Article 50 โ€” 20 days to seal | Get passport

๐Ÿฆ… Autonomous Swarm Systems

PX4 fleet management, Mava multi-agent RL swarms, OpenAthena geospatial ISR, Batear acoustic counter-detection. From individual drone to coordinated swarm โ€” sovereign British AI at every layer.

PX4

Flight Control

Open-source autopilot. Mission planning, geofencing, failsafe. MAVSDK Python SDK for programmatic control.

Mava

MARL Swarms

Multi-agent reinforcement learning. Decentralised swarm coordination. Each drone learns optimal patrol patterns.

Batear

C-UAS Detection

$10 ESP32 acoustic drone detector. Frequency analysis identifies hostile UAVs at 500m+ range.

5 Types

Platform Classes

Multirotor (ISR), Fixed-wing (long endurance), VTOL (hybrid), UGV (ground), UUV (underwater). All MAVLink.

๐Ÿš Fleet Management
๐Ÿง  Mava Swarm RL
๐Ÿ“ก OpenAthena Geo
๐Ÿ”Š Batear Acoustic
๐Ÿ”Œ MCP Tools

๐Ÿš PX4 Fleet Management Architecture

DEFONEOS uses PX4 Autopilot as the core flight controller, managed through MAVSDK Python bindings. Every drone in the fleet is addressable via MCP tools, enabling AI-driven mission planning.

1

PX4 Autopilot (Edge)

Runs on Pixhawk hardware or SITL simulation. Handles real-time flight control, attitude stabilisation, sensor fusion (IMU/GPS/barometer). MAVLink protocol for telemetry.

2

MAVSDK Bridge (Fog)

Python SDK wrapping MAVLink. Programmatic takeoff, waypoint navigation, payload control. DEFONEOS MCP exposes this as drone_takeoff, drone_waypoint, drone_rtl.

3

Mission Planning (Cloud)

QGroundControl or programmatic mission files. Waypoint grids, search patterns, ISR orbits. Pre-loaded on drone before launch, updated mid-flight via data link.

4

Swarm Coordinator (Sovereign)

Mava RL engine assigns roles: leader, scout, relay, striker. BFT council validates each engagement decision. All actions SIGIL-signed for audit trail.

PlatformTypeEndurancePayloadRole
PX4 MultirotorQuad/Hex25-40 min1-3 kgISR recon, close-range
PX4 Fixed-WingAirplane2-6 hrs2-5 kgLong-endurance patrol
PX4 VTOLHybrid1-3 hrs1-3 kgRunway-independent ops
ArduRover (UGV)Ground4-8 hrs5-20 kgGround patrol, cargo
ArduSub (UUV)Submarine2-4 hrs1-5 kgUnderwater ISR, mine detection

MAVSDK Python Example

from MAVSDK import Drone drone = Drone(system_address="udp://:14540") await drone.connect() await drone.action.takeoff() await drone.action.goto_location(lat=53.8, lon=-1.5, alt=100) # DEFONEOS MCP: drone_takeoff(system_id=1, alt=100) # DEFONEOS MCP: drone_waypoint(system_id=1, lat=53.8, lon=-1.5)

๐Ÿง  Mava Multi-Agent Reinforcement Learning

Mava provides decentralised multi-agent RL for swarm coordination. Each drone is an independent agent learning to cooperate. DEFONEOS trains swarm policies for search-and-rescue, ISR coverage, and perimeter defence.

1

Environment Setup

PX4 SITL + AirSim/Flightmare simulation. N drones in shared airspace. Observation: GPS position, velocity, neighbours, targets. Action: velocity vector, role switch.

2

Reward Shaping

Coverage reward (maximise area scanned), collision penalty, energy efficiency bonus, target capture reward. BFT council can override malicious reward signals.

3

Training (MAPPO)

Multi-Agent PPO with parameter sharing. Centralised critic, decentralised actors. Trained on M2/M3 Mac via JAX. 10M steps per policy iteration.

4

Deployment

Trained policy exported to ONNX. Runs on Raspberry Pi 5 companion computer aboard each drone. Inference <5ms. Real-time swarm coordination.

Swarm PatternDronesStrategyUse Case
Dragonfly (ISR)5-10Decentralised searchArea recon, missing person
Hornet (Strike)3-5Coordinated approachTarget interdiction
Killer Bee (Overwhelm)20-50Saturation swarmAD suppression, decoy
Worker (Logistics)2-4Relay chainComms extension

DEFONEOS Swarm MCP Tools

swarm_launch(pattern="dragonfly", n_drones=8, area="SE-1444") swarm_status() โ†’ {active: 8, formation: "search_grid", coverage: 73%} swarm_recall() โ†’ all drones RTL, formation dissolved

๐Ÿ“ก OpenAthena Geospatial Analysis

OpenAthena performs terrain analysis and target geolocation from drone imagery. Combines DEM (Digital Elevation Model) data with drone telemetry to calculate precise 3D coordinates of ground targets.

1

Image Capture

Drone camera captures ground imagery. Telemetry (GPS, altitude, heading, camera angle) embedded in EXIF or transmitted via MAVLink.

2

DEM Matching

OpenAthena correlates image features against UK Ordnance Survey DTM (Digital Terrain Model). Ray-casting from camera position through terrain model.

3

Coordinate Extraction

Outputs WGS84 latitude/longitude with confidence radius. Typical accuracy: 5-30m from 500m altitude. Better than pure GPS for ground targets.

4

Cesium Visualisation

Geolocated targets displayed on 3D Cesium globe in DEFONEOS C2. Target tracks updated in real-time. Cursor-on-Target (CoT) protocol for TAK interoperability.

DEM SourceResolutionCoverageAccess
OS Terrain 5050m gridUK fullOrdnance Survey (free)
SRTM 30m30m gridGlobal (ยฑ60ยฐ lat)NASA (free)
OS Terrain 55m gridUK fullOrdnance Survey (paid)
LIDAR DTM1m gridUK partialDEFRA (free)

๐Ÿ”Š Batear โ€” $10 Acoustic Counter-Drone

Batear is an ESP32-based acoustic drone detector that costs $10 in parts. Uses frequency analysis to identify the distinctive rotor signatures of common commercial and military drones. Deployable in dense networks.

1

Audio Capture

INMP441 I2S MEMS microphone on ESP32. Samples at 44.1kHz. Continuous monitoring. Power draw: <200mA (solar-compatible).

2

FFT Analysis

On-device Fast Fourier Transform identifies rotor blade frequencies. DJI Phantom: 180-220Hz. DJI Mavic: 140-170Hz. Custom: signature database extensible via MCP.

3

Detection & Alert

Positive detection triggers MQTT alert to DEFONEOS C2. Includes bearing estimate (array of 2+ Batears), confidence score, timestamp. All SIGIL-signed.

4

Network Deployment

Distributed mesh of Batear nodes covers 360ยฐ acoustic detection. $100 buys 10 nodes = 500m perimeter coverage. UAV tracking + classification without radar.

Drone TypeBlade freq (Hz)Detection RangeConfidence
DJI Phantom 4190-210300-500m94%
DJI Mavic 3145-165200-400m91%
Autel EVO160-180250-400m89%
PX4 DIYVariable150-300m76%
Military (fixed-wing)80-120500-800m82%

Batear Node BOM

ESP32 DevKit $4.00 INMP441 I2S Mic $2.50 3D printed case $1.50 LiPo 18650 $2.00 Total: $10.00

๐Ÿ”Œ DEFONEOS Drone MCP Tools

The defoneos-counterdrone-mcp and defoneos-tak-mcp expose all autonomous system capabilities through the Model Context Protocol. AI agents can launch, control, and recall swarms programmatically.

ToolInputOutputDescription
drone_takeoffsystem_id, altitudestatusCommand specific drone to take off and hold altitude
drone_waypointsystem_id, lat, lon, altetaSend drone to GPS waypoint
drone_rtlsystem_idstatusReturn to launch
swarm_launchpattern, n_drones, areamission_idLaunch coordinated swarm mission
swarm_statusmission_idJSON statusGet real-time swarm formation, coverage, individual drone status
swarm_recallmission_idstatusRecall all drones in swarm
batear_deploynode_id, locationstatusRegister and activate Batear acoustic detector
batear_scannode_id or "all"detections[]Get acoustic detections with bearing, freq, confidence
openAthena_locateimage, drone_telemetrylat, lon, confidenceGeolocate ground target from drone imagery + DEM
fleet_statusnoneJSON fleetGet all connected drones: battery, position, mode, mission

Integration Example

# ISR Mission: search area, detect targets, geolocate swarm_launch(pattern="dragonfly", n_drones=6, area="SE-1444-NW") โ†’ mission_id: "msn-2026-0705-001" # Monitor swarm_status(mission_id="msn-2026-0705-001") โ†’ {active: 6, coverage: 47%, duration: "00:12:30"} # Batear detects hostile batear_scan(node_id="all") โ†’ [{node: "bat-03", bearing: 142ยฐ, freq: 195Hz, conf: 0.94, ...}] # OpenAthena geolocates openAthena_locate(image="img_0042.jpg", drone_telemetry={...}) โ†’ {lat: 53.8047, lon: -1.5543, confidence: 0.91} # BFT council authorises response (human-in-loop) bft_vote(proposal="engage target Alpha-7", choice="for") โ†’ {consensus: true, votes: 31/33, timestamp: "..."}
DEFONEOS Autonomous Swarm Systems ยท PX4 ยท Mava MARL ยท OpenAthena ยท Batear ยท UK Sovereign ยท CSOAI Certified ยท SIGIL-signed