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/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/agent/agentInternal/agentOptimizeTypes.ts#L348

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