# Variable ForestConfigSchema`Const`

ForestConfigSchema: ZodObject<
{
maxTrees: ZodDefault<ZodNumber>;
maxDepth: ZodDefault<ZodNumber>;
maxNodesPerTree: ZodDefault<ZodNumber>;
activationBudget: ZodDefault<ZodNumber>;
sparsityRatio: ZodDefault<ZodNumber>;
activationStrategy: ZodDefault<
ZodEnum<
{
adaptive: "adaptive";
ucb: "ucb";
greedy: "greedy";
diverse: "diverse";
},
>,
>;
explorationConstant: ZodDefault<ZodNumber>;
crossTreeStrategy: ZodDefault<
ZodEnum<
{
none: "none";
insights: "insights";
full: "full";
conclusions: "conclusions";
},
>,
>;
pruningStrategy: ZodDefault<
ZodEnum<
{
none: "none";
score: "score";
depth: "depth";
combined: "combined";
},
>,
>;
minScoreThreshold: ZodDefault<ZodNumber>;
confidenceThreshold: ZodDefault<ZodNumber>;
earlyTerminationThreshold: ZodDefault<ZodNumber>;
maxExplorationTimeMs: ZodDefault<ZodNumber>;
nodeTimeoutMs: ZodDefault<ZodNumber>;
maxTokensPerTree: ZodDefault<ZodNumber>;
enableParallelExploration: ZodDefault<ZodBoolean>;
parallelThreads: ZodDefault<ZodNumber>;
enableEarlyTermination: ZodDefault<ZodBoolean>;
enableCrossTreeSharing: ZodDefault<ZodBoolean>;
temperature: ZodDefault<ZodNumber>;
seed: ZodDefault<ZodNullable<ZodNumber>>;
},
$strip,
> = ...

Schema for ForestConfig validation.

- Defined in packages/nexus-agents/src/agents/reasoning/forest-config-types.ts:122