Moving Vehicle Agents Off the Control System’s Critical Path
An in-vehicle agent must be removable at runtime without taking the vehicle’s control authority with it. Migrating from tightly coupled ECU services to agentic execution therefore starts with preserving the existing controller as an independently scheduled fallback. The budget buys a measurable property: control deadlines remain satisfied when the agent stops responding.
Keep the controller, replace the authority boundary
The painful work is extracting implicit authority from the old stack: shared state, synchronous calls and service credentials that let application code influence control without an explicit admission decision. Introduce a gateway through which the agent submits bounded requests, while the existing controller continues to own actuator commands and operating limits. Use an illustrative admission deadline of 20 ms for a supervisory request, measured from gateway receipt to acceptance or rejection, rather than treating it as an actuator loop requirement. If agent execution times out, the gateway expires the request and the controller continues its existing policy without waiting for cancellation to complete. Funding interface reconstruction and temporary coexistence is justified by measured reductions in synchronous dependencies and by unchanged controller deadline performance during timeout injection, while duplicated integration work remains the immediate cost.
Fallback must not ask permission
Paying for independently scheduled fallback execution and reserved compute capacity is justified only when fault injection shows that an agent timeout cannot delay control, with the capacity cost reported as reduced compute headroom available to other workloads.
A sandbox contains code, not execution time
A Wasm micro-runtime can restrict memory access and exposed host functions, but it does not establish deterministic execution for blocking host calls, shared accelerators or an unconstrained scheduler. Meter guest execution, bound host operations separately and isolate the gateway’s resources so that the same timeout cannot consume the execution capacity needed to reject a request. Keep Model Context Protocol, or MCP, routing outside the control path: an automotive tool adapter must translate an agent request into an allowlisted operation with explicit state preconditions, expiry and an identity that prevents duplicate execution. After expiry, a late response remains inadmissible, and a restarted agent must acquire current vehicle state before proposing another operation. Runtime integration, adapter maintenance and resource reservation earn their budget through measured containment time, rejection latency and controller interference under load, accepting lower agent throughput where shared execution would violate those bounds.
Move the evidence before moving the traffic
Run the agent in shadow mode against recorded and live inputs, then grant authority only for operations whose rejection leaves the retained controller able to continue; shadow agreement alone cannot establish safety because it does not exercise the consequences of accepted actions. A constraint verifier must check authorization, request freshness and vehicle state at commitment, with acceptance tied to that state so that validation cannot become stale before execution. Under the automotive functional safety framework of ISO 26262, calling that verifier ASIL D is not evidence: its allocated safety requirements, independence and verification must support the claim, including freedom from interference by the agent runtime. Charge shadow infrastructure and fault injection against measured acceptance discrepancies, timeout containment and recovery duration, and charge the continuing verifier assurance effort against the scope of authority it protects. Approve each expansion only when forced agent timeouts preserve control deadlines and reject expired requests, then retire the corresponding legacy interfaces only when removing them preserves those results; otherwise the budget must retain coexistence, and the claimed maintenance savings remain deferred.