Skip to content

createHints

createHints(config): AgentHooks

Defined in: agent/hints.ts:302

Creates combined hints from a configuration object.

This is a convenience function that creates and merges multiple hints based on a simple configuration object.

HintsConfig

Configuration for which hints to enable

AgentHooks

Merged AgentHooks

const hooks = createHints({
iterationProgress: { timing: "late" },
parallelGadgets: true,
});
const agent = new AgentBuilder()
.withHooks(HookPresets.merge(existingHooks, hooks))
.build();