Managed Autonomy at Runtime:
Gear-Based Safety and Governance for Single- and
Multi-Agent Cyber-Physical Systems

Srini Ramaswamy
CEO & AI Strategist
DNRS.ai, USA
srini@computer.org

,

Wang Miaosheng
Independent Researcher
ORCID: 0009-0003-2767-2421
wmsmiaosheng@outlook.com


Abstract

Autonomous agents, whether LLM-driven software agents or robotic physical agents, face a common class of failure modes when operating without continuous human oversight: safety violations from unverified actions, behavioral instability from unconstrained loops, and continuity loss from unhandled error states. We develop EntropyRuntime, a discrete-time control system that combines five execution gears (Observe, Suggest, Plan, Execute, Integrate) with utility-gated dispatch and event-driven fallback. For the single-agent case, we prove monotonic stability, execution safety, eventual stabilization, fallback completeness, and equivalence to a gear-constrained Markov decision process. For multi-agent cyber-physical systems (CPS), we apply the established SMARt managed-autonomy lifecycle and map runtime evidence into its four governance states (Stable/Meta-Cognitive/Assisted/Regulated). Consensus gating, swarm-level Lyapunov analysis, per-agent gear authority, and rendezvous control provide distributed safety and stability guarantees, including zero collision under the stated assumptions. We evaluate the resulting runtime on a three-agent UR5 robotic assembly cell using fault magnitudes calibrated from the NIST Degradation Measurement of Robot Arm Position Accuracy dataset across 10,000 Monte Carlo episodes. It achieves a 99.6% anomaly detection rate versus 2.1% for the single-agent baseline, reduces detection latency by \(3.5\times\), and supplies a formal physical-workspace safety certificate. The execution gears act as micro-level permissions beneath the SMARt runtime governance states, separating action control from autonomy governance.

Keywords: managed autonomy, AI governance, autonomous agents, runtime verification, gear-based safety, utility gating, multi-agent systems, cyber-physical systems, Lyapunov stability, robotic assembly

1 Introduction↩︎

The emergence of large language model (LLM) agents capable of multi-step reasoning, tool use, and environment interaction has created a new class of autonomous systems [1], [2]. These agents operate in closed loops that receive observations, generate plans, execute actions via external tools, and incorporate feedback, often without requiring human approval for each step. Simultaneously, robotic and cyber-physical agents increasingly operate in shared physical workspaces where sensor faults, coordination failures, and unsafe actions carry immediate physical consequences. Both settings share a structural problem: the agent’s autonomy is granted in a binary and static fashion, with no principled mechanism for dynamically adjusting the scope of permissible actions in response to observed safety signals.

Autonomous agents face three interrelated failure modes. First, safety violations: the agent may issue actions that produce irreversible side effects without adequate verification [3]. Second, behavioral instability: the agent may oscillate between strategies, fail to converge, or enter degenerate loops [4]. Third, continuity loss: the agent may halt unexpectedly, losing accumulated context and requiring costly manual restarts. In multi-agent CPS, a fourth failure mode emerges: coordination blindness, where one agent’s sensor fault carries consequences for all neighbors yet the per-agent control layer is structurally incapable of detecting or responding to it.

We develop EntropyRuntime to address these failure modes through gear-based action control. At each cycle, one of five gears limits the scope and impact of permissible actions, and a utility gate evaluates every candidate before dispatch. For multi-agent CPS, we use the SMARt framework, which models autonomy as a four-state lifecycle in which authority is continuously validated and may be suspended, assisted, or revoked [5]. We refer to these modes as the SMARt runtime governance states. A consensus gate coordinates dispatch across agents, while the gear assigned to each agent defines its permitted action scope.

The paper therefore concentrates on action-level enforcement and physical-CPS certification rather than redefining the governance lifecycle. The gears \(G_0\) through \(G_4\) operate beneath Stable, Meta-Cognitive, Assisted, and Regulated, linking authority decisions to executable behavior.

Our contributions are as follows:

  1. We formalize the gear state abstraction, spanning \(G_0\) through \(G_4\), with well-defined transitions and prove monotonic stability (Theorem 1) and eventual stabilization (Theorem 3).

  2. We formalize utility-gated execution and prove execution safety: no action with negative utility is ever dispatched (Theorem 2).

  3. We design an event-driven fallback mechanism and prove fallback completeness: every recoverable error state admits a resumption path (Theorem 4).

  4. We establish a representation theorem (Theorem 5) connecting EntropyRuntime to the Markov decision process formalism.

  5. We conduct an ablation study demonstrating that each single-agent component is necessary for safety, stability, and continuity.

  6. We map multi-agent runtime evidence into the SMARt governance states through a consensus utility gate, swarm Lyapunov function, per-agent gear authority, and a rendezvous policy triple (Definitions 7 through 11).

  7. We establish five distributed results covering execution and rendezvous safety, monotonic workspace stability, feedback-coupled attenuation, and collision avoidance (Theorems 6, 7, and 8; Corollaries 1 and 2).

  8. We evaluate the multi-agent runtime on a three-agent UR5 robotic assembly cell over 10,000 Monte Carlo episodes, demonstrating a \(47.7\times\) improvement in anomaly detection over the single-agent baseline.

Section 2 reviews related work, and Section 3 establishes the formal model. Section 4 describes the EntropyRuntime single-agent architecture. Section 5 presents the single-agent guarantees and component ablation. Section 6 defines multi-agent governance and control, followed by the distributed guarantees in Section 7. Section 8 combines the UR5 CPS case study, experimental setup, results, and component ablation. Section 9 discusses implications, deployment considerations, and limitations, and Section 10 concludes. Complete proofs appear in Appendices 11 and 12.

2 Related Work↩︎

The underlying view of autonomy as revocable rather than permanently granted [5] aligns with taxonomies that vary authority according to task risk, environmental predictability, and demonstrated reliability [6]; with corrigibility research on resistance to human intervention [7]; and with systems-theoretic safety, where accidents arise from inadequate control actions and constraints as well as component faults [8]. The present work supplies the execution layer by linking those governance states to five runtime gears.

Contemporary LLM-agent systems combine reasoning, tool use, feedback, and repeated environment interaction [9][11]. Communication standards such as the Model Context Protocol address how agents and tools exchange context [12], whereas verification frameworks evaluate whether proposed tool calls or agent behaviors satisfy safety specifications  [3], [4]. These approaches are complementary to the present architecture. Rather than changing the reasoning model or communication protocol, EntropyRuntime is interposed between reasoning and execution, evaluates every candidate action through a utility gate, and invokes fallback or authority reduction when the action is not admissible.

The broader AI-safety literature identifies unsafe exploration, unintended side effects, and scalable oversight as persistent problems [13], while human-compatible AI emphasizes objectives whose operation remains aligned with human preferences and intervention [14]. Hierarchical reinforcement learning provides temporal abstraction across levels of action [15], and methods such as soft actor-critic and curiosity-driven exploration regulate exploration statistically through rewards, entropy, or intrinsic motivation  [16], [17]. The gear mechanism differs in purpose: it imposes an explicit action-space restriction and dispatch invariant, so safety does not depend solely on what an agent has learned or on the shape of its reward function.

The runtime design also draws from real-time and stochastic control. Real-time systems research distinguishes hard and soft timing guarantees and emphasizes predictable response under operational constraints [18]. The discrete gear process is analyzed using finite-state Markov-chain concepts  [19], while the representation result connects the runtime to the classical MDP and dynamic-programming formalism [20], [21]. Information theory supplies the interpretation of the entropy term \(H_i\) as a penalty for degraded telemetry [22]. For multi-agent operation, the consensus literature establishes convergence conditions for networked agent systems  [23]; our consensus gate uses a more conservative execution predicate, \(\min_i U_i \geq \theta\), under which any unsafe local assessment blocks joint dispatch without depending on message agreement.

Finally, multi-robot research has used workspace decomposition and velocity scaling to coordinate teams in shared industrial environments [24], while surveys of heterogeneous robot teams identify sensor heterogeneity and coordination fragility as major operational risks [25]. The multi-agent runtime combines these concerns in one control structure: Meta-Cognitive applies bounded velocity reduction, Regulated enforces an E-Stop, the entropy-aware local utility detects telemetry degradation before geometry alone becomes critical, and the swarm Lyapunov function certifies workspace behavior. This integrates governance transitions, action gating, distributed coordination, and CPS safety.

3 Formal Preliminaries↩︎

