Manuscript Offprint

arXiv:2610.18866

AutoAgent0: An Agentic Runtime for Safe Closed-Loop Driving

Jiageng Liu, Seth Z. Zhao, Zewei Zhou, Alejandro Huerta, Aidan Bayer-Calvert, Yuxin Bao, Haotian Lin, Robert Spataru, Zijun Cui, Yining Hong, Bolei Zhou, Jiaqi Ma

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jiageng Liu 1^{1}

Aidan Bayer-Calvert 1^{1}

Zijun Cui 3^{3}

Seth Z. Zhao 1∗^{1*}

Yuxin Bao 1^{1}

Yining Hong 4^{4}

1^{1}UCLA 2^{2}CMU

3^{3}UT Dallas 4^{4}Stanford

Zewei Zhou 1∗^{1*}

Haotian Lin 2^{2}

Bolei Zhou 1^{1}

Alejandro Huerta 1^{1}

Robert Spataru 1^{1}

Jiaqi Ma 1^{1}

https://jiagengliu02.github.io/AutoAgent0/

Figure

Figure 1: Motivation and overview. Inaccurate scene context and limited generalization to off-nominal states motivate runtime supervision. AUTOAGENT0 combines scene refinement, trajectory verification, and recovery planning. Top: a Fail2Drive case illustrates yielding and bypass recovery. Bottom: a NavSafe- ∞\infty example compares standalone and AUTOAGENT0-augmented expert.

ABSTRACT

Safe autonomous driving requires more than accurate planning at a single frame: it demands reliable closed-loop execution in dynamic environments. Although end-to-end driving policies have advanced rapidly, the accumulated closed-loop errors, especially in unseen scenarios, can push vehicles into states from which the same policy struggles to recover. We address the challenge by treating closed-loop driving safety as a test-time execution problem. We introduce AUTOAGENT0, an agentic runtime and harness framework that augments existing driving experts with complementary detection skills, rule-based action verification, and feedback-driven recovery. To address inaccurate scene perception, an independent detection module constructs scene context using complementary perception skills, and a rule-based verifier checks proposed trajectories against this context before execution. When the nominal trajectories are unreliable, the orchestrator of the runtime activates Recovery Planning, where an agentic loop constructs alternative action proposals from action primitives and iteratively refines them using verification feedback. This design combines independent scene assessment with feasibility checks and online recovery, addressing both perception errors and the limited recovery capabilities of individual experts. Evaluations on Fail2Drive and NavSafe-∞ demonstrate improved closed-loop robustness over single-expert execution in long-tail and safety-critical scenarios. These results demonstrate that runtime supervision can improve closed-loop robustness across multiple driving experts without retraining the underlying policies.

*Project leads and corresponding authors: setzhzhao506@g.ucla.edu, zeweizhou@ucla.edu.

1 INTRODUCTION

Autonomous driving, a core application of physical AI (Agarwal et al., 2026; Ali et al., 2025), operates in dynamic, open-ended environments and imposes stringent requirements for closed-loop safety and generalizability. The field has progressed from modular pipelines (Li et al., 2025b; Liu et al., 2025a) toward end-to-end driving systems (Hu et al., 2023; Zhou et al., 2025b;c). Nevertheless, safe closed-loop driving remains challenging: real-world scenarios follow a long-tailed distribution that cannot be exhaustively covered during training, while small decision errors can compound through interaction and eventually lead to safety-critical failures.

The dominant paradigm trains a single expert policy to directly produce actions across diverse scenarios (Li et al., 2024b; Xu et al., 2026). Despite this progress, such policies often generalize poorly to unfamiliar long-tail events in closed-loop driving (Jia et al., 2024; Zhao et al., 2026). The accumulated errors may leave the vehicle stuck and unable to be recovered by the same policy that caused the deviation. For example, Fail2Drive (Gerstenecker et al., 2026) reports an average performance drop of 16.3% across seven driving models under long-tail closed-loop evaluation. Moreover, single learning-based experts remain largely opaque, making their decisions difficult to trust across diverse long-tail scenarios (Kim et al., 2026). These limitations raise a central question: Should safe long-tail driving rely solely on an increasingly capable expert policy, or should safety also be addressed through explicit runtime supervision at test time?

Beyond generating high-quality actions, safe closed-loop driving requires a system to detect failures, propose alternatives, verify their feasibility, and recover online (Karkus et al., 2025). Recent agentic systems have demonstrated strong closed-loop execution capabilities by coordinating specialized skills, inspecting execution traces, analyzing failures, and recovering through feedback (Anthropic, 2025; Liu et al., 2025b; Zhang et al., 2026; Zhou et al., 2026a). This progress motivates an agentic approach to driving that combines the reasoning capabilities of vision language models (VLMs) with the basic driving capabilities of existing experts. Rather than relying on a single expert in all situations, a runtime can orchestrate these complementary capabilities, verify proposed actions, and initiate recovery when the expert fails to maintain safe progress under changing scene conditions.

To this end, we introduce AUTOAGENT0, an agentic runtime for safe closed-loop driving, as illustrated in Figure 2. AUTOAGENT0 is motivated by two sources of failure in end-to-end driving: inaccurate scene perception and limited capability to recover when single-expert execution breaks down, as shown in Figure 1. AUTOAGENT0 addresses these limitations through a runtime that integrates complementary detection skills, rule-based action verification, and feedback-driven recovery. First, for robust and interpretable verification before execution, an independent detection module constructs scene context using complementary detection tools. Second, a rule-based verifier checks action feasibility given the detected scene. When the nominal trajectory from the existing driving policy is deemed unreliable, the orchestrator activates Recovery Planning, where an agentic loop then constructs alternative maneuvers from action primitives and iteratively refines them using feedback from the rule-based verifier to restore feasible driving behavior.

We evaluate AUTOAGENT0 on challenging closed-loop benchmarks, including Fail2Drive (Gerstenecker et al., 2026) and NavSafe- ∞\infty (Bao et al., 2026), with an emphasis on long-tail scenarios. The results demonstrate that runtime verification and feedback-driven recovery substantially improve robustness over single-expert execution. Our contributions are summarized as follows:

• We introduce AUTOAGENT0, an agentic runtime that augments existing policies with complementary detection skills, rule-based action verification, and feedback-driven recovery.

• We introduce an independent rule-based verifier for each trajectory before execution, while the Recovery Planning constructs and iteratively refines recovery maneuvers from action primitives when the nominal trajectory from the existing policy is unreliable.

• We evaluate AUTOAGENT0 on Fail2Drive and NavSafe- ∞\infty, demonstrating improved closed-loop robustness over single-expert execution in long-tail scenarios.

References (59)