Optional textRaw live text chunks from the strategy.
Optional fullStructured live stream parts from the strategy.
Optional textFinal raw text assembled by the strategy, when available.
Optional usageAggregate usage for the strategy run, when available.
Optional costUSD?: numberOptional agentFinal per-agent ledger for the strategy run, when available.
Internal stream result shape returned by compiled agency strategies.
Strategy compilers may return only the live iterables plus aggregate promises. The outer
agency()wrapper can enrich this into the public AgencyStreamResult.This type exists for strategy authors. Most external callers should consume AgencyStreamResult from
agency().stream(...)instead.