Interface AgentInvokeStats


public interface AgentInvokeStats
Statistics for an agent invocation including subagent calls and basic metrics. AgentInvokeStats provides comprehensive analytics for a single agent execution, including performance metrics for the main agent and all subagent invocations that occurred during execution.
  • Method Details

    • getSubagentStats

      Map<AgentRef,SubagentInvokeStats> getSubagentStats()
      Gets statistics for all subagent invocations that occurred during this execution.
      Returns:
      map from agent reference to subagent invocation statistics
    • getBasicStats

      BasicAgentInvokeStats getBasicStats()
      Gets basic statistics for the main agent execution.
      Returns:
      basic agent invocation statistics