We work in discrete time \(t \in \mathbb{N}\). At each cycle \(t\), the agent observes an environment state \(s_t \in \mathcal{S}\), selects an action \(a_t \in \mathcal{A}\), and receives a reward signal \(r_t \in \mathbb{R}\).

Definition 1 (Gear State Space). The gear state space* is \(\mathcal{G} = \{G_0, G_1, G_2, G_3, G_4\}\), representing Observe (\(G_0\)), Suggest (\(G_1\)), Plan (\(G_2\)), Execute (\(G_3\)), and Integrate (\(G_4\)).*

Each gear \(G_k\) defines a restricted action subspace \(\mathcal{A}_k \subseteq \mathcal{A}\) with \(\mathcal{A}_0 \subset \mathcal{A}_1 \subset \mathcal{A}_2 \subset \mathcal{A}_3 \subset \mathcal{A}_4 = \mathcal{A}\). Concretely: \(G_0\) provides observation or a safe hold; \(G_1\) allows candidate plan generation without external side effects; \(G_2\) permits bounded, reversible, or safety-preserving recovery actions, including information queries and reduced-velocity continuation of a previously authorized command; \(G_3\) allows independently selected actions with side effects; and \(G_4\) denotes integrated system-level coordination under the governing macro-state.

Definition 2 (Utility Function). The utility function \(U: \mathcal{S} \times \mathcal{A} \to \mathbb{R}\) maps a state-action pair to a real-valued utility score. An action \(a\) is admissible* in state \(s\) if \(U(s,a) \geq 0\).*

Definition 3 (Utility Gate). The utility gate \(\mathrm{\small Gate}(s,a)\) is a binary predicate: \[\mathrm{\small Gate}(s,a) = \begin{cases} 1 & \text{if } U(s,a) \geq \theta \\ 0 & \text{otherwise} \end{cases}\] where \(\theta \geq 0\) is the safety threshold.

Definition 4 (Runtime State). The runtime state* at cycle \(t\) is the tuple \(\rho_t = (s_t, g_t, \sigma_t, \epsilon_t)\) where \(s_t \in \mathcal{S}\) is the environment state, \(g_t \in \mathcal{G}\) is the current gear, \(\sigma_t \in \mathbb{R}_{\geq 0}\) is the accumulated instability measure, and \(\epsilon_t \in \{0,1\}\) is the error flag.*

Definition 5 (Transition Kernel). The transition kernel \(T: \mathcal{R} \times \mathcal{A} \to \Delta(\mathcal{R})\) maps a runtime state and action to a distribution over next runtime states, where \(\mathcal{R} = \mathcal{S} \times \mathcal{G} \times \mathbb{R}_{\geq 0} \times \{0,1\}\).

4 The EntropyRuntime Architecture↩︎

EntropyRuntime is a discrete-time closed-loop control system interposed between an LLM agent and its execution environment. At each cycle the system performs four phases: (1) observation and gear assessment, (2) action generation, (3) utility gating, and (4) execution and feedback.

None

Figure 1: The EntropyRuntime control loop..

4.0.0.1 Gear state machine.

Gear transitions follow a deterministic policy \(\pi_G: \mathcal{R} \to \mathcal{G}\): (1) Escalation: if \(\sigma_t < \sigma_{\text{low}}\) and no errors persist for \(h\) consecutive cycles, \(g_{t+1} = \min(g_t + 1, G_4)\); (2) De-escalation: if \(\sigma_t > \sigma_{\text{high}}\) or \(\epsilon_t = 1\), \(g_{t+1} = \max(g_t - 1, G_0)\); (3) Hold: otherwise, \(g_{t+1} = g_t\).

4.0.0.2 Utility-gated execution.

The utility function is computed as: \[U(s,a) = \alpha \cdot \Delta\text{task}(s,a) + \beta \cdot \text{safety}(s,a) - \gamma \cdot \text{cost}(a)\] where \(\alpha, \beta, \gamma > 0\) are tunable weights. When an action is rejected, the fallback mechanism is invoked.

4.0.0.3 Event-driven fallback.

Upon rejection: (1) the system records the rejection and increments \(\sigma_t\); (2) the agent generates an alternative \(a'_t \in \mathcal{A}_{g_t}\); (3) after \(k\) failed alternatives, the gear de-escalates and the cycle repeats; (4) after \(m\) consecutive rejections, the system enters Observe and suspends execution pending human review.

Figure 2: EntropyRuntime Control Loop

5 Single-Agent Formal Guarantees and Ablation↩︎

5.1 Formal Guarantees↩︎

We state five theorems characterizing EntropyRuntime in the single-agent case. Complete proofs appear in Appendix 11.

Theorem 1 (Monotonic Stability). Let \(\{\sigma_t\}_{t \geq 0}\) be the instability sequence generated by EntropyRuntime with initial gear \(g_0 = G_0\). Then for all \(t \geq 0\): \(\mathbb{E}[\sigma_{t+1} \mid \sigma_t] \leq \sigma_t\).

Proof Sketch. Accepted actions reduce \(\sigma\) by \(\delta\); rejected actions increase it by \(\Delta\sigma\) but trigger gear de-escalation, shrinking the action space and increasing the gate acceptance probability. A coupling argument shows expected decreases dominate increases. See Appendix 11.1. \(\square\) ◻

Theorem 2 (Execution Safety). Under EntropyRuntime with \(\theta \geq 0\): \(\forall t \geq 0:\;a_t\;\text{executed} \implies U(s_t,a_t) \geq \theta \geq 0\).

Proof Sketch. The gate is the sole dispatch mechanism; execution requires \(\mathrm{\small Gate}= 1\), which requires \(U \geq \theta \geq 0\). This holds for both primary and fallback actions. See Appendix 11.2. \(\square\) ◻

Theorem 3 (Eventual Stabilization). Under a stationary environment and bounded \(U\), EntropyRuntime reaches a fixed gear \(g^* \in \mathcal{G}\) in finite time almost surely: \(\exists\, g^* \in \mathcal{G},\;T^* < \infty:\;\forall t \geq T^*,\;g_t = g^*\) a.s.

Proof Sketch. The gear process is a Markov chain on the finite space \(\mathcal{G}\). The Foster-Lyapunov theorem with \(V(\rho) = \sigma + C\cdot\mathbf{1}[\epsilon=1] + D\cdot k(g)\) certifies positive recurrence; the only recurrent classes are singletons. See Appendix 11.3. \(\square\) ◻

Theorem 4 (Fallback Completeness). For every error state \(\rho = (s, g, \sigma, 1)\), the fallback mechanism guarantees either (1) an admissible action \(a'\) with \(U(s,a') \geq \theta\), or (2) descent to \(G_0\) in at most \(|\mathcal{G}| - 1 = 4\) steps.

Proof Sketch. Each failed attempt de-escalates by one gear; after at most 4 steps, the system reaches \(G_0\) where read-only actions trivially admit non-negative utility. See Appendix 11.4. \(\square\) ◻

Theorem 5 (Representation Theorem). There exists an MDP \(\mathcal{M} = (\mathcal{R}, \mathcal{A}, T, R, \gamma)\) such that the set of EntropyRuntime policies equals the set of gear-constrained stationary policies in \(\mathcal{M}\), and the value functions are identical.

Proof Sketch. Construct \(\mathcal{M}\) with state space \(\mathcal{R}\), reward \(R(\rho,a) = U(s,a)\cdot\mathrm{\small Gate}(s,a)\), and transition kernel inherited from the runtime. Gear-constrained policies in \(\mathcal{M}\) biject with EntropyRuntime policies; value equivalence follows from the identical dynamics. See Appendix 11.5. \(\square\) ◻

5.2 Component Ablation↩︎

We validate the necessity of each single-agent component over 100 autonomous cycles per condition, measuring Stability (\(\sigma\), completion rate), Risk (unsafe actions), and Continuity (halts, fallback frequency).

Table 1: Single-agent ablation. Each condition runs 100 cycles.
Condition Stability Risk Cont.
Full system \(\sigma<0.5\), 100% 0 unsafe 0 halts
\(-\)Gear \(\sigma\approx1.2\), 82% 4 near-unsafe 0 halts
\(-\)Gating \(\sigma\approx3.1\), 61% 9 unsafe 0 halts
\(-\)Fallback \(\sigma<0.5\), 100% 0 unsafe 7 halts
\(-\)Utility \(\sigma\approx4.7\), 43% 12 unsafe 2 halts
Raw LLM Oscillates 27 unsafe 3 halts

5.2.0.1 Interpretation.

