Agentic Harness for Drone Command and Control

arXiv:2601.15486 · cs.RO · Submitted 2026-01-21 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Robotics Radio. Generated commentary on the latest robotics and control papers.

Rosa: We're looking at the paper: "Agentic Harness for Drone Command and Control".

Paper summary: Rosa: So we're looking at this paper, "Agentic Harness for Drone Command and Control," by Javier No´e Ramos Silva, Peter J. Burke, et al. It tackles that big problem of connecting large language models to actual drones, which has been missing for a long time.

Dev: Exactly. The main thing they're proposing is this unified interface between the large language model and the drone systems using something called the Model Context Protocol, or MCP, and MAVLink, which is that standard way drones talk to each other.

Rosa: They introduce something called "DroneServer," which lets any model that speaks MCP issue commands, ask for telemetry data, request missions, and handle safety functions over ArduPilot and PXfour firmware.

Dev: It's designed to be agnostic to the specific LLM you use; as long as the LLM can speak MCP, it can talk to this server. This architecture is meant to be a scaffold for a higher-level drone large language model operating system where plain language turns into complex missions.

Taro: I'm thinking about that interface—it sounds like if you have a plan in your head, the LLM translates that into something the drone understands without needing custom code for every single model or platform.

Rosa: That’s right, and one of their goals is to make MavSDK coverage much bigger; they raised it from just a small subset to covering almost all the client-side methods.

Dev: They achieved near complete coverage, specifically covering ninety-eight tools out of two hundred thirty-eight client-side methods, which means they documented not applicable for fifteen of them. That’s a pretty solid number for how much the interface maps to what the drone software can actually do.

Taro: But I wonder about the safety aspect; if you're letting an untrusted commander like an LLM issue commands, how do you stop it from doing something dangerous?

Dev: That’s a big part of their work. They built this security and command governance architecture to treat the LLM as a totally untrusted commander. It enforces zero public network exposure and uses per-command authorization with criticality tiers, confirmation handshakes, and even an independent geofence for safety.

Rosa: And they also had to figure out that mismatch between the LLM's stateless nature—just giving a prompt and getting a response—and the continuous flight requirements of a drone needing constant monitoring.

Dev: That’s where their server-side mission-state architecture comes in; it’s designed to resolve that tension by managing state on the server side, which is what allows them to demonstrate an autonomous mission surviving a disconnection for thirty-seven point eight minutes.

Taro: So, if I'm looking at this from a real flight perspective, what does this architecture actually mean for me when I'm trying to test something outside the lab? Does it handle the unexpected well?

Rosa: That’s a key question. They evaluated this interface quantitatively across eleven core models and two firmware stacks in both simulation and on real hardware, testing ten standardized missions. Most of those missions succeeded when judged by flight evidence against what the LLM asked for.

Dev: It confirms their principle that the component that owns the mission state is also the one reporting its status; it makes sense because if you have a long mission, you need a reliable place to store where you are in that sequence.

Taro: So, if I'm testing failure modes, this setup seems built to handle uncertainty by having those server-side guardrails check every single tool call before it actually happens on the drone hardware.

Rosa: That’s right; the system enforces a server-side pipeline that validates every tool call against criticality tiers and bounds before execution via MAVSDK, which they put in place to make sure "the guard fails closed."

Dev: The paper concludes that "the remedy for a fragile long flight is not a better model or a better prompt but putting the mission where the state already lives." That's their main thesis boiled down.

Taro: So, what does this mean for future work? Does this scaffold really lead to something more complex, like drone swarms commanding other drone swarms?

Rosa: They mentioned that this architecture is a scaffold for a higher-level drone large language model operating system, and it also suggests a path toward agent swarms commanding other drone swarms under one security umbrella.

Dev: It’s about making the plain language commands realize complex missions by putting that mission state where it already exists on the server side. That's what they built here, using MCP to bridge the gap between text and flight control.

Taro: It seems like a step toward making drone autonomy more reliable because you're not just relying on the model's immediate response, but on a persistent state machine that can manage long sequences of actions.

Rosa: We see this as moving beyond just getting a single command right; it’s about building an entire system where the LLM is high-level planning and the drone hardware is low-level execution, connected by this robust, standardized bridge.

Conclusion: Rosa: So, this paper is about building something that lets a large language model actually talk to drone control systems for the first time.

Dev: It’s called "Agentic Harness for Drone Command and Control." The authors are focusing on connecting these models to real flight hardware using a new way of doing it.

Rosa: Basically, they’ve created this bridge so you can use plain language to tell a drone what to do, and the model figures out the complex steps needed for the mission.

Dev: It’s about taking something that lives in text, like ChatGPT or another large language model, and making it an operator for a physical drone system running ArduPilot or PXfour firmware.

