AxAgentPlaybookOptions Generated TypeScript API reference. typescript api api/reference build/apidocs/TypeAlias.AxAgentPlaybookOptions.md type AxAgentPlaybookOptions

AxAgentPlaybookOptions

TypeScript
type AxAgentPlaybookOptions = object & Pick<AxPlaybookOptions, 
  | "verbose"
  | "seed"
  | "maxEpochs"
  | "maxReflectorRounds"
  | "maxSectionSize"
  | "allowDynamicSections"
  | "initialPlaybook"
| "auto">;

Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/agent/agentInternal/agentOptimizeTypes.ts#L156

Options for AxAgent.playbook(). Builds an AxPlaybook bound to an agent stage (the actor by default). The evolution engine (ACE) is hidden, exactly as in the standalone playbook() factory.

Type declaration

NameTypeDescription
apply?booleanRender the evolving playbook into the live stage. Defaults to true.
studentAI?Readonly<AxAIService>-
target?"actor" | "responder"Which agent stage to evolve a playbook for. Defaults to 'actor'.
teacherAI?Readonly<AxAIService>-
Docs