Wrapper around a single Foundry agent evaluator.
Manages the lifecycle of creating an eval definition and running evaluations against it. Each instance corresponds to one evaluator type (e.g., TaskCo
Run multiple Foundry evaluators in sequence.
Convenience class that holds multiple FoundryEvaluator instances
and runs them all against the same input.
Result from a Foundry evaluation run.
Build a compiled analyst subgraph with embedded eval-optimize loop.
Creates a LangGraph StateGraph for a specialist analyst:
research → write → eval-optimize (subgraph) → build_completed.
The ev
Build a compiled evaluator-optimizer subgraph.
Creates a LangGraph StateGraph that implements the
evaluate→refine loop pattern. The returned compiled graph can
be used as a node in a parent graph
Convert a LangChain message sequence to Foundry evaluator input.
Splits the conversation into query (system + user messages up to
the last user message) and response (everything after, typica
Convert LangChain tool objects to Foundry tool_definitions format.