Rosa: The big idea is that you don't need to write specific code for every single drone platform if the model can follow this new protocol.

Dev: They introduce a thing called the Model Context Protocol, or MCP, which acts like the universal translator between the language model and the drone system itself.

Rosa: And they built this whole structure around it, with a component they call DroneServer that lets any MCP-capable model issue commands over MAVLink.

Dev: It’s really about creating a standard interface so that you can plug in different types of models without rewriting everything for each one.

Rosa: The authors also put some real guardrails on it, treating the language model as if it's an untrusted commander and making sure commands are checked before they actually happen on the drone.

Dev: They show a way to handle those long flights too, by separating what the model plans from what the drone is actually monitoring in real time.

Rosa: So, this isn't just about getting a single command right; it’s about building a whole system where the LLM handles the planning and the drone handles the actual flying.

Dev: It sets up a framework for moving toward those higher-level drone operating systems we need for autonomous fleets.

Rosa: It’s interesting how they showed that most missions worked across eleven different models and two different drone software stacks when tested in both simulation and on real hardware.

Dev: The conclusion is that the solution to making long flights work isn't just a better model or a better prompt, but putting the mission where the state already lives.

Rosa: That means the reliability comes from having a persistent state machine running on the server side that keeps track of where everything is during those long missions.

Dev: This paper points toward how we can build more robust systems for real-world drone operations, moving past just simple remote control commands.

Rosa: Next up, we're going to look at how they actually built this command structure and what it means for testing outside the lab.

University of California, Irvine · University of California, Irvine

cs.RO

Submitted: 2026-01-21

Updated: 2026-11-30

Comments: Revised in response to peer review. 36 pages, 7 figures, 2 tables, 108 references. Supplementary Information (117 pages, Notes S1-S22, 18 figures, 32 tables) attached as an ancillary file. Code: https://github.com/PeterJBurke/droneserver (v2.0.2, doi:10.5281/zenodo.22309419). Data: doi:10.5281/zenodo.24478640

Code: https://github.com/PeterJBurke/droneserver

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 92/100

The gist: Artificial intelligence integrated with drone command and control (physical AI) is being advanced through a unified interface that bridges large language models (LLMs) with drone systems…

Key concepts

MCP (Model Context Protocol)
This protocol acts as the bridge between the LLM and the drone system. It standardizes how a model can request actions or provide context to an agent. It allows different types of AI models to communicate with the drone's control logic in a consistent, defined way.
MAVLink
MAVLink is the universal standard used for communication between ground control stations and drones. This paper integrates MCP with MAVLink so that commands issued by an LLM can be directly understood and executed by the drone's firmware, regardless of the specific drone manufacturer.
Agentic Harness
This is a custom software loop that manages the entire mission execution process. It handles discovery, re-encoding model requests into context for the LLM, and ensures every command follows strict safety rules before being sent to the drone.

Terminology

Summary

Artificial intelligence integrated with drone command and control (physical AI) is being advanced through a unified interface that bridges large language models (LLMs) with drone systems, which was previously missing. p. 0

Where the paper says it

edu; Contributing authors: jramossi@uci. edu; Abstract Artificial intelligence integrated with drone command and control (physical AI) offers a route to autonomy through large language models (LLMs), yet a unified LLM-to-drone interface has been missing.

This work introduces an LLM-agnostic command-and-control interface and an agentic harness that integrates the Model Context Protocol (MCP) with MAVLink, the near-universal drone command-and-telemetry standard. p. 0
Where the paper says it

edu; Abstract Artificial intelligence integrated with drone command and control (physical AI) offers a route to autonomy through large language models (LLMs), yet a unified LLM-to-drone interface has been missing. We present an LLM-agnostic command-and-control interface and agentic harness joining the Model Context Protocol (MCP) to MAVLink, the near-universal drone command-and-telemetry standard: “DroneServer” gives any MCP-capable LLM command, telemetry, mission, and safety functions over ArduPilot and PX4.

The core component is DroneServer, which allows any MCP-capable LLM to issue commands, telemetry requests, missions, and safety functions over ArduPilot and PX4 firmware. This architecture serves as a scaffold for a higher-level drone-LLM operating system where plain language translates into complex missions. p. 1
Where the paper says it

architecture is a scaffold for a higher-level drone-LLM operating system where plain-language commands realize complex missions, and a path to agent swarms commanding drone swarms under one security umbrella. Keywords: Large language model (LLM), drone, unmanned aerial vehicles (UAVs), unmanned aircraft systems (UAS), model context protocol (MCP), MAVLink, command and control, safety, cybersecurity 1 Introduction Autonomy in drones has traditionally been built on onboard image and state processing from onboard sensors [1].