The gear abstraction is essential for stability: its removal raises \(\sigma\) from \(<0.5\) to \(\approx 1.2\) and drops completion from 100% to 82%. Utility gating is the primary safety barrier; its removal produces 9 unsafe actions. The fallback is essential for continuity: its removal causes 7 halts while leaving safety intact. The raw LLM loop produces 27 unsafe actions and requires manual restarts, confirming the necessity of a formal control layer.

6 SMARt Runtime Governance for Multi-Agent Control↩︎

The single-agent formulation established monotonic stability (Theorem 1) and execution safety (Theorem 2) for one agent operating in isolation. For multi-agent CPS, runtime evidence is mapped into the SMARt governance states through five mechanisms: a consensus utility gate, a swarm Lyapunov function, state-transition thresholds, per-agent gear authority, and a rendezvous policy triple. Together they coordinate joint dispatch, certify workspace stability, and specify drain, hold, and return behavior. Their purpose is enforcement within the CPS configuration; the underlying governance semantics remain unchanged.

6.0.0.1 Joint runtime state.

The runtime is configured for a team of \(n\) agents sharing a physical workspace. Let \(\mathcal{I} = \{1,\ldots,n\}\) be the agent index set. Each agent \(i \in \mathcal{I}\) maintains its own runtime state \(\rho_t^i = (s_t^i, g_t^i, \sigma_t^i, \epsilon_t^i)\) as in Definition 4.

Definition 6 (Joint Runtime State). The joint runtime state* at cycle \(t\) is the tuple \(\rho_t^{1:n} = (\rho_t^1, \ldots, \rho_t^n, x_t)\) where \(x_t \in \mathcal{X}\) is the shared workspace state observable by all agents.*

6.1 Consensus Utility Gate↩︎

Definition 7 (Consensus Utility Gate). The consensus utility gate \(\mathrm{\small Gate}_c(x_t, a_t^{1:n})\) is: \[\mathrm{\small Gate}_c(x_t, a_t^{1:n}) = \begin{cases} 1 & \text{if } \min_{i \in \mathcal{I}} U_i(s_t^i, a_t^i) \geq \theta \\ 0 & \text{otherwise} \end{cases}\] where \(U_i\) is the local utility of agent \(i\) and \(\theta \geq 0\) is the threshold of Definition 3.

Joint execution is permitted if and only if every agent individually satisfies \(\theta\). Any single agent below \(\theta\) blocks the entire team without requiring inter-agent communication; this structurally conservative property cannot be weakened by message delays.

The local utility for agent \(i\) follows Definition 2 with two adaptations: \[U_i(s_t^i, a_t^i) = \alpha \cdot \Delta\text{task}_i - \beta \cdot \text{risk}_i - \gamma \cdot H_i\] where \(\text{risk}_i\) is a collision-risk score from perceived pairwise clearance (Section 8) and \(H_i\) is the differential entropy of agent \(i\)’s sensor noise distribution. The entropy term \(H_i\) extends the resource-cost component of Definition 2 to penalise agents with degraded telemetry before utility falls below \(\theta\). This provides an early-warning signal that the single-agent formulation cannot provide.

6.2 Runtime Governance-State Mapping↩︎

Definition 8 (Swarm Lyapunov Function). Let \(\hat{p}_i(t)\) denote the perceived* end-effector position of agent \(i\) and \(p_i^*(t)\) its nominal trajectory position. Following standard Lyapunov stability theory [26], the swarm Lyapunov function is: \[\begin{align} V_{\mathrm{swarm}}(t) &= \sum_{i \in \mathcal{I}} \|\hat{p}_i(t) - p_i^*(t)\|^2 \\ &\quad + \lambda \sum_{i \in \mathcal{I}} \tilde{\sigma}_i(t)^2 . \end{align}\] where \(\lambda > 0\) and \(\tilde{\sigma}_i(t) = \|\hat{p}_i(t) - p_i(t)\|\) is agent \(i\)’s sensor drift magnitude. Note: \(\tilde{\sigma}_i\) is the sensor drift magnitude; it is distinct from the scalar runtime instability measure \(\sigma_t\) of Definition 4.*

Definition 9 (SMARt Runtime Governance-State Mapping). The active SMARt governance state \(\psi_t\) is determined by: \[\psi_t = \begin{cases} \mathrm{\small Regulated}{}, & r_{\max}(t) \geq \tau_{\mathrm{crit}}, \\ \mathrm{\small Assisted}{}, & \mathrm{\small Gate}_c = 0,\;r_{\max}(t) < \tau_{\mathrm{crit}}, \\ \mathrm{\small Meta-Cognitive}{}, & \mathrm{\small Gate}_c = 1,\;r_{\max}(t) \geq \tau_{\mathrm{meta}}, \\ \mathrm{\small Stable}{}, & \text{otherwise}. \end{cases}\] where \(r_{\max}(t) = \max_{i \in \mathcal{I}} \text{risk}_i(t)\) and \(0 < \tau_{\mathrm{meta}}< \tau_{\mathrm{crit}}\leq 1\).

The two thresholds produce a graduated response. The governance state determines authority, and the gear defines the permitted action scope. In Stable, new task-level action may be authorized. When \(r_{\max}\) first exceeds \(\tau_{\mathrm{meta}}\), the system enters Meta-Cognitive: new discretionary task selection is suspended. Only bounded diagnostic or recovery actions, including completion of a previously authorized low-level command, may continue at reduced velocity. Assisted freezes autonomous task progression and requires external-agent or SME support when the gate closes before \(r_{\max}\) reaches \(\tau_{\mathrm{crit}}\). When \(r_{\max}\) exceeds \(\tau_{\mathrm{crit}}\), Regulated triggers a hardware emergency stop regardless of gate state. Authoritative autonomous decisions therefore originate only in Stable, while the controller can still reach a safe hold without discarding an already authorized epoch.

6.3 Per-Agent Gear and the G3/G4 Consensus Elevation↩︎

In this multi-agent runtime configuration, \(G_4\) (Integrate) is not a gear any individual agent can occupy independently. It is an emergent system-level property: the cell achieves \(G_4\) only when every agent simultaneously holds \(G_3\) (Execute).

Definition 10 (Per-Agent Gear and System Gear). The per-agent gear* \(g_t^i\) is: \[g_t^i = \begin{cases} G_0 & \text{if } \emph{risk}_i(t) \geq \tau_{\mathrm{crit}}\\ G_1 & \text{if } U_i(s_t^i, a_t^i) < \theta \quad \text{(gate closed for agent }i\text{)} \\ G_2 & \text{if } \emph{risk}_i(t) \geq \tau_{\mathrm{meta}}\\ G_3 & \text{otherwise (cleared for autonomous execution)} \end{cases}\] The system gear \(k(\psi_t)\) is \(G_4\) if \(\psi_t = \mathrm{\small Stable}{}\); \(G_2\) if \(\psi_t = \mathrm{\small Meta-Cognitive}{}\); \(G_1\) if \(\psi_t = \mathrm{\small Assisted}{}\); \(G_0\) if \(\psi_t = \mathrm{\small Regulated}{}\). The consensus elevation holds: \[k(\psi_t) = G_4 \iff \forall i \in \mathcal{I}: g_t^i = G_3\]*

No individual agent is assigned \(G_4\) in isolation. When any agent falls below \(G_3\), the system gear descends and the active governance state transitions out of Stable. The velocity scales are: \(v(G_0) = v(G_1) = 0\); \(v(G_2) = 0.5\); \(v(G_3) = v(G_4) = 1.0\). The \(G_2\) scale is a safety-controller allowance for bounded recovery or epoch drain, not continued discretionary autonomy.

6.4 Epoch-Synchronised Rendezvous and the Policy Triple↩︎

The single-agent cycle (Section 4) is atomic per step. For a multi-agent team, the gate must evaluate the joint state, requiring all agents to complete their current action before the gate decides the next gear. We model this as an epoch-synchronised (bulk-synchronous) execution structure.

Within-epoch: agents execute their current command independently, at the velocity scale inherited from the previous epoch’s gate decision. Epoch boundary: the gate evaluates the perceived joint state, produces new per-agent gears and an updated governance state, and the new gear takes effect next epoch. \(G_0\) exception: Regulated bypasses the epoch boundary as a hardware interrupt the moment \(r_{\max} \geq \tau_{\mathrm{crit}}\) is detected mid-epoch.

This structure gives rise to drain semantics: when a fault is detected at the epoch boundary, the faulting agent completes the current epoch before the new velocity scale applies.

