Interface IAgentEngine
Drives the tool-loop: provider call → tool dispatch → provider call → ... until
end_turn, max iterations, budget cap or cancellation. Owns governance
(budget, shadow, idempotency, approval) — provider implementations stay pure.
public interface IAgentEngine
Methods
RunAsync(AgentRequest, CancellationToken)
Runs the agent to completion.
Task<AgentResponse> RunAsync(AgentRequest request, CancellationToken ct = default)