Skip to content

symfonic.core.resilience

resilience

Phase 2 resilience primitives — shared retry vocabulary.

Provides RetryPolicy as a frozen dataclass for consistent retry configuration across tool execution and orchestration.

RetryPolicy dataclass

RetryPolicy(
    max_attempts: int = 3,
    backoff_base: float = 1.0,
    backoff_max: float = 30.0,
    retryable_exceptions: tuple[type[Exception], ...] = (),
)

Shared retry configuration vocabulary.