The primary objectives addressed were: (i) establishing a single, standardized interface for any LLM to command any MAVLink/MavSDK compatible drone; (ii) expanding MavSDK coverage from a small subset to the complete client-side surface; (iii) ensuring secure deployment by construction, treating the LLM as an untrusted commander with measured, server-side guardrails; (iv) resolving the architectural mismatch between prompt/response LLMs and continuous flight requirements to enable long missions; and (v) quantitatively evaluating this interface across multiple LLMs and two firmware stacks in both simulation and real hardware. p. 2

Where the paper says it

Objectives. We set out to (i) build a single, standardized interface through which any LLM, behind any host application that speaks MCP, can command any MAVLink/MavSDKcompatible drone; (ii) raise MavSDK coverage from a small subset to the complete client-side surface; (iii) make the deployment secure by construction and treat the LLM as an untrusted commander with measured, server-side guardrails; (iv) resolve the architectural mismatch between prompt/response LLMs and continuous flight so that long missions are possible; and (v) evaluate the interface quantitatively across multiple LLMs and two firmware stacks, in simulation and on real hardware.

The technical approach utilizes MCP as the layer facing the LLM, while MavSDK over MAVLink forms the drone-facing layer. p. 2

Where the paper says it

Figure 1 lays out the goal at its highest level, the concept of operations: an LLM with access to many tools and services, of which drone command and control is simply one more, composable with the rest. We use MCP as the LLM-facing layer and MavSDK over MAVLink as the drone-facing layer; Figure 2 previews what such a server exposes (tools, resources, and prompts, selfdescribingly), with the mechanism deferred to Section 3.

The agentic loop resides in a host application's MCP client, which handles discovery and re-encoding calls into the model's provider-side context.

Key contributions include:

  1. An LLM-agnostic, MAVLink-based command-and-control (C2) interface built on MCP and MAVLink, demonstrated across real and simulated drones using various commercial and locally hosted LLMs. p. 3

    Where the paper says it

    To our knowledge, the first LLM-agnostic and drone-agnostic (within the MAVLink/MavSDK fleet, i. ArduPilot and PX4) drone command-and-control interface built on MCP and MAVLink, demonstrated on both real and simulated drones across multiple commercial and locally hosted LLMs (Section 3).

  2. A custom agentic harness that implements the loop to execute every mission without relying on external agent frameworks or vendor SDKs. p. 3

    Where the paper says it

    A from-scratch agentic harness. The agentic loop that flies every mission (deliver the operator’s request and the 98 tool schemas to a provider’s API, execute the model’s tool-call requests against the server, feed the results back, repeat until the model declares the mission complete) is implemented from scratch: no agent framework and no vendor agents SDK.

  3. Near-complete MavSDK coverage, achieving 98 tools covering 223 of 238 client-side methods (with 15 documented not-applicable). p. 4

    Where the paper says it

    Near-complete MavSDK coverage, fully accounted. 98 tools covering 223 of 238 client-side MavSDK methods, with the remaining 15 documented as notapplicable with reasons (238/238 addressed) (Section 3).

  4. A security and command-governance architecture that treats the LLM as an untrusted commander, enforcing zero public network exposure, per-command authorization with criticality tiers, confirmation handshakes, and an independent geofence. p. 4

    Where the paper says it

    This is a code-surface figure, and we account for the difference rather than let it be read as a capability claim: 61 of the 98 tools were exercised against a real autopilot, 58 were chosen by a model in the scored campaigns, and 3 carry no targeted evidence anywhere in this work (Supplementary Note S4). A security and command-governance architecture that treats the LLM as an untrusted commander of a safety-critical vehicle, with zero public network exposure, per-command authorization and validation, an independent geofence, and measurements of what that governance costs (Section 4).

  5. A server-side mission-state architecture designed to resolve the tension between stateless commands and stateful monitoring during continuous flight; this was demonstrated by a 37. p. 4

    Where the paper says it

    Security is a headline contribution here, not a defensive afterthought. A server-side mission-state architecture for continuous flight, resolving the stateless-command / stateful-monitoring tension and supporting missions far beyond a single conversational context, demonstrated by a 37.

    8-minute autonomous mission surviving a disconnection. p. 0
    Where the paper says it

    Server-side mission state resolves the “fire-andforget” mismatch: a scripted client’s 37. 8-minute mission survived a 4-minute disconnection.

The system architecture distinctly separates the command layer (LLM for high-level planning) from the inner attitude control loops running onboard. p. 1

Where the paper says it

