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

AxPlaybookOptions

TypeScript
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?

TypeScript
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?

TypeScript
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?

TypeScript
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?

TypeScript
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?

TypeScript
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?

TypeScript
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?

TypeScript
optional seed: number;

Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/dsp/playbook.ts#L27


studentAI

TypeScript
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?

TypeScript
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?

TypeScript
optional verbose: boolean;

Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/dsp/playbook.ts#L26

Docs