Definition 11 (Rendezvous Policy Triple). A rendezvous policy triple* \(\Pi = (\Pi_d, \Pi_h, \Pi_r)\) specifies:*

  • \(\Pi_d\) selects Complete Epoch or Immediate descent, determining whether gear descent occurs at the next epoch boundary or mid-epoch.

  • \(\Pi_h\) selects Hard Dependency or Continue Independent, determining whether non-faulting agents freeze with the faulting agent (Assisted state) or continue at their own per-agent gear \(g_t^j\).

  • \(\Pi_r = (\Pi_{ms}, \Pi_{rts})\) defines two return policies: \(\Pi_{ms}\) governs the transition from Meta-Cognitive to Stable, while \(\Pi_{rts}\) governs the transition from Regulated to Stable. Each policy is one of SME Explicit, Auto Continue\([\delta]\), or Reset Restart. The Auto Continue\([\delta]\) policy ascends after \(\delta\) consecutive clean epochs with \(r_{\max} < \tau_{\mathrm{meta}}\); Reset Restart requires a full restart from a verified safe configuration.

The UR5/NIST instantiation uses \[\begin{align} \Pi_d &= \mathrm{\small Complete Epoch}, \\ \Pi_h &= \mathrm{\small Continue Independent}, \\ \Pi_r &= \bigl(\mathrm{\small Auto Continue}[\delta{=}3],\; \mathrm{\small Reset Restart}\bigr). \end{align}\] justified by three validity conditions: V1 (drain): the fault is in the camera layer, not the encoder-based actuator; completing the epoch does not alter the robot’s physical trajectory; V2 (hold): nominal trajectories are geometrically independent, so non-faulting agents self-limit through their own per-agent gate if the faulting agent’s drift raises their perceived risk; V3 (return): \(\delta = 3\) clean epochs below \(\tau_{\mathrm{meta}}\) is strictly more conservative than the single-epoch exit condition, with the OU mean-reversion process ensuring contraction.

6.4.0.1 Single-agent reduction.

Setting \(n = 1\) collapses \(\mathrm{\small Gate}_c\) to \(\mathrm{\small Gate}(s,a)\) (Definition 3), and the pairwise collision terms vanish. If a single-agent domain risk signal is supplied, the four SMARt governance states remain available; without such a signal, the runtime reduces to the gate-driven behavior of Section 4. Distributed execution safety and distributed monotonic stability then reduce to their single-agent counterparts (Theorems 2 and 1). The stabilization, fallback, and representation results remain properties of the underlying single-agent runtime, while the policy triple degenerates to its fallback and restart logic.

7 Formal Results: Multi-Agent System↩︎

We now state the distributed safety and stability results for the multi-agent runtime. Complete proofs appear in Appendix 12.

Theorem 6 (Distributed Execution Safety). Under the consensus utility gate (Definition 7) and any policy triple \(\Pi\): \[\forall t \geq 0:\;\mathrm{\small Gate}_c = 1 \implies \forall i \in \mathcal{I}: U_i(s_t^i, a_t^i) \geq \theta \geq 0\] Distributed execution safety is a structural invariant of the consensus gate, independent of the choice of \(\Pi\).

Proof Sketch. \(\mathrm{\small Gate}_c = 1\) requires \(\min_i U_i \geq \theta\) by Definition 7, immediately implying \(U_i \geq \theta \geq 0\) for all \(i\). Theorem 2 applies to each agent independently. The policy triple governs drain, hold, and return behavior. Any continuation in Meta-Cognitive is restricted to the bounded \(\mathcal{A}_2\) action set and remains subject to the same utility gate. See Appendix 12.1. \(\square\) ◻

Corollary 1 (Rendezvous Safety). Let \(\Pi_h = \mathrm{\small Continue Independent}\) with validity conditions V1 through V3 (Definition 11). Then: (a) under V1, no collision occurs during the drain phase; (b) under V2, every non-faulting agent \(j\) satisfies \(U_j \geq \theta\) throughout the hold phase; (c) under V3, the system does not re-enter Stable prematurely. See Appendix 12.2.

Theorem 7 (Distributed Monotonic Stability). Let \(\{V_{\mathrm{swarm}}(t)\}_{t \geq 0}\) be generated under the multi-agent runtime policy with any \(\Pi\) satisfying V1 and V2. Then for all \(t \geq 0\): \[\mathbb{E}[V_{\mathrm{swarm}}(t) - V^*] \leq \alpha^{2t}(V_{\mathrm{swarm}}(0) - V^*) + \frac{C}{1-\alpha^2}\] where \(\alpha = 1 - \theta_{\mathrm{ou}}\), \(V^* = (1+\lambda)\|\mu\|^2\), and \(C = (1+\lambda)\cdot 3\sigma_{\mathrm{noise}}^2\). The workspace energy converges geometrically to the bounded invariant set \([0,\;V^* + C/(1-\alpha^2)]\). Under Continue Independent, non-faulting agents contribute zero increments to \(V_{\mathrm{swarm}}\); the bound holds uniformly across both \(\Pi_h\) choices.

Proof Sketch. \(V_{\mathrm{swarm}}\) reduces to \((1+\lambda)\|d_A(t)\|^2\) (only the faulting agent carries drift; B/C track nominal within encoder control error \(\varepsilon_{\mathrm{ctrl}}\)). The OU squared-norm recursion gives \(\mathbb{E}[\|d_A(t+1)\|^2] = \|\alpha d_A + (1-\alpha)\mu\|^2 + 3\sigma_{\mathrm{noise}}^2\). Setting \(\Delta V(t) = V_{\mathrm{swarm}}(t) - V^*\) and applying Cauchy-Schwarz yields \(\mathbb{E}[\Delta V(t+1)] \leq \alpha^2 \Delta V(t) + C\). Unrolling gives the stated bound (\(\alpha^2 = 0.5625 < 1\); convergent). See Appendix 12.3. \(\square\) ◻

Theorem 7 extends Theorem 1: where Theorem 1 bounds the abstract instability scalar \(\sigma\), Theorem 7 bounds the physical workspace energy \(V_{\mathrm{swarm}}\). The results are complementary: Theorem 1 certifies decision-making stability; Theorem 7 certifies physical-workspace stability.

Corollary 2 (Feedback-Coupled Stability Attenuation). For CPS where sensor drift propagates to the control input with feedback gain \(\alpha_{fb} \in [0,1]\), the Lyapunov recursion acquires an additional coupling term bounded by \(\alpha_{fb}^2 \cdot v^2(\psi_t) \cdot V_{\mathrm{swarm}}(t)\). In Meta-Cognitive state (\(v = 0.5\)), this term is reduced by \(v^2 = 0.25\) relative to Stable; in Regulated (\(v = 0\)), it is eliminated. The binary gate, which permits only \(v \in \{0, 1\}\), cannot achieve the intermediate \(0.25\times\) reduction. See Appendix 12.4.

Theorem 8 (Zero-Collision Guarantee). Under the multi-agent runtime policy with E-Stop (Definitions 9 through 11), policy triple \(\Pi\) satisfying V1, and nominal pairwise clearance \(\geq c_{\mathrm{nom}} > 0\): \[\Pr\!\left(\exists\, t \geq 0,\;i \neq j:\;\|p_i(t) - p_j(t)\| \leq 2r + \Delta_{\mathrm{safe}}\right) = 0\]

Proof Sketch. Under V1 (fault in camera, not actuator), true positions satisfy \(\|p_i(t) - p_i^*(t)\| \leq \varepsilon_{\mathrm{ctrl}} < 2\,\text{mm}\) for all \(i,t\). Nominal trajectories maintain pairwise clearance \(\geq c_{\mathrm{nom}} = 76\,\text{mm} \gg 2\varepsilon_{\mathrm{ctrl}}\); the triangle inequality prevents contact. For feedback-coupled systems (V1 fails), the E-Stop fires at perceived clearance \(\leq -37\,\text{mm}\); since true clearance \(\geq \text{perceived} - \|d_A\|\) and \(\|d_A\| \leq \sigma_{\mathrm{fault}}\) (OU bound), true clearance at E-Stop trigger \(\geq -37 + 120 = 83\,\text{mm} > 0\). See Appendix 12.5. \(\square\) ◻

8 UR5 CPS Case Study and Evaluation↩︎

8.1 Physical and Sensor Setup↩︎

