OptimizableModule

data class OptimizableModule(val name: String, val currentInstruction: String, val description: String? = null)

Represents an optimizable module discovered in an agent.

A module is either the strategy-level system prompt (identified by STRATEGY_MODULE_KEY) or an optimizable subgraph registered via optimizableSubgraphWithTask.

Constructors

Link copied to clipboard
constructor(name: String, currentInstruction: String, description: String? = null)

Properties

Link copied to clipboard

The user-supplied baseline instruction to seed optimizer candidates with.

Link copied to clipboard
val description: String? = null

Optional human description of the module's purpose (used in meta-LLM prompts).

Link copied to clipboard

Module identifier — subgraph name or STRATEGY_MODULE_KEY.