AxPlaybookOptions
type AxPlaybookOptions = object;Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/dsp/playbook.ts#L21
Options for playbook.
A playbook grows an evolving body of task knowledge (“context engineering”) and renders it into a program’s context. The underlying evolution engine is an implementation detail (currently ACE — the Agentic Context Engineering loop) and is intentionally absent from this surface, mirroring how optimize hides its optimizer.
Properties
allowDynamicSections?
optional allowDynamicSections: boolean;Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/dsp/playbook.ts#L35
Allow the playbook to grow new sections on its own.
auto?
optional auto: "light" | "medium" | "heavy";Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/dsp/playbook.ts#L39
Intensity preset applied at construction.
initialPlaybook?
optional initialPlaybook: AxACEPlaybook;Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/dsp/playbook.ts#L37
Seed the playbook with existing content.
maxEpochs?
optional maxEpochs: number;Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/dsp/playbook.ts#L29
Max passes over the dataset during AxPlaybook.evolve.
maxReflectorRounds?
optional maxReflectorRounds: number;Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/dsp/playbook.ts#L31
Max reflection refinement rounds per example.
maxSectionSize?
optional maxSectionSize: number;Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/dsp/playbook.ts#L33
Max bullets per section before pruning kicks in.
seed?
optional seed: number;Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/dsp/playbook.ts#L27
studentAI
studentAI: AxAIService;Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/dsp/playbook.ts#L23
Model that runs the program while the playbook is grown.
teacherAI?
optional teacherAI: AxAIService;Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/dsp/playbook.ts#L25
Model used to reflect on rollouts and curate the playbook. Defaults to studentAI.
verbose?
optional verbose: boolean;Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/dsp/playbook.ts#L26