Skip to main content

Interface: RetryPolicy

Defined in: packages/agentos/src/orchestration/ir/types.ts:269

Governs automatic retry behaviour for transient node failures.

Properties

backoff

backoff: "exponential" | "linear" | "fixed"

Defined in: packages/agentos/src/orchestration/ir/types.ts:271

Wait time growth strategy between attempts.


backoffMs

backoffMs: number

Defined in: packages/agentos/src/orchestration/ir/types.ts:272

Base wait duration in milliseconds.


maxAttempts

maxAttempts: number

Defined in: packages/agentos/src/orchestration/ir/types.ts:270

Total number of attempts (including the first).


retryOn?

optional retryOn: string[]

Defined in: packages/agentos/src/orchestration/ir/types.ts:273

Optional allowlist of error codes/names that trigger retry. When absent, all errors are retried up to maxAttempts.