Interface IAgentRunStore
Where a run's checkpoints go: the executor saves the run's AgentRunState after every tool result, before every side-effecting call, when it stops and when it ends, so a run can be resumed by another process. Implementations save atomically (a reader sees the previous state or the new one, never a mix).
public interface IAgentRunStore
Methods
- DeleteAsync(string, CancellationToken)
Deletes a run's state.
- ListAsync(string, CancellationToken)
Lists the runs the store holds, newest first, optionally only those whose metadata
ownermatches.
- LoadAsync(string, CancellationToken)
Loads a run's state.
- SaveAsync(AgentRunState, CancellationToken)
Saves a run's state, replacing the previous one.