# How to Define and Use Retry Logic in Archon Workflow Nodes

> Learn how to define and use retry logic in Archon workflow nodes for automatic re-execution with exponential backoff on transient errors and immediate failure on fatal errors.

- Repository: [Cole Medin/Archon](https://github.com/coleam00/Archon)
- Tags: how-to-guide
- Published: 2026-04-10

---

**Archon provides declarative retry configuration for DAG nodes, allowing automatic re-execution with exponential backoff when transient errors occur, while fatal errors trigger immediate failure.**

Archon is an open-source workflow orchestration platform that implements resilient execution patterns through schema-defined retry policies. By configuring retry logic directly in your workflow node definitions, you can specify exactly how the DAG executor should handle failures without implementing custom error recovery code.

## Understanding the Retry Schema Configuration

The shape of retry configuration is strictly validated by a **Zod schema** defined in [`packages/workflows/src/schemas/retry.ts`](https://github.com/coleam00/Archon/blob/main/packages/workflows/src/schemas/retry.ts). This schema