Run Outcome • AI Agent SDK

Structured run outcome types for agent execution results.

run_outcome

AI Agent

Structured run outcome types for agent execution results.

Provides a typed, closed discriminant union for agent run completions, task validation outcomes, and handoff results across the SDK.

Replaces freeform string-based validation outcomes with type-safe status values that enable exhaustive error handling and structured metadata.

Import

python
from praisonaiagents import run_outcome

Classes

Functions

Constants

NameValue
_STICKY_SOURCESfrozenset({'external', 'run_budget', 'superseded'})