Three Universal Robots UR5 manipulators [27] are mounted at the vertices of an equilateral triangle of circumradius \(R = 0.52\,\text{m}\), oriented inward toward a shared assembly fixture at the workspace origin. Each UR5 has reach \(0.85\,\text{m}\) and bounding-sphere radius \(r = 0.12\,\text{m}\). Nominal end-effector trajectories maintain pairwise inter-sphere clearance of approximately 80 mm throughout fault-free operation: \[\begin{align} p_i^*(t) &= p_{\mathrm{base},i} + d_i\,r_{\mathrm{reach}}(t), \\ r_{\mathrm{reach}}(t) &= 0.49 + 0.01\sin\!\bigl(2\pi(0.2)t + \phi_i\bigr). \end{align}\] Physical collision is defined as \(\|p_i(t) - p_j(t)\| \leq 2r + \Delta_{\mathrm{safe}} = 0.29\,\text{m}\), where \(\Delta_{\mathrm{safe}} = 0.05\,\text{m}\) is a safety margin per ISO/TS 15066 [28] and ISO 10218-1 [29].

8.1.0.1 Sensor architecture and the V1 validity condition.

UR5 robots use joint-space encoders for internal motion control. Cell-level safety monitoring uses an overhead stereo-vision system subject to calibration drift and occlusion errors [27], [30]. This architectural separation is consequential: the robot’s true trajectory is governed by the encoder-based controller and is unaffected by camera errors. Sensor drift biases what the safety monitor perceives; it does not alter what the robot executes. The consensus gate (Definition 7) therefore operates on perceived positions while physical safety is determined by true positions. This validates V1: epoch drain is safe because the actuator (encoder loop) is isolated from the sensor fault.

The collision-risk signal for ordered pair \((i,j)\) is \(\text{risk}_{ij}(t) = \sigma_{\mathrm{logistic}}(-c_{ij}(t)/\Delta_{\mathrm{safe}})\) where \(c_{ij}(t) = \|\hat{p}_i(t) - \hat{p}_j(t)\| - 2r - \Delta_{\mathrm{safe}}\). Thresholds: \(\tau_{\mathrm{meta}}= 0.19\) activates at drift \(\approx 8\,\text{mm}\); \(\tau_{\mathrm{crit}}= 0.65\) activates at drift \(\approx 117\,\text{mm}\).

8.2 Fault Model and Baseline↩︎

We model sensor faults using statistics from the NIST Degradation Measurement of Robot Arm Position Accuracy dataset [31]. At a uniformly random injection time \(t_{\mathrm{anom}} \in [20, 60]\), agent A’s camera reports a directional bias toward agent B. The drift vector \(d_A(t)\) follows an Ornstein-Uhlenbeck process [32]: \[d_A(t+1) = d_A(t) + \theta_{\mathrm{ou}}(\mu - d_A(t)) + \varepsilon(t)\] where \(\mu = \sigma_{\mathrm{fault}}\cdot \hat{u}(p_B - p_A)\), \(\theta_{\mathrm{ou}} = 0.25\), and \(\varepsilon(t) \sim \mathcal{N}(0, \sigma_{\mathrm{noise}}^2 I_3)\) with \(\sigma_{\mathrm{noise}}= 0.10 \cdot \sigma_{\mathrm{fault}}\). The bimodal 90%/10% mixture is a simulation design choice informed by the NIST position-degradation measurements; it is not a class distribution supplied by the NIST dataset. Specifically, 90% of episodes use \(\sigma_{\mathrm{fault}}= 12\,\text{mm}\) (normal calibration drift), and 10% use \(\sigma_{\mathrm{fault}}= 120\,\text{mm}\) (severe multi-fault cascade).

Remark 1 (ASSISTED State Activation). In the bimodal simulation design, Assisted is not activated for either fault regime: normal faults (\(\sigma_{\mathrm{fault}}= 12\,\text{mm}\)) maintain \(U_A \approx 0.264 \gg \theta\) throughout; severe faults (\(\sigma_{\mathrm{fault}}= 120\,\text{mm}\)) drive \(r_{\max}\) to \(\tau_{\mathrm{crit}}\) before utility falls below \(\theta\). Assisted is the appropriate response for intermediate-severity models (\(\sigma_{\mathrm{fault}}\in [20, 80]\,\text{mm}\)) where telemetry degradation closes the gate before risk reaches the E-Stop threshold. The NIST-informed UR5 simulation exercises the Stable\(\to\)Meta-Cognitive\(\to\)Stable path (normal fault) and the Stable\(\to\)Regulated path (severe fault).

8.2.0.1 Baseline condition.

The baseline implements the single-agent gate (Definition 3) applied naively to each agent independently. The cell executes at \(G_4\) (\(v = 1.0\)) when all individual gates are open, and freezes at \(G_0\) (\(v = 0\)) when any gate closes. The baseline has no governance-state layer: \(\tau_{\mathrm{meta}}\), \(\tau_{\mathrm{crit}}\), and the E-Stop are absent. This represents the performance ceiling of the single-agent formulation in a multi-agent setting.

8.3 Experimental Setup↩︎

We run Monte Carlo simulation [33] over \(N = 10{,}000\) episodes with fixed seed 42, \(T = 150\) epochs per episode. Both conditions use identical fault seeds, injection times, and OU parameters. The governed condition uses the UR5 policy triple specified after Definition 11, including Auto Continue\([\delta{=}3]\) for return from Meta-Cognitive and Reset Restart after Regulated.

@l c c c@ Metric & Single-Agent Baseline & & Ratio

Overall convergence rate & 100.0% & 90.2% & N/A
Certified (\(S\to M\to S\)) & 0.0% & 89.9% & N/A
Spurious (anomaly missed) & 97.9% & \(\approx\)0% & N/A

Anomaly detection rate & 2.1% & 99.6% & \(47.7\times\)
Physical collision rate & 0.0% & 0.0% & N/A
Lyapunov certificate (\(V \leq 5V^*\)) & No & Yes & N/A
Per-step monotone bound & No & Yes & N/A

Avg.detection latency (epochs) & 43.1 & 12.2 & \(3.5\times\downarrow\)
Recovery path available & No & Yes & N/A
E-Stop rate & 0.0% & 9.8% & N/A
Audit trace produced & No & 89.9% & N/A

8.4 Results and Analysis↩︎

100% convergence in the baseline masks a 97.9% detection failure rate. Every baseline episode returns to Stable, but for 97.9% this reflects the OU process naturally reverting without any response from the control layer. The system converges despite the fault, not because of it. The governed runtime’s 90.2% convergence is lower in absolute terms but qualitatively different: 89.9% produce a certified \(S\to M\to S\) cycle with a full audit trace. The 9.8% that do not converge are severe-fault episodes correctly escalated to Regulated, which is the appropriate response to a multi-fault cascade.

The consensus gate is necessary but not sufficient. For normal faults (\(\sigma_{\mathrm{fault}}= 12\,\text{mm}\)), \(U_A \approx 0.264 \gg \theta\) at OU steady state; the gate never closes. The baseline is structurally incapable of detecting 90% of fault injections because the fault enters at the sensor layer that the single-agent utility function does not monitor. The \(\tau_{\mathrm{meta}}\) threshold, evaluated on \(r_{\max}\) independently of \(\mathrm{\small Gate}_c\), is the decisive addition, as confirmed by the ablation (Table 2).

Equal collision rates do not imply equal safety guarantees. Both conditions report zero physical collisions. Under the baseline, zero collisions is an artefact of the UR5 telemetry architecture (V1): encoder control is unaffected by camera drift. For feedback-coupled CPS (GPS-guided vehicles, vision-servo manipulation), where sensor errors propagate to the control input (V1 fails), the baseline’s result does not hold. Corollary 2 shows that the runtime’s \(v = 0.5\) in Meta-Cognitive reduces the Lyapunov coupling term by \(v^2 = 0.25\), a quantifiable stabilising effect that the binary gate cannot match.

Continue Independent preserves throughput. Agents B and C operate at \(G_3\) (\(v = 1.0\)) while A is damped to \(G_2\) (\(v = 0.5\)), preserving approximately 83% of cell productive throughput in Meta-Cognitive versus 50% under Hard Dependency. By Corollary 1(b), this does not compromise safety because B/C’s per-agent gates remain self-limiting (V2).

8.5 Multi-Agent Component Ablation↩︎

Table 2: Incremental ablation of multi-agent runtime mechanisms.\(N = 10{,}000\) episodes.
Condition Detection Latency
Baseline: single-agent gate 2.1% 43.1
\(+\) Consensus gate 2.1% 43.1
\(+\) \(\taumeta\) threshold 99.6% 12.2
\(+\) \(\taucrit\) + E-Stop 99.6% 12.2
\(+\) \(\Vswarm\) certificate 99.6% 12.2
\(+\) Policy triple \(\Pi\) 99.6% 12.2
Full governed runtime 99.6% 12.2

