lloyal-agents API Reference
    Preparing search index...

    Interface AgentPoolResult

    Aggregate result from a completed agent pool run

    Returned by both useAgentPool and runAgents. Contains per-agent results plus aggregate statistics for display and telemetry.

    interface AgentPoolResult {
        agents: AgentResult[];
        counters: { warmPrefillBranches: number; warmPrefillCalls: number };
        steps: number;
        totalTokens: number;
        totalToolCalls: number;
    }
    Index

    Properties

    agents: AgentResult[]

    Per-agent results in task order

    counters: { warmPrefillBranches: number; warmPrefillCalls: number }

    Internal performance counters for telemetry

    Type Declaration

    • warmPrefillBranches: number

      Total branches across all warm prefill batches

    • warmPrefillCalls: number

      Number of batch prefill calls for tool result injection

    steps: number

    Number of batched commit steps in the tick loop

    totalTokens: number

    Sum of all agent token counts

    totalToolCalls: number

    Sum of all agent tool calls