Skip to main content

Overview

The OrchestratorAgent is the central coordinator that manages the experimentation loop. It connects all components and runs iterations until the feedback generator decides the goal is achieved.

Responsibilities

  1. Budget Tracking: Monitor time, iterations, and cost
  2. Context Gathering: Assemble problem + KG + history
  3. Search Coordination: Run search strategy iterations
  4. Stop Checking: Check if feedback generator decided to stop
  5. Resource Cleanup: Close connections when done

Usage

Direct Usage

The Solve Loop

Budget Tracking

The orchestrator tracks three budgets: Budget progress is the maximum of all three:
When any budget reaches 100%, the loop stops.

Component Creation

The orchestrator creates components from configuration:

Search Strategy

Context Manager

Cost Tracking

Resource Cleanup

The orchestrator cleans up resources in a finally block:

Configuration

Constructor Parameters

Next Steps

Search Strategies

Explore solution space algorithms

Coding Agents

Pluggable code generators

Feedback Generator

How evaluation is validated

Execution Flow

Step-by-step execution process