The consensus gate alone provides no improvement for normal faults. The \(\tau_{\mathrm{meta}}\) threshold is the decisive component, entirely responsible for the \(47.7\times\) detection gain and \(3.5\times\) latency reduction. \(\tau_{\mathrm{crit}}\) + E-Stop prevents indefinite deadlock on severe faults. \(V_{\mathrm{swarm}}\) adds the formal Lyapunov certificate without changing operational metrics. The policy triple adds no operational change to these metrics but makes the domain-specific rendezvous assumptions explicit and formally verifiable via Corollary 1.

9 Discussion↩︎

9.0.0.1 Positioning and implications.

The runtime architecture evaluated here occupies a distinct position among agent control systems. Unlike verification frameworks [3], [4] that check actions post-hoc, the utility gate provides preventive control. Unlike static autonomy taxonomies [6], the gear mechanism provides dynamic adjustment based on observed behavior. Unlike RL-based approaches [16], [17] that learn through trial and error, both frameworks enforce safety structurally. The representation theorem (Theorem 5) connects EntropyRuntime to the MDP formalism, enabling the application of standard RL tools such as value iteration and policy gradient while retaining the structural safety guarantees pure MDP formulations lack.

This layered design prevents governance states from being conflated with robotic control modes.

9.0.0.2 Practical deployment.

The utility function requires domain-specific instantiation. A linear combination of task progress, safety margin, and resource cost suffices for most single-agent applications. For multi-agent CPS, the entropy term \(H_i\) must be calibrated to sensor specifications; the NIST position-accuracy dataset provides an empirical calibration reference. The safety threshold \(\theta\) is a single knob trading caution against productivity; we recommend \(\theta = 0.15\) as the UR5 default. The gear escalation patience \(h = 3\) balances responsiveness to dynamic environments against stability in predictable ones. The AUTO_CONTINUE parameter \(\delta = 3\) provides sufficient hysteresis against spurious re-escalation under the OU mean-reversion dynamics (validated by Corollary 1(c)).

9.0.0.3 Limitations and future work.

Several limitations remain. First, the utility function must be specified externally; the framework does not learn \(U\) from data. In future deployments, domain-expert constraints and formally specified invariants may supply part of the utility and threshold specification, but that integration is not implemented or empirically tested here. Second, the single-agent gear abstraction assumes a total order on action scopes; non-hierarchical structures may require extensions. Third, Theorem 3 assumes environmental stationarity; adaptive gear transition policies are needed for non-stationary settings. Fourth, Theorem 7 assumes the OU process accurately models sensor fault dynamics; other fault processes (step faults, intermittent faults) require re-derivation of the Lyapunov bound. Fifth, the policy triple’s validity conditions V1 through V3 must be verified for each domain instantiation; feedback-coupled systems with \(\alpha_{fb} > 0\) require \(\Pi_d = \mathrm{\small Immediate}\) and may require \(\Pi_h = \mathrm{\small Hard Dependency}\). Sixth, the three-agent simulation moves beyond a two-agent dyad and exercises three pairwise interactions, but it does not establish scalability to substantially larger teams. Future work should quantify how agent count, workspace density, communication and synchronization overhead, decision latency, throughput, and safety margins interact. These space, time, and performance trade-offs must be evaluated in the context of the target problem and application domain; the consensus check is approximately linear in the number of agents, whereas exhaustive pairwise collision evaluation can grow quadratically. Finally, Theorem 1 and Theorem 7 are proved separately for the single-agent and multi-agent cases; a unified Lyapunov framework spanning both is a natural direction for future work.

9.0.0.4 Applicability.

The runtime mechanisms are applicable to safety-critical autonomous systems in domains such as healthcare, finance, infrastructure management, and industrial robotics, provided that the utility function, thresholds, and policy-triple validity conditions are instantiated and verified for the target domain.

10 Conclusion↩︎

We presented EntropyRuntime as an action-level control layer for single- and multi-agent systems. Five single-agent results establish stability, safe dispatch, recovery, and an MDP representation. The multi-agent analysis extends these guarantees to joint execution, rendezvous behavior, workspace stability, feedback-coupled attenuation, and collision avoidance under the stated assumptions.

In the UR5 study, the governed runtime improves anomaly detection by \(47.7\times\), reduces detection latency by \(3.5\times\), produces an audit trace for 89.9% of episodes, and adds a formal workspace certificate. The component ablation identifies the \(\tau_{\mathrm{meta}}\) threshold as the main source of the detection gain, while the E-Stop, Lyapunov bound, and policy triple provide escalation, certification, and explicit coordination semantics.

The central result is a concrete separation of concerns: SMARt governs authority, whereas gears, gates, and rendezvous policies enforce that authority at runtime. This preserves the established lifecycle while making its CPS behavior formally analyzable.

Data Availability Statement↩︎

The data supporting the findings of this study are derived from the publicly available Degradation Measurement of Robot Arm Position Accuracy dataset cited in Reference [31], together with publicly documented UR5 specifications cited in Reference [27]. The simulation methodology, three-agent configuration, parameter groupings, invariant and risk thresholds, noise levels, policy settings, random seed, episode count, and evaluation metrics used in this study are described in the manuscript. No proprietary, private, or personally identifiable datasets were used. The study did not generate a new external dataset repository; derived simulation outputs and intermediate materials may be made available from the second author upon reasonable request.

11 Complete Proofs: Single-Agent System↩︎

11.1 Proof of Theorem 1 (Monotonic Stability)↩︎

Proof. Let \(\rho_t = (s_t, g_t, \sigma_t, \epsilon_t)\). We consider three cases.

Case 1: Action accepted. \(\mathrm{\small Gate}(s_t, a_t) = 1 \Rightarrow \sigma_{t+1} = \max(0, \sigma_t - \delta) \leq \sigma_t\).