architecture is a scaffold for a higher-level drone-LLM operating system where plain-language commands realize complex missions, and a path to agent swarms commanding drone swarms under one security umbrella. Keywords: Large language model (LLM), drone, unmanned aerial vehicles (UAVs), unmanned aircraft systems (UAS), model context protocol (MCP), MAVLink, command and control, safety, cybersecurity 1 Introduction Autonomy in drones has traditionally been built on onboard image and state processing from onboard sensors [1].

The server implements a stateless command plane and a stateful telemetry/monitoring plane, with the mission-state machine managing long missions by storing state server-side. p. 4
Where the paper says it

Security is a headline contribution here, not a defensive afterthought. A server-side mission-state architecture for continuous flight, resolving the stateless-command / stateful-monitoring tension and supporting missions far beyond a single conversational context, demonstrated by a 37.

Security is enforced through a server-side pipeline that validates every tool call against criticality tiers, bounds, geofences, and preconditions before execution via MavSDK; this architecture ensures the guard fails closed.

Evaluation involved a standardized suite of ten missions (Mission 1–Mission 10), including safety missions (Missions 8 and 9) designed to be refused. Results indicated that across eleven core models and two firmware stacks, most missions succeeded when judged by flight evidence against per-mission assertions. p. 2

Where the paper says it

Objectives. We set out to (i) build a single, standardized interface through which any LLM, behind any host application that speaks MCP, can command any MAVLink/MavSDKcompatible drone; (ii) raise MavSDK coverage from a small subset to the complete client-side surface; (iii) make the deployment secure by construction and treat the LLM as an untrusted commander with measured, server-side guardrails; (iv) resolve the architectural mismatch between prompt/response LLMs and continuous flight so that long missions are possible; and (v) evaluate the interface quantitatively across multiple LLMs and two firmware stacks, in simulation and on real hardware.

The architecture confirms the principle that the component that owns the mission state must be the one reporting mission status.

In summary, the paper concludes that the remedy for a fragile long flight is not a better model or a better prompt but putting the mission where the state already lives. The overall system is described as a scaffold for a higher-level drone-LLM operating system where plain-language commands realize complex missions, featuring an Operator (MCP server) communicating with an agentic loop (host application's MCP client), which in turn executes model requests via the MCP server's safety layer before reaching the vehicle over MAVLink.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Agentic Harness Implementation: A from-scratch agentic harness is implemented that "flies every mission (deliver the operator’s request and the 98 tool schemas to a provider’s API, execute the model’s tool-call requests against the server, feed the results back, repeat until the model declares the mission complete). This allows for a provider-agnostic" loop without relying on vendor agents SDKs or proprietary frameworks.

  2. LLM-Agnostic Command Interface: The system provides an LLM-agnostic, MAVLink-based MCP command-and-control (C2) interface that joins the Model Context Protocol (MCP) with MAVLink, allowing any MCP-capable LLM to command any MAVLink/MavSDK compatible drone.

  3. Server-Side Safety and Validation: A server-side mission state architecture for continuous flight is established where the component that owns the mission state must be the component reporting mission status, ensuring that long missions are possible by moving monitoring server-side rather than relying on a single conversational context.

  4. Zero Public Exposure Security: The deployment enforces a security posture with zero public ports (externally verified) by confining all components within a WireGuard/Tailscale overlay network, where the only traffic crossing it is the host’s outbound API calls to the LLM provider.

  5. Robust Command Governance: A safety and command-governance architecture treats the LLM as an untrusted commander of a safety-critical vehicle by implementing a server-side pipeline that includes authentication, state checking, tier classification, boundary checks, and confirmation tokens before executing any tool call.

Abstract

Large language models (LLMs) offer a route to drone autonomy (physical AI), yet a unified LLM-to-drone interface is missing. We present DroneServer, an agentic harness joining the Model Context Protocol (MCP) to MAVLink: any LLM with function calling can fly ArduPilot and PX4 aircraft through 98 tools. The LLM is an untrusted commander: the server validates every command and an independent geofence bounds the aircraft. In 1,010 simulated flights, scored from telemetry, not the model's report, eight of eleven models passed at least 90% of six routine missions on ArduPilot and seven on PX4. With the first mission's hold time also scored, only one and three did. Whatever holds mission state must report it: about half of failed trials were reported as successes, most on the model's word. Before a dangerous command, the server asks the model to confirm by returning a one-time code. This did not restrain a model under prompt injection: it returned the code and cut the motors. In 110 geofence-violation trials no aircraft left the zone: models declined 48, the server blocked 62. A scripted client with no model flew a 37.8-minute mission through a 4-minute disconnection; with a model supervising, three of nine long missions passed. On two real quadcopters, five providers' models flew an unseen mission in all ten cells, in twenty attempts. The architecture is a scaffold for a drone-LLM operating system where plain-language commands realize complex missions, and a path to agent swarms commanding drone swarms under one security umbrella.

Sources

Related papers