Why an AI agent’s “done” is not a business result.

The agent says “done”. The software it used said “success”. But did the customer receive the right invoice, exactly once? Those are different questions, and most systems only answer the first.

Cube OS team · Updated

Three different meanings of “done”.

What each kind of success proves
LevelWhat happenedWhat it proves
Request acceptedThe other system took the agent’s requestThe request was well formed
Record savedA record changed somewhereSomething was stored
Result verifiedA separate check found the expected resultThe business task is complete

Most AI demos stop at the first level. Most business risk sits between the second and the third.

Worked example: an invoice that “succeeded” twice.

One invoice request, step by step (sample data)
TimeWhat happenedWhat the agent believes
9:00:00Agent asks the accounting system to invoice job J-1042Waiting
9:00:02Accounting creates the invoice, but the reply is lost on the way backStill waiting
9:00:30Agent gives up waiting and sends the request againThe first try failed
9:00:32Accounting creates a second invoiceDone
9:05:00The customer receives two invoicesAll is well

Every step looked reasonable. The result was still wrong, because nothing stopped the repeat and nothing checked the outcome.

Make sure a repeated request is never acted on twice.

The fix is simple to describe. Every request carries a unique reference number. If the same reference arrives twice, the system returns the first result instead of acting again. Software engineers call this idempotency.

With a reference, the repeat at 9:00:30 would have returned the invoice already created. One invoice, however many times the agent asks.

Check the result where it actually lives.

The check should look in the system that holds the official record, not at the agent’s own report. For an invoice, that means looking in accounting for one invoice, for the right customer, with the expected total. Every action then ends in one of three states:

  • Verified: the check found exactly the expected result.
  • Not yet confirmed: the other system has not answered. Check again before anyone retries.
  • Failed: the result is missing or wrong, and a person sees the evidence.

Questions to ask before you automate.

Automation reliability checklist

  • Does every action carry a unique reference, so a repeat cannot create duplicate work?
  • Is the result checked by something other than the agent?
  • Is a timeout recorded as “not yet confirmed”, rather than as success or failure?
  • Can I see which actions were verified and which were only attempted?

Cube OS business actions work this way: rules are checked before anything runs, a repeated request is never acted on twice, and the result is checked afterwards. See business actions.

Questions people ask.

Does a success message from software prove an action worked?

Not always. It may only mean the request was accepted. The business result, such as an invoice existing with the right total, needs its own check.

What is idempotency in plain English?

It means sending the same request twice has the same effect as sending it once. A unique reference on each request makes that possible, so a retry cannot create a duplicate.

What should happen when another system does not answer in time?

Record the action as not yet confirmed, then look in that system for the result before trying again. Retrying blindly is how duplicates happen.

Your whole business, in one connected system.

Cube OS is in private preview, with access by invitation. Join the waitlist and we’ll email you when early access opens.

Join the waitlist