Glossary · Agents & tools

Durable Execution

Running a workflow so its state and completed steps survive process crashes, restarts, or long waits without redoing confirmed side effects.

Why it matters

Agent tasks often span model calls, tools, approvals, and external systems. A transient process should not be the only record of progress.

In practice

Persist each workflow transition, use idempotency keys for external writes, and resume from the latest checkpoint after a worker restarts.

Common confusion

Durable execution does not make every operation safe automatically. Side effects still need idempotency and compensation rules.

Related terms

Browse the learning paths to see this term in context — every lesson is free to read.