Learn Before
Definition icon
Definition

Idempotency

An idempotent tool can be called twice with the same arguments and leave the world in the same state. Since retries are unavoidable and the agent cannot always tell whether a timed-out call landed, write-side tools should be idempotent by construction, usually via a caller-supplied key.

0

1

Definition icon
Updated 2026-08-21

Tags

Building AI Agents Course

Computing Sciences