cd /news/ai-agents/what-self-driving-cars-taught-me-abo… · home › topics › ai-agents › article
[ARTICLE · art-178199] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

What self-driving cars taught me about reliable AI agents

A developer who previously built perception systems for autonomous vehicles is presenting five reliability practices from robotics that apply to AI agents at Build Stuff 2026 in Vilnius on 3 December. The practices include nested timeouts and step/cost budgets, watchdog-driven fallback modes with circuit breakers, schema and range validation of tool outputs, per-step tracing for reproducibility, and human approval gates for costly or irreversible actions. In a live demo at Apidays Munich, the developer's agent made six calls to a poorly designed API and received six bare 500 errors, illustrating that "the model is rarely the problem" and reliability lives in the surrounding system.

recommendation

Add nested timeouts, step and cost caps, circuit breakers and schema checks to every agent tool call, and gate irreversible actions behind human approval.

more in playbook: Designing agent systems
by read3 min views8 publishedNov 29, 2026

Before I built AI agents, I built perception for autonomous vehicles. I work with LiDAR, on-board cameras and semantic segmentation, and the first thing a vehicle teaches you is that time is part of correctness.

A typical automotive LiDAR spins at 10 Hz. That gives the whole pipeline about 100 ms per frame: capture, preprocessing, inference, planning. If one stage runs late, the car does not wait for it. The next frame arrives, and the vehicle has already moved.

When I started connecting AI agents to real tools, I kept running into failures I had seen before on the robot. A tool call hangs and the whole run freezes. An API goes down and the agent keeps calling it. A model returns garbage and the next step acts on it anyway. Nobody can say what happened, because nothing was recorded.

Robotics solved these problems years ago, because a failure on a vehicle costs more than a bad demo. On Thursday 3 December, I present five of those habits at Build Stuff 2026 in Vilnius. Here is the short version.

On a robot, every stage owns a share of the cycle, and a stage that runs over its share gets cut so the loop can move on.

In an agent, the same idea becomes three nested limits: a timeout on every tool call, a budget for each step, and a total budget for the run, plus a cap on steps and cost. The part people forget is the last one: decide in advance what the agent does when the timer fires. Cancel, fall back, and say what was skipped.

Every sensor on a vehicle sends a heartbeat. When it goes quiet, a watchdog switches the system into a named mode: degraded, minimal, or safe stop. Nobody writes that logic during the incident.

Agents need the same ladder. One retry with backoff, then a backup tool or a cached answer, then a human. Add a circuit breaker, so the agent stops calling a dead service after a few failures.

A tracker that sees a car jump across the road between two frames treats it as a detection error and keeps the last trusted state.

In an agent, every tool result and every model output should pass a schema and range check before the next step reads it. Empty, malformed or out of range means "no data", never "use it anyway".

Robotics teams record whole drives and replay the minute around a failure on their desk until they understand it.

The agent version is a trace for each step: the input, the prompt version, the tool and its arguments, the raw output, the latency and cost, and the decision taken next. With it, "the agent was slow and weird" turns into a bug you can reproduce.

Test vehicles drive with a safety driver, an emergency stop, and clear operating limits.

For agents, sort actions by two questions: how much does a mistake cost, and how hard is it to undo? Reading and drafting run alone. Payments, deletions and production deploys wait for a person. At Apidays Munich, I ran a live demo of an agent calling a badly designed API. It made six calls and got six bare 500 errors, with nothing it could recover from. The model was fine. The system around it gave it no deadline, no fallback and no useful error.

That is the core of my talk: the model is rarely the problem. The reliability lives in the system around it.

I speak on Thursday 3 December at 17:15 in room Zeta 1 at Build Stuff 2026, the 15th edition of the conference, at the Radisson Blu Hotel Lietuva in Vilnius. The theme this year is The Age of Agency, which fits this topic well: building software that acts, and deciding where it should stop.

Tickets are at https://buildstuff.events, and the code 2026SPEAKER_20 gives 20% off.

── more in #ai-agents 4 stories · sorted by recency
── more on @build stuff 2026 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/what-self-driving-ca…] indexed:0 read:3min 2026-11-29 · —