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

AxAgentForwardOptions

TypeScript
type AxAgentForwardOptions<T> = AxProgramForwardOptionsWithModels<T> & object;

Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/agent/agentInternal/agentOptimizeTypes.ts#L538

Forward options for AxAgent.forward(...). Extends the dsp-layer AxProgramForwardOptionsWithModels with agent-specific knobs that only make sense at the agent boundary (currently skills for one-shot preloading). Forward-time skills merge on top of init-time skills (forward overrides by id).

Type Declaration

NameType
onUsedMemories?AxAgentUsedMemoriesCallback
onUsedSkills?AxAgentUsedSkillsCallback
skills?readonly AxAgentSkillResult[]

Type Parameters

Type Parameter
T extends Readonly<AxAIService>
Docs