ManagedAgentGraph wraps an AgentGraphDefinition and provides a managed run() method that returns ManagedGraphResult with async judge evaluations.

The runner function is responsible for executing the graph and returning an AgentGraphRunnerResult. ManagedAgentGraph builds the managed result from the runner result, including LDAIGraphMetricSummary with the graphTracker's resumptionToken.

Hierarchy

  • ManagedAgentGraph

Constructors

Properties

_graphDefinition: AgentGraphDefinition
_logger?: LDLogger

Methods

Generated using TypeDoc