Urgent.News

What's breaking now, across hundreds of outlets.

AI

What self-driving cars taught me about reliable AI agents

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…

In my exploration of reliable AI agents, my early experience in perception for autonomous vehicles proved invaluable. During my work with LiDAR, on-board cameras, and semantic segmentation, a key lesson was that time is a crucial component of accuracy. Automotive LiDAR operates at a rate of 10 Hz, providing about 100 milliseconds per frame for processing, including capture, preprocessing, inference, and planning. If any stage lags, the system does not halt but rather proceeds to the next frame, already moving the vehicle.

When I began integrating AI agents with real-world tools, I encountered numerous issues reminiscent of those in robotics. Some stages would hang, causing the entire process to freeze. Other times, APIs would go down, and the agent would continue to call them. Even if a model returned incorrect data, subsequent steps would still act upon it. These problems were rarely documented due to their infrequency, but in robotics, failure can result in far greater consequences due to the higher stakes involved.

On December 3, 2026, I will discuss five key habits that contribute to the reliability of AI agents in my presentation at Build Stuff 2026 in Vilnius. Here is a summary of my findings:

1. Assign a deadline budget to each run. A robot divides its cycle into stages, each with a defined share of the cycle time. If a stage exceeds its allotted time, it is cut off to allow the loop to continue. For AI agents, this translates into three nested limits: a timeout for each tool call, a budget for each step, and a total budget for the run. It is essential to decide beforehand what the agent should do when the timer expires, such as canceling, falling back, or informing the user of what was skipped.

2. Incorporate health checks and fallback mechanisms. Just as vehicles utilize heartbeats from sensors to detect when a sensor goes silent and switch to a predefined mode such as degraded, minimal, or safe stop, AI agents require similar mechanisms. Implementing one retry with backoff, a backup tool, or a cached answer can help maintain functionality. Additionally, using a circuit breaker to prevent repeated calls to a faulty service can prevent the issue from escalating.

3. Filter out noise before acting on it. In autonomous vehicles, a tracker might encounter a car appearing to jump across the road between frames, treating this as a detection error and maintaining the last trusted state. Similarly, AI agents should verify the schema and range of model outputs and tool results before proceeding to the next step. Any empty, malformed, or out-of-range data should be treated as "no data," not as something to be used despite its invalidity.

4. Document every step thoroughly. Robotics teams meticulously record and replay drives around failure points to understand what went wrong. For AI agents, maintaining a comprehensive trace for each step is crucial. This includes the input, prompt version, tool and its arguments, raw output, latency, cost, and the decision made next. With this detailed trace, issues that seem obscure can be reproduced and resolved more effectively.

5. Place humans at the helm for high-risk errors. Just as test vehicles are driven with safety drivers and emergency stops, AI agents should also have mechanisms in place to prevent significant errors. Actions should be prioritized based on two questions: the potential cost of a mistake and the difficulty of undoing it. Tasks such as reading, drafting, and making payments, deletions, and production deploys should be reserved for human intervention in cases where errors could be costly.

In my talk at Build Stuff 2026, I emphasize that while the model itself may not always be the problem, the system surrounding it plays a pivotal role in the reliability of AI agents. Attendees can join me on Thursday, December 3, at 17:15 in room Zeta 1 at the Radisson Blu Hotel Lietuva in Vilnius. The theme of this year's conference is "The Age of Agency," which aligns perfectly with the focus on constructing software that acts autonomously and the decisions that should govern its limits.

For ticketing information and to secure your spot, visit https://buildstuff.events, and use the code 2026SPEAKER_20 for a 20% discount.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in AI

Before an AI Agent Automates a Salesforce Process, Let the Team Flag What Breaks

On LinkedIn I shared a story about a meeting with eight people. All eight knew the AI agent project on the table made no sense, and nobody said it.

  • Team member with process experience proposed fix months prior but was ignored.
  • Salesforce setup allows team members to flag process issues in two minutes.
  • Report review before AI agent project to address manual workarounds.

We let Claude Code edit our Instagram reels. The edit is a TypeScript file

I sent two messages and got a finished 25 second reel back, scheduled for Thursday. It cost us $0.30 in generations and 23 minutes of waiting. Nobody opened a timeline.

  • Claude Code edited Instagram reels using a TypeScript file
  • Process involved writing, rendering, and fixing issues
  • Tool End Frame documented successful and unsuccessful results

More from Sunday, 29 November 2026 →