# AutoAgent0: An Agentic Runtime for Safe Closed-Loop Driving

Robotics.world

> End-to-end driving policies can plan well on a single frame but drift into trouble over a long closed-loop rollout: they misread the scene, and once accumulated errors push the car into an unfamiliar…

**arXiv**: 2610.18866 · Preprint · not peer-reviewed

**Published**: 2026-10-13

**Authors**: 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

## In plain words

End-to-end driving policies can plan well on a single frame but drift into trouble over a long closed-loop rollout: they misread the scene, and once accumulated errors push the car into an unfamiliar state, the same policy often cannot recover.

## AI summary

## Overview

- **Research area:** Autonomous driving / robotics — specifically closed-loop driving safety, runtime monitoring, and agentic (vision-language-model-driven) execution harnesses layered around end-to-end driving policies.
- **Technical level:** Advanced. The paper assumes familiarity with POMDP formulations, end-to-end planners (UniAD, SparseDriveV2, BridgeDrive), CARLA-based closed-loop benchmarks, and VLM tool-use agents.
- **Scope:** The paper introduces AutoAgent0, a test-time runtime that wraps a frozen driving expert with scene-context refinement, rule-based trajectory verification, and VLM-guided recovery planning, and evaluates it on the Fail2Drive and NavSafe-∞ closed-loop benchmarks.

## What This Paper Is About

End-to-end driving policies can plan well on a single frame but drift into trouble over a long closed-loop rollout: they misread the scene, and once accumulated errors push the car into an unfamiliar state, the same policy often cannot recover. The authors argue this is a *test-time execution* problem rather than purely a training problem, so instead of training a better expert they build a runtime layer that inspects the scene independently, checks each proposed trajectory against explicit rules before it reaches the controller, and — when no proposal passes — searches for and iteratively refines an alternative maneuver. The goal is to improve closed-loop robustness in long-tail and safety-critical scenarios *without retraining the underlying driving policy*.

## Key Contributions

1. **An agentic runtime for closed-loop driving.** AutoAgent0 is presented as a harness that surrounds an existing driving expert with complementary detection skills, rule-based action verification, and feedback-driven recovery, coordinating them with VLM reasoning. The authors describe it as the first agentic runtime for safe closed-loop driving.
2. **An independent rule-based verifier on every trajectory before execution.** Each nominal trajectory is checked against refined scene context and must clear fixed admission criteria — a PDMS-based trajectory score threshold combined with route-consistency and execution guards — before commitment to the tracking controller.
3. **Recovery Planning from parameterized action primitives with verifier-guided refinement.** When no nominal proposal is admitted, an agentic loop selects a primitive (e.g., braking, creeping, lateral bypass, reverse), generates a trajectory analytically from the current geometry, and revises parameters or switches maneuvers using rejection feedback, with every candidate re-verified.
4. **Evaluation on two closed-loop benchmarks.** Results on Fail2Drive and NavSafe-∞ show improved driving score, success rate, and harmonic mean over standalone experts across UniAD, SparseDriveV2, BridgeDrive, LTF, and DiffusionDrive, with the expert kept frozen throughout.

## Main Findings

- **Consistent gains across three experts on Fail2Drive.** On the two-split average, SparseDriveV2 improves from DS 66.5 / SR 63.4% / HM 64.7 to DS 80.0 (+13.5) / SR 83.4% (+20.0) / HM 81.7 (+17.0). UniAD improves from 45.8 / 32.0 / 37.6 to 68.8 (+23.0) / 69.0 (+37.0) / 68.9 (+31.3). BridgeDrive, the strongest base expert, improves from 86.8 / 85.0 / 85.8 to 88.7 (+1.9) / 90.3 (+5.3) / 89.5 (+3.7).
- **Gains are larger under distribution shift.** For SparseDriveV2, the DS gain is 10.7 on In-Distribution routes (70.0 → 80.7) and 16.3 on Generalization routes (62.9 → 79.2); the paper attributes this to standalone experts colliding more often on generalization routes, so removing those failures pays off more there.
- **Most new successes come from avoided collisions.** Previously failing routes mostly ended in collisions, and pedestrian and animal collisions are described as nearly eliminated. Some avoided collisions instead end in stops when no admissible recovery maneuver is found, described as a fail-safe preference and a limit of primitive-library coverage.
- **Runtime components are complementary, not redundant.** On frozen SparseDriveV2, adding rule-based verification alone raises DS from 66.5 to 69.1 but *lowers* SR from 63.4% to 60.0% (collisions drop sharply, from 0.445 to 0.095 per route, but rejecting proposals without alternatives leaves only conservative fallback). Adding scene context refinement lifts DS to 76.0 and SR to 74.0% with 0.050 collisions per route, and adding recovery planning reaches DS 80.0 / SR 83.4% / HM 81.7 while cutting recovery triggers from 54.2 to 20.3 per km — meaning recovery resolves failures rather than repeatedly containing them.
- **Perception remains the main bottleneck.** Replacing refined scene context with simulator ground truth gives the best ablation numbers: DS 81.4 / SR 90.3% / HM 85.6.
- **Maneuver selection matters more than parameter tuning alone.** Against a controlled fallback at DS 76.0 / SR 74.0% (recovery success undefined), random primitive selection actually *drops* to DS 74.0 / SR 73.0% with 0.210 collisions per route. VLM skill selection reaches DS 76.3 / SR 77.0% with recovery success 61.7%; adding parameter search only moves recovery success to 62.5%; budget-matched retry reaches DS 77.8 / SR 77.3% with recovery success 63.5%; verifier-guided refinement reaches DS 80.0 / SR 83.4% with recovery success 67.4%.
- **A safety–progress trade-off is visible in the ablations.** Verifier-guided refinement has a higher collision rate (0.145 per route) than budget-matched retry (0.125), showing that improved task completion does not necessarily imply safer execution.
- **Larger gains for weaker experts on NavSafe-∞ (280-scenario evaluation set, three-seed means).** SparseDriveV2 goes from DS 65.3 / SR 48.8% to 77.7 (+12.4) / 63.6% (+14.8); DiffusionDrive from 44.8 / 21.0% to 70.9 (+26.1) / 52.3% (+31.3); LTF from 53.0 / 27.7% to 74.8 (+21.8) / 60.5% (+32.8). The authors read this as the runtime compensating for expert-specific failures rather than adding a uniform boost, and note the gap among experts narrows.
- **Better than the reported NavSafe-∞ baselines on DS and SR, at a cost in comfort.** Augmented experts surpass DrivoR (DS 64.7 / SR 50.7%) and GTRS-Dense–V2-99 (DS 64.3 / SR 49.5%) on driving score and success rate, but with lower comfort, since recovery primitives prioritize admissibility and progress over smoothness.
- **Where the gains come from, by scenario type.** Scene context refinement mainly resolves missed pedestrians and animals in Visual–Longitudinal scenarios; recovery planning produces the largest gains in Behavior scenarios by bypassing or waiting out static blockages. Visual–Lateral scenarios remain the main open case: many avoided collisions end in stops because no admissible bypass fits the tight geometry. On NavSafe-∞ the largest gains appear in Traffic Incidents.
- **AutoAgent0 beats six alternative runtime monitors on the 80 In-Distribution/Generalization route pairs (one rollout per route).** Average DS / SR / HM: AutoAgent0 80.7 / 83.8% / 82.2; RSS 69.5 / 55.6% / 61.5; uncertainty monitor 67.6 / 46.3% / 54.4; longitudinal MPC 67.7 / 48.8% / 56.5; 2D MPC 62.7 / 56.3% / 59.1; the adapted AESOP 51.0 / 48.8% / 49.8; AESOP with the authors' primitive library 62.6 / 61.3% / 61.8. Giving AESOP the primitive library improves it, supporting the value of richer recovery maneuvers.
- **Intervening is not the same as recovering.** In the qualitative traces, longitudinal MPC brakes but then stalls and times out, whereas AutoAgent0 detects stalled progress and executes a checked left bypass that completes the route. Other traces show warnings too transient to trigger intervention, or corrective proposals losing score-based arbitration.
- **VLM backbone matters, and error correction matters as much as scene understanding.** Qwen3.5-9B, Opus 5, and GPT-6 Astra all outperform the variant without recovery planning, but Qwen yields lower task success and more collisions, hallucinating scene elements more often and interpreting the same scene inconsistently across observations. In one trace Qwen switches creeping → left swerve → creeping and still ends with a collision and a timeout at 72.9% route completion. Opus 5 reverses after unsuccessful forward and lateral attempts before retrying a right bypass and completing the route without collisions; GPT-6 Astra brakes and waits before revising its motion interpretation and selecting a bypass.

## Methodology in Plain English

The design starts from a simple split: keep the existing driving policy exactly as it is, and put a supervisor around it. At each decision point the supervisor receives the observation history, the route instruction, and previous runtime feedback, and produces the trajectory that actually gets executed.

Three pieces do the work. First, **scene context refinement**: rather than trusting the expert's internal representation, a separate detection module re-examines the scene using complementary perception skills — cross-modal checks for disagreements between camera and LiDAR, plus vision-language reasoning to validate which objects matter and what the scene conditions are — and removes spurious detections and missed actors. Second, a **rule-based verifier** scores each proposed trajectory against that refined scene on collision and drivable-area compliance, time to collision, lane keeping, and ego progress, combined with route-consistency and execution guards for things like persistent blockage or a confirmed semantic inconsistency. Only trajectories that clear the fixed admission threshold reach the tracking controller. Third, **recovery planning**: if nothing passes, the runtime does not simply brake. It picks an action primitive — brake, creep, lateral bypass, reverse — chosen at a high level by a VLM, generates a trajectory analytically from the current geometry with continuous parameters like lateral displacement, target speed, and execution duration, and checks it with the same verifier. Rejection feedback tells the agent why the proposal failed, so it can either tune the parameters of the current maneuver or abandon it for a different one. Because recovery only fires when the nominal policy has already failed, the VLM is not called at every control step.

Experiments freeze the driving expert and swap it out: SparseDriveV2 is the default, with UniAD and BridgeDrive also tested on Fail2Drive. BridgeDrive supplies sensor-based detection, augmented for Fail2Drive with trained pedestrian and static-obstacle modules; Opus 5 handles semantic supervision and recovery selection by default. Fail2Drive is a CARLA-based long-tail benchmark scored on driving score, success rate, and their harmonic mean; NavSafe-∞ is a photorealistic safety-critical benchmark with additional efficiency, comfort, and capability-specific scores. Closed-loop results are averaged over three matched repetitions unless stated, and routes hitting the 180 s simulation cap are scored as timeouts.

## Why This Matters

**Impact on research.** The paper reframes long-tail closed-loop failures as an execution-time problem, and its ablations give a clean decomposition of where the value sits: verification alone lowers success because it removes options, context refinement restores it, and recovery planning converts containment into progress. The result that random primitive selection can be *worse* than conservative braking, and that retries without feedback underperform feedback-guided revision, is a useful negative result for anyone building agentic driving harnesses. The ground-truth-context ablation also quantifies how much headroom is still locked up in perception.

**Real-world applications:**

- Robotaxi and ride-hailing fleets, where a runtime safety layer could be deployed around an already-validated planner without a retraining cycle.
- Consumer-vehicle ADAS safety monitors, as a verification-and-fallback layer between a learned planner and the actuator interface.
- Last-mile delivery and low-speed autonomous shuttles, where static blockages and tight lateral geometry — the Behavior and Visual–Lateral scenario groups studied here — are the dominant failure mode.
- Fleet safety auditing and simulation

## Authors’ 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…

[The full abstract on arXiv](https://arxiv.org/abs/2610.18866)

[Read the original paper](https://arxiv.org/abs/2610.18866)

## Related papers

- [NavSafe-$\infty$: Benchmarking Closed-Loop Driving Safety in Photorealistic Environments](https://robotics.world/paper/navsafe-infty-benchmarking-closed-loop-driving-safety-in-photorealistic-2609.26618) 2026-09-22 · cs.RO · Also by Bolei Zhou, Seth Z. Zhao +1
- [DreamStream: Towards Policy-Oriented Generative Simulation for End-to-End Driving](https://robotics.world/paper/dreamstream-towards-policy-oriented-generative-simulation-for-end-to-2609.26792) 2026-09-22 · cs.RO · Also by Bolei Zhou, Seth Z. Zhao
- [Beyond Infraction Scores: Failure-Boundary Profiles for Closed-Loop Evaluation of Driving and Robot Navigation Agents](https://robotics.world/paper/beyond-infraction-scores-failure-boundary-profiles-for-closed-loop-2611.06453) 2026-11-04 · cs.RO · Key terms of the title in common
- [Odyssey: A Closed-Loop Benchmark for Long-Horizon Real-World Driving with Explicit Navigation Routes](https://robotics.world/paper/odyssey-a-closed-loop-benchmark-for-long-horizon-real-world-driving-2610.06469) 2026-10-05 · cs.RO · Key terms of the title in common
- [Closed-Loop Aware Planning via Imitation-Free Speed Scoring for End-to-End Autonomous Driving](https://robotics.world/paper/closed-loop-aware-planning-via-imitation-free-speed-scoring-for-end-to-2610.36079) 2026-10-26 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/autoagent0-an-agentic-runtime-for-safe-closed-loop-driving-2610.18866
