Safe behaviour

Your agent can delete customer records.

Most runs are fine, but one bad tool call could wipe real data for good.

  1. ARequire a human confirmation step before any delete executes.
  2. BLower the temperature so it makes fewer mistakes.
  3. CAdd a prompt line telling it to be careful with deletes.
  4. DLet it delete freely and restore from backup if it gets one wrong.

Answer: A

Require a human confirmation step before any delete executes.

Why

Irreversible actions need a confirmation gate outside the model. Prompts and lower temperature reduce mistakes but never eliminate them, and a real delete can’t be un-run.

More on this topic

More on Way of the Agent

Real situations from building agents - with the answer and why.

Solve a new one every day on the Path