{
  "id": 22622146,
  "title": "What self-driving cars taught me about reliable AI agents",
  "url": "https://urgent.news/2026/11/29/what-self-driving-cars-taught-me-about-reliable-ai-agents",
  "topic": "ai",
  "section": "AI",
  "published": "2026-11-29T17:09:31.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/hussein_loubani/what-self-driving-cars-taught-me-about-reliable-ai-agents-42m8"
  },
  "original_language": null,
  "account": "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.\n\nWhen 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.\n\nOn 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:\n\n1. 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.\n\n2. 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.\n\n3. 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.\n\n4. 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.\n\n5. 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.\n\nIn 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.",
  "summary": "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…",
  "summary_source": "publisher",
  "key_points": [
    "Assign deadline budget to each AI agent run stage.",
    "Incorporate health checks and fallback mechanisms like robotics sensors.",
    "Filter out noise before acting on AI model outputs and tool results."
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}