Table of Contents

Class AgentRunPlan

Namespace
Oscova.Agents.Tasks
Assembly
Oscova.Agents.dll

Customizations an agent task handler applies around the standard agent run.

public sealed record AgentRunPlan : IEquatable<AgentRunPlan>

Inheritance

Implements

Inherited Members

Constructors

AgentRunPlan(string, Func<CancellationToken, Task>?, Func<int, CancellationToken, Task<AgentRunPlan>>?)

Customizations an agent task handler applies around the standard agent run.

Properties

FinalizeAsync

Optionally selects input and success progress after the executor supplies its evidence token allowance.

Instruction

Replaces the raw task instruction for this run.

OnSuccessAsync

Optional callback invoked after the agent run succeeds and before the run is marked completed. If this throws, the run is marked failed.