Package-level declarations
Types
A failure that has been recognized and classified by the experiment infrastructure.
Caller-supplied serializers that render dataset items and agent outputs to strings for persistence and logging. Lets the infrastructure record execution data without knowing the concrete Input/Output/InputLabel types.
Metadata about the runtime environment and lifecycle of an experiment execution (training session or evaluation run).
High-level categorization of failures occurred during experiments:
Resolved-ids the library itself references by value. Recognizers (which live in the consuming app) produce these when they detect the corresponding failure, and the library reads them — e.g. the retry executor emits a tailored WARN addendum when an exhausted retry carries GEN_AI_AGENT_SPAN_CLEANUP. Keeping them here, next to the failure taxonomy, keeps the WARN and the recognizer in sync.
Retry-policy input. Recognizers classify only what they can honestly determine from the exception; the retry strategy (e.g. exponential backoff with a generous cap) handles "how long a transient outage will last".