Case 2: Fallback succeeds. An alternative \(a'_t\) with \(\mathrm{\small Gate}= 1\) is found; \(\sigma_{t+1} = \sigma_t\).

Case 3: Fallback fails. \(\sigma_{t+1} = \sigma_t + \Delta\sigma\); gear de-escalates to \(g_{t+1} = \max(g_t-1, G_0)\).

Let \(p_1(t), p_2(t), p_3(t)\) denote the conditional probabilities of Cases 1, 2, 3. \[\begin{align} \mathbb{E}[\sigma_{t+1} \mid \rho_t] &= \sigma_t - p_1(t)\delta + p_3(t)\Delta\sigma \label{eq:sigma} \end{align}\tag{1}\] It suffices to show \(p_1(t)\delta \geq p_3(t)\Delta\sigma\).

Gear de-escalation in Case 3 restricts the action space from \(\mathcal{A}_{g_t}\) to \(\mathcal{A}_{g_{t-1}} \subset \mathcal{A}_{g_t}\), increasing the gate acceptance probability since lower-risk actions dominate in the restricted space: \[\begin{align} &\Pr\!\left[\mathrm{\small Gate}= 1 \mid a \sim \mathrm{LLM}(\cdot \mid s,g')\right] \\ &\qquad \geq \Pr\!\left[\mathrm{\small Gate}= 1 \mid a \sim \mathrm{LLM}(\cdot \mid s,g)\right], \qquad g' < g . \end{align}\] With equal step sizes \(\Delta\sigma = \delta\) and \(p_1(t) \geq p_3(t)\) (the LLM assigns higher probability to admissible actions under gear restrictions): \(p_1(t)\delta \geq p_3(t)\Delta\sigma\), so \(\mathbb{E}[\sigma_{t+1} \mid \rho_t] \leq \sigma_t\). The tower property gives \(\mathbb{E}[\sigma_{t+1} \mid \sigma_t] \leq \sigma_t\). \(\square\) ◻

11.2 Proof of Theorem 2 (Execution Safety)↩︎

Proof. By Algorithm 2 (line 5), action \(a_t\) is executed iff \(\mathrm{\small Gate}(s_t,a_t) = 1\). By Definition 3, \(\mathrm{\small Gate}= 1 \iff U(s_t,a_t) \geq \theta\). Since \(\theta \geq 0\): \(U(s_t,a_t) \geq \theta \geq 0\). Fallback actions \(a'_t\) are executed only if \(\mathrm{\small Gate}(s_t,a'_t) = 1\) (Algorithm 2, line 10), yielding the same bound. The LLM can only suggest; the gate decides. Contrapositive: \(U(s_t,a_t) < 0 \Rightarrow a_t\) not executed. \(\square\) ◻

11.3 Proof of Theorem 3 (Eventual Stabilization)↩︎

Proof. Define Lyapunov function \(V(\rho) = \sigma + C\cdot\mathbf{1}[\epsilon=1] + D\cdot k(g)\) where \(k(g)\) is the gear index and \(C, D > 0\). Choose \(C > \Delta\sigma/\delta\) and \(D > C + \Delta\sigma\).

Case A (successful execution): \(\sigma_{t+1} \leq \sigma_t - \delta\); gear holds or escalates. \(V\) decreases by at least \(\delta\) from the \(\sigma\) term.

Case B (fallback failure): \(\sigma_{t+1} = \sigma_t + \Delta\sigma\); \(\epsilon_{t+1} = 1\); gear de-escalates. \(V(\rho_{t+1}) = V(\rho_t) + \Delta\sigma + C - D < V(\rho_t)\) since \(D > C + \Delta\sigma\).

By the Foster-Lyapunov theorem [19], the chain is positive recurrent. The finite state space \(\mathcal{G}\) guarantees that the gear process has only singleton recurrent classes. Therefore \(\exists g^* \in \mathcal{G}\), \(T^* < \infty\) such that \(g_t = g^*\) for all \(t \geq T^*\) a.s. \(\square\) ◻

11.4 Proof of Theorem 4 (Fallback Completeness)↩︎

Proof. Base case \(k = 0\): At \(G_0\), \(\mathcal{A}_0\) contains only read-only observations. \(U(s,a) \geq 0\) for any \(a \in \mathcal{A}_0\) since observation reduces uncertainty without side effects.

Inductive step \(k > 0\): After at most \(m\) failed alternatives at \(G_k\), the gear de-escalates to \(G_{k-1}\). By induction, after at most \(k \leq 4\) de-escalation steps, the system reaches \(G_0\). At \(G_0\), Condition (1) is satisfied (base case). Since \(k \leq 4\), the bound of \(|\mathcal{G}| - 1 = 4\) steps is tight. \(\square\) ◻

11.5 Proof of Theorem 5 (Representation Theorem)↩︎

Proof. Construct \(\mathcal{M} = (\mathcal{R}, \mathcal{A}, T, R, \gamma)\) with \(R(\rho,a) = U(s,a)\cdot\mathrm{\small Gate}(s,a)\) and \(T\) inherited from the runtime.

A policy is gear-constrained if \(\pi(a|\rho) > 0 \Rightarrow a \in \mathcal{A}_g\). Let \(\Pi_{\mathcal{M}}^{gc}\) denote all gear-constrained stationary policies in \(\mathcal{M}\).

\(\Pi_{EntropyRuntime{}} \subseteq \Pi_{\mathcal{M}}^{gc}\): EntropyRuntime constrains \(a_t \in \mathcal{A}_{g_t}\) by the gear mechanism; the resulting mapping \(\pi: \mathcal{R} \to \Delta(\mathcal{A})\) is gear-constrained by construction.

\(\Pi_{\mathcal{M}}^{gc} \subseteq \Pi_{EntropyRuntime{}}\): given \(\pi_{\mathcal{M}} \in \Pi_{\mathcal{M}}^{gc}\), sample \(a \sim \pi_{\mathcal{M}}(\cdot|\rho)\), apply \(\mathrm{\small Gate}\), invoke fallback on rejection. The fallback dynamics are deterministic given \(\rho\) and the rejection event, so they can be absorbed into an augmented kernel \(T_{\mathrm{aug}}\). This constructs a valid EntropyRuntime policy.

Value equivalence: \(V^{\pi}_{EntropyRuntime{}}(\rho) = \mathbb{E}_\pi[\sum_t \gamma^t U(s_t,a_t)\mathrm{\small Gate}(s_t,a_t)] = V^{\pi_{\mathcal{M}}}_{\mathcal{M}}(\rho)\) since \(R(\rho,a) = U(s,a)\cdot\mathrm{\small Gate}(s,a)\) and dynamics are identical. Therefore \(\Pi_{EntropyRuntime{}} = \Pi_{\mathcal{M}}^{gc}\) and value functions coincide. \(\square\) ◻

12 Complete Proofs: Multi-Agent System↩︎

12.1 Proof of Theorem 6 (Distributed Execution Safety)↩︎

Proof. Fix \(t \geq 0\). Suppose \(\mathrm{\small Gate}_c(x_t, a_t^{1:n}) = 1\). By Definition 7, this requires \(\min_{i \in \mathcal{I}} U_i(s_t^i, a_t^i) \geq \theta\), immediately implying \(U_i \geq \theta \geq 0\) for every \(i \in \mathcal{I}\). The gate is evaluated before dispatch. Theorem 2 applies to each agent independently. The policy triple \(\Pi\) governs drain, hold, and return behavior. Any continuation in Meta-Cognitive is restricted to the bounded \(\mathcal{A}_2\) action set and remains utility-gated; Assisted and Regulated do not authorize autonomous task progression. \(\square\) ◻

12.2 Proof of Corollary 1 (Rendezvous Safety)↩︎

Proof. (a) Drain safety (V1). V1 states that the fault is in the camera layer, not the encoder-based actuator. During the drain epoch, the faulting agent A executes with old velocity scale \(v(g_{t-1}^A)\); its true position satisfies \(\|p_A(t) - p_A^*(t)\| \leq \varepsilon_{\mathrm{ctrl}}\) regardless of perceived drift. Clearance constraints concern true positions (Theorem 8); completing the epoch is therefore safe.

(b) Hold safety (V2). V2 states that non-faulting agents operate on geometrically independent trajectories. The per-agent gate for \(j \in \{B,C\}\) evaluates \(U_j\) on \(j\)’s perceived state, which includes A’s perceived position in \(\mathrm{risk}_{jA}\). If A’s perceived drift raises \(\mathrm{risk}_{jA} \geq \tau_{\mathrm{meta}}\), then \(g_t^j\) descends to \(G_2\); if \(\geq \tau_{\mathrm{crit}}\), to \(G_0\). In either case, \(j\)’s own gate prevents execution at \(G_3\) without approval; the hold is self-limiting. By Theorem 6 applied to agent \(j\), \(U_j \geq \theta\) whenever \(j\)’s gate is open.

(c) Return soundness (V3). \(\delta\) clean epochs with \(r_{\max} < \tau_{\mathrm{meta}}\), combined with OU contraction rate \(\alpha = 1 - \theta_{\mathrm{ou}}\), imply \(\mathbb{E}[\|d_A\|^2]\) is decreasing during the clean sequence (Theorem 7). The probability that a single OU noise step returns \(r_{\max} \geq \tau_{\mathrm{meta}}\) decreases geometrically in \(\delta\). For \(\delta \geq 3\) the return is sound with probability \(\geq 1 - \alpha^{2\delta} > 0.82\). \(\square\) ◻

12.3 Proof of Theorem 7 (Distributed Monotonic Stability)↩︎

Proof. Let \(\alpha = 1 - \theta_{\mathrm{ou}} = 0.75\). Since \(d_B = d_C = 0\) and \(\|p_i - p_i^*\| \leq \varepsilon_{\mathrm{ctrl}} \approx 0\): \[V_{\mathrm{swarm}}(t) = (1+\lambda)\|d_A(t)\|^2 + O(\varepsilon_{\mathrm{ctrl}}) \approx (1+\lambda)\|d_A(t)\|^2\] with \(\lambda = 50\), so \((1+\lambda) = 51\). Under Continue Independent, B and C track nominal; their contribution to \(V_{\mathrm{swarm}}\) is zero. The OU recursion gives: \[\mathbb{E}[\|d_A(t+1)\|^2] = \|\alpha d_A(t) + (1-\alpha)\mu\|^2 + 3\sigma_{\mathrm{noise}}^2\] Cauchy-Schwarz: \(\|\alpha u + (1-\alpha)v\|^2 \leq [\alpha\|u\| + (1-\alpha)\|v\|]^2\). Setting \(\Delta V(t) = V_{\mathrm{swarm}}(t) - V^*\) where \(V^* = 51\|\mu\|^2\): \[\begin{align} \mathbb{E}[\Delta V(t+1)] &\leq 51\Bigl( \\ &\quad [\alpha\|d_A(t)\|+(1-\alpha)\|\mu\|]^2 - \|\mu\|^2\Bigr) + C \\ &\leq \alpha^2\Delta V(t) + C . \end{align}\] where \(C = 51 \cdot 3 \sigma_{\mathrm{noise}}^2\). Iterating: \(\mathbb{E}[\Delta V(t)] \leq \alpha^{2t}\Delta V(0) + C/(1-\alpha^2)\). Since \(\alpha^2 = 0.5625 < 1\), the bound is convergent.

Per-step bound. At OU stationarity, \(\|\varepsilon(t)\| \leq 6.2 \times 10^{-3}\,\text{m}\) at the 97.5th percentile (\(3\sigma_{\mathrm{noise}}\sqrt{3}\)). The per-step increment satisfies \(\Delta V \leq 51(2\|\mu\|\|\varepsilon\| + \|\varepsilon\|^2) = 0.0095\,\text{m}^2 < \delta_V = 0.01\,\text{m}^2\). Zero violations were observed in 200 independent validation episodes. \(\square\) ◻

12.4 Proof of Corollary 2 (Feedback-Coupled Stability Attenuation)↩︎

Proof. Let sensor drift enter the control input through feedback gain \(\alpha_{fb}\in[0,1]\). Under macro-state velocity scale \(v(\psi_t)\), the induced position-error contribution has norm bounded by \(\alpha_{fb}v(\psi_t)\|e_t\|\). Squaring this contribution in the Lyapunov energy yields an additional term bounded by \(\alpha_{fb}^{2}v^{2}(\psi_t)V_{\mathrm{swarm}}(t)\), with fixed weighting constants absorbed into the definition of \(V_{\mathrm{swarm}}\). In Stable, \(v=1\) and the full coupling term remains. In Meta-Cognitive, \(v=0.5\), so the term is multiplied by \(0.5^{2}=0.25\). In Regulated, \(v=0\), so the coupling term vanishes. A binary gate permits only \(v\in\{0,1\}\) and therefore cannot realize the intermediate attenuation factor. \(\square\) ◻

12.5 Proof of Theorem 8 (Zero-Collision Guarantee)↩︎

Proof. UR5 architecture (V1 satisfied). The proportional controller reads joint encoder positions and targets \(p_i^*(t)\): \[\|p_i(t) - p_i^*(t)\| \leq \varepsilon_{\mathrm{ctrl}} < 2\,\text{mm} \quad \forall i, t\] Nominal trajectories maintain: \(\|p_i^*(t) - p_j^*(t)\| \geq 76\,\text{mm} + 2r + \Delta_{\mathrm{safe}}\) for all \(i \neq j\). Since \(2\varepsilon_{\mathrm{ctrl}} < 4\,\text{mm} \ll 76\,\text{mm}\), the triangle inequality gives \(\|p_i(t) - p_j(t)\| > 0 > -(2r+\Delta_{\mathrm{safe}})\). No collision.

Feedback-coupled systems (V1 not satisfied). The E-Stop fires at \(r_{\max} \geq \tau_{\mathrm{crit}}= 0.65\), corresponding to perceived clearance \(\leq -37\,\text{mm}\). Since perceived clearance \(\leq\) true clearance \(+ \|d_A\|\), and \(\|d_A\| \leq \sigma_{\mathrm{fault}}= 120\,\text{mm}\) (OU bound), true clearance at E-Stop trigger \(\geq -37 + 120 = 83\,\text{mm} > 0\). The E-Stop is instantaneous; therefore no physical contact occurs. \(\square\) ◻

References↩︎

[1]
H. Chase. LangChain: Building applications with LLMs through composability. GitHub repository, 2022.
[2]
T. Richards. AutoGPT: An autonomous GPT-4 experiment. GitHub repository, 2023.
[3]
R. Doshi and J. Hong. Verifiably safe tool use for LLM agents. arXiv preprint arXiv:2601.08012, 2026.
[4]
M. Grigor, A. Kumar, and S. Lee. VET your agent: Verification, evaluation, and testing for autonomous LLM agents. arXiv preprint arXiv:2512.15892, 2025.
[5]
S. Ramaswamy. Intelligence as managed autonomy: Failure, escalation, and governance for agentic AI systems. Journal of Intelligent & Robotic Systems, to appear, 2026. Preprint: arXiv:2605.27628.
[6]
Z. Feng and R. McDonald. Levels of autonomy for AI agents. arXiv preprint arXiv:2506.12469, 2025.
[7]
D. Hadfield-Menell, A. Dragan, P. Abbeel, and S. Russell. The off-switch game. In Proc. IJCAI, pages 220-227, 2017.
[8]
N. G. Leveson. Engineering a Safer World: Systems Thinking Applied to Safety. MIT Press, 2011.
[9]
C. Hwang, S. Majumder, and N. Peng. Autonomous language model agents with tool use. In Findings EMNLP 2023, pages 5678-5692, 2023.
[10]
S. Yao, J. Zhao, D. Yu, N. Du, I. Shafran, K. Narasimhan, and Y. Cao. ReAct: Synergizing reasoning and acting in language models. In Proc. ICLR, 2023.
[11]
N. Shinn, F. Cassano, A. Gopinath, K. Narasimhan, and S. Yao. Reflexion: Language agents with verbal reinforcement learning. In NeurIPS 36, pages 8634-8652, 2023.
[12]
A. Sarkar and R. Sarkar. A survey of LLM agent communication with the model context protocol. arXiv preprint arXiv:2506.05364, 2025.
[13]
D. Amodei, C. Olah, J. Steinhardt, P. Christiano, J. Schulman, and D. Mané. Concrete problems in AI safety. arXiv preprint arXiv:1606.06565, 2016.
[14]
S. Russell. Human Compatible: Artificial Intelligence and the Problem of Control. Viking, 2019.
[15]
R. S. Sutton, D. Precup, and S. Singh. Between MDPs and semi-MDPs: A framework for temporal abstraction in reinforcement learning. Artificial Intelligence, 112(1-2):181-211, 1999.
[16]
T. Haarnoja, A. Zhou, P. Abbeel, and S. Levine. Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor. In Proc. ICML, pages 1861-1870, 2018.
[17]
D. Pathak, P. Agrawal, A. A. Efros, and T. Darrell. Curiosity-driven exploration by self-supervised prediction. In Proc. ICML, pages 2778-2787, 2017.
[18]
J. A. Stankovic. Misconceptions about real-time computing. Computer, 21(10):10-19, 1988.
[19]
J. R. Norris. Markov Chains. Cambridge University Press, 1997.
[20]
R. Bellman. Dynamic Programming. Princeton University Press, 1957.
[21]
M. L. Puterman. Markov Decision Processes. Wiley, 1994.
[22]
T. M. Cover and J. A. Thomas. Elements of Information Theory. Wiley, 2nd edition, 2006.
[23]
R. Olfati-Saber, J. A. Fax, and R. M. Murray. Consensus and cooperation in networked multi-agent systems. Proceedings of the IEEE, 95(1):215-233, 2007.
[24]
V. Digani, L. Sabattini, C. Secchi, and C. Fantuzzi. Ensemble coordination for multi-robot systems. IEEE Transactions on Automation Science and Engineering, 12(2):649-662, 2015.
[25]
A. Rizk, M. Awad, and E. W. Tunstel. Cooperative heterogeneous multi-robot systems: A survey. ACM Computing Surveys, 52(2):1-31, 2019.
[26]
H. K. Khalil. Nonlinear Systems, 3rd edition. Prentice Hall, 2002.
[27]
Universal Robots. UR5/CB3 User Manual, Software Version 3.15. Universal Robots A/S, Odense, Denmark, 2022.
[28]
ISO/TS 15066:2016. Robots and Robotic Devices: Collaborative Robots. ISO, Geneva, 2016.
[29]
ISO 10218-1:2011. Robots and Robotic Devices: Safety Requirements for Industrial Robots, Part 1: Robots. ISO, Geneva, 2011.
[30]
S. Haddadin, A. De Luca, and A. Albu-Schäffer. Robot collisions: A survey on detection, isolation, and identification. IEEE Transactions on Robotics, 33(6):1292-1312, 2017.
[31]
Helen Qiao. Degradation Measurement of Robot Arm Position Accuracy. National Institute of Standards and Technology, Version 1.0, 2018. DOI: https://doi.org/10.18434/M31962. NIST Public Data Repository: https://data.nist.gov/od/id/754A77D9DA1E771AE0532457068179851962. Accessed June 29, 2026.
[32]
G. E. Uhlenbeck and L. S. Ornstein. On the theory of the Brownian motion. Physical Review, 36(5):823-841, 1930.
[33]
D. P. Kroese, T. Brereton, T. Taimre, and Z. I. Botev. Why the Monte Carlo method is so important today. WIREs Computational Statistics, 6(6):386-392, 2014.