CONCEPT AND DEVELOPMENTUNMANNED SPORT · #bezpiLOTa · KAIROS DRONE AGENTDocumentation
#bezpiLOTa→Drone Agent→Overview
KairOS / DRONE AGENT / 01

KairOS Drone Agent is designed as #bezpiLOTa’s open onboard companion layer: it connects the flight controller, video, local APIs, communications, cloud telemetry, on-vehicle AI and extensions on a single Linux SBC.

CONCEPT

The target architecture is fully described; readiness of each KairOS feature is verified separately.

KairOS repository ↗
17target board profiles
04integration levels
L0–L7architecture layers
ALPHAKairOS status
01
OPEN COMPUTE LAYER

Everything above the stabilization loop

The flight controller remains responsible for motors, stabilization, GPS and basic sensors. KairOS Drone Agent adds a computing layer alongside it: routing MAVLink, collecting telemetry, processing video, serving local interfaces, connecting radios and networks, running extensions and providing applications with one software interface.

This is a horizontal architecture rather than a closed vertical ecosystem. A single agent should scale from a low-power Raspberry Pi needing only telemetry and communications to a Jetson Orin capable of vision models and autonomous workloads. Consistent service and API boundaries allow the board to change without rewriting upper layers.

01WRITE ONCE

One platform

An extension or integration is developed once and deployed on compatible KairOS profiles.

02FIELD READY DESIGN

Local-first

Local MAVLink, video, REST and configuration do not require a cloud account.

03OPTIONAL CLOUD

Fleet-ready

A cloud MQTT/WebRTC path is added as a secondary route for remote observation and commands.

04SIGNED + SANDBOXED

Secure extensions

Signed packages, separate processes and capability permissions reduce the impact of failures.

02
GET STARTED

One installation workflow on the companion computer

The target installation workflow runs over SSH on Raspberry Pi OS, Ubuntu, Armbian or Debian. The future installer must detect the board, install dependencies, create the system user and directories, write configuration, register systemd services and start the agent. The command becomes a product feature only after KairOS’s own installer is published and verified.

bashKairOS Drone Agent repository
git clone https://github.com/1kairosgo/KairOS_Drone-Agent.git
cd KairOS_Drone-Agent
# Следуйте README выбранной версии
03
LAYERED STACK

Seven boundaries between Linux and the operator

LayerResponsibilityStable boundary
L7Mission Control, dashboard or applicationWebSocket, MQTT, REST, WebRTC
L6Control surfaceTelemetry, parameters, missions, commands
L5ExtensionsSigned .kairosplug, sandbox, capability IPC
L4Flight data transportMAVLink router, video pipeline, MQTT, Wi‑Fi, radio
L3Hardware abstractionBoard detection, GPIO, I²C/SPI, cameras, modems
L2Trust and lifecycleTLS, signed installers, OTA, enrollment
L1Orchestrationsystemd, health monitoring, dependency ordering
L0Operating systemLinux on ARM64 or a compatible architecture

The purpose of layering is to limit the scope of changes. An L5 plugin must not open the flight controller’s UART directly and bypass L4; an L7 web panel must not manage systemd without a verified L6 API. This separation makes behavior observable and individual services replaceable.

04
RUST-FIRST HYBRID

Long-running services in Rust, ecosystem in Python

01NATIVE SERVICES

Rust / critical path

Supervisor, MAVLink router, video pipeline, radio stack and HTTP control surface. Flight data streams require memory safety, predictability and bounded resource consumption.

02EXTENSIBLE LAYER

Python / ecosystem

AI and vision inference, hardware bootstrap, plugin runtime and integrations with libraries already developed in the Python ecosystem.

Services run separately under systemd supervision. A failure in a vision module or extension must not stop the MAVLink router. The health layer collects status and exposes it to the terminal, setup webapp and Mission Control through one status object.

05
CAPABILITIES

What the agent covers

01MAVLINK

Flight link

One FC serial or USB link is shared across WebSocket, TCP, UDP, local services and cloud relay; MAVLink v2 signing passes through transparently.

02H.264

Video

Discovery of CSI, USB UVC and IP cameras, hardware encoding where available, OSD, WHEP/WebRTC and a WFB-ng pipeline.

03MQTT + WEBRTC

Fleet

MQTT telemetry, an HTTP status layer, pairing and WebRTC signaling for the secondary remote path.

04VISION BUS

Autonomy

On-vehicle inference publishes detections to a shared bus for plugins, gimbals and future autonomous features.

05.kairosplug

Extensions

Signed packages run in a subprocess sandbox and receive only operator-granted capabilities.

06LIFECYCLE

Operate

Automatic board detection, local setup, read-only status, health, support summaries and managed updates.

#bezpilOta GCS overview: selected SOFTWARE SITL agent, camera, telemetry, map, onboard computer resources, communications and flight controller.
INTERFACE / VISUAL EXAMPLEThe onboard agent in the operator interface

FC status, video, communications and companion-computer resources appear together. This provides visual context for the agent capabilities described above.

06
HARDWARE ABSTRACTION

Target board profiles

KairOS should detect the board model at boot and enable only features supported by its specific SoC and wiring. The following are target profiles; each will receive a separate status after a reproducible build and testing on real hardware.

FamilyProfiles
Raspberry PiPi 3, Pi 4B, Pi 5, CM3, CM4, CM5
RadxaCM3, CM4, Cubie A7Z, Rock 5C Lite
Orange PiOrange Pi 5
RockchipRK3566, RK3576, RV1126B armv7l
NVIDIAJetson Nano, Jetson Orin Nano
FallbackGeneric ARM64
07
INTEGRATION TIERS

From telemetry to group coordination

01

Tier 1—communications

MAVLink and telemetry over 4G, Wi-Fi or a local network.

02

Tier 2—onboard computing

Video, extensions and vision workloads on the companion computer.

03

Tier 3—full integration

Additional hardware and sensors for autonomous features; specific KairOS validation is required.

04

Tier 4—mesh and swarm

Group coordination and distributed logic. In KairOS, this tier remains a research direction and is not claimed as a released feature.