REINS: A Self-Evolving Agent Harness for Real-Time Trajectory Planning
Zhihong Cui, Hengyu Liu, Haoran Tang, Shijun Liu, Amir Taherkordi, Tor Skeie
Abstract
Agent harnesses -- runtime scaffolds that wrap an LLM's reasoning loop with tool dispatch, verification, and persistent memory -- have become the standard substrate for deploying LLMs as autonomous agents, as demonstrated by Claude Code and Codex in software engineering. In trajectory planning, however, this paradigm has not taken hold: existing LLM-based trajectory planning methods either keep the LLM in the decision loop, exceeding the millisecond-level control budget, or offload it to offline rules or training-time supervision -- leaving the runtime planner non-evolving. Intermediate hybrids still lack the verification-and-consolidation loop that makes harnesses reliable. We ask: what runtime harness would let an LLM planner meet real-time constraints while self-evolving into a deployable one? We propose REINS, a harness built on three LLM-planner couplings: LLM outputs are (i) grounded to a learned variable-level dynamics model, (ii) verified via calibrated predicates and forward rollout, and (iii) consolidated into an indexed rule memory that serves future scenes in O(log n) without re-invoking the LLM. The harness closes a self-evolution loop: familiar scenes resolve by memory lookup; novel scenes invoke the LLM, whose verified outputs enrich the memory. Without modifying LLM weights, REINS attains 98%+ compliance, nearly 50% collision reduction, and 1.9-4.6 ms latency on simulated and real-world benchmarks at the tactical decision layer, with LLM invocation rate monotonically declining as memory matures. Code: https://github.com/ZhihongCui/REINS
Create a lesson
Related papers
Look Only Where You Plan for Real-Time End-to-End Urban Driving
Shared title terminology · Haohua Que, Tianle Zhu, Qianyi Wu et al.
SCALE: Real-Time Latent Communication for Cyber-Physical Agents
Shared title terminology · Shanghao Shi, Jian Xiao, Ching-Hsiang Chan et al.
FAME-QP: A GPU-Accelerated Quadratic-Programming Solver for Real-Time Model Predictive Control
Shared title terminology · Santosh Mohan Rajkumar, Debdipta Goswami, Stephanie Stockar
Budget-aware Correspondence-driven View Selection for Real-time 3D Perception of Mobile Robots
Shared title terminology · Vaishnav Ramesh, Jacob Carter, Shivali J. Patel et al.
GeoSDF-Diff: Geometry-Aware Diffusion Planning for Collision-Free Trajectories
Shared title terminology · Yueming Li, Zhanjiang Yang, Yang Shen et al.
SpecFlow: Flow Matching in the Acceleration Spectrum for Multi-Agent Trajectory Forecasting
Shared title terminology · Ziyang Xu, Peng Han, Hai Zhou