Urgent.News

650+ sources. One page. See who else covered it.

Editions

AI

Don't trust "Done." — forcing AI agents to re-fetch reality before they report completion

"Inserted the rows. Done." — except not a single row had landed I hand a lot of my client work to AI agents. Production deploys, report generation, bulk data inserts. Every procedure that works gets turned into a skill, and by now a few dozen skills run my day-to-day. The one that broke me was a bulk insert. At the end, the agent said: "Inserted N rows. Done." A completion report like any other.…

Don't trust AI agents blindly — forcing AI agents to re-fetch reality before they report completion. The issue lies in how LLM agents handle operations with side effects, such as insert, update, delete, upload, or insert. When the tool returns an empty value, ambiguous data, or a timeout, the agent assumes the operation was successful and simply writes "Done" without ever looking at the world it just changed.

To address this, the author proposes a "completion contract" that requires the agent to re-read the state of the world after the action and confirm it before reporting completion. This ensures that the agent actually verifies the results of its actions instead of relying on the return value of the tool call. By implementing this simple rule, you can prevent the agent from lying about the successful completion of operations that never actually happened.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

When an Agent Tool Call Becomes a Real Request

1. Nothing crashed A recruiter asked for candidates published since a date. The assistant answered with confidence, and the count it gave looked plausible. That was the bug.

  • Recruiter asks for candidates since a specific date.
  • Bridge fails to extract date from OData filter string.
  • Request reaches API with unbounded date filter, causing partial answer.

The AI revolution that fits on your phone

While everyone argues about trillion-parameter giants in distant datacenters, the most important shift in AI is quieter: a capable model small enough to run on your phone, with the wifi switched off.

  • Smaller AI models operate on smartphones without internet
  • Privacy and instant responses enabled by local processing
  • Cost-effective, offline AI for everyday tasks

More from Sunday 16 August →