runAgentAttempt

val runAgentAttempt: suspend (agent: GraphAIAgent<Input, Output>, input: Input) -> Pair<GraphAIAgent<Input, Output>, Output>

Runs one agent attempt; returns the (possibly re-prepared) agent and its output.