That is the gap the "agents will replace everything" wave keeps skipping. The hard part was never making an agent act. It is making it:
โข say "I don't know" instead of guessing,
โข hand control back to a human at the right moment,
โข and prove, with tests, that it still behaves when the input gets strange.