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

AxAgentDirectResponse

TypeScript
type AxAgentDirectResponse = "auto" | "off";

Defined in: https://github.com/ax-llm/ax/blob/3ac75e381dcefb739712993c304c34295567283a/src/ax/agent/config.ts#L190

Direct-respond knob: lets the distiller end the run with respond(task, evidence) and skip the executor stage entirely (zero executor model calls) when the task needs no user-provided functions.

  • 'auto' (default): agents with zero functions/child agents run respond-only (the skip is deterministic — final is not offered); agents WITH functions offer respond alongside final under a conservative covenant (no live/fresh-state asks, no side effects, no task covered by a listed function/module domain).
  • 'off': the primitive is absent from the prompt and the runtime, and a respond payload reaching the pipeline is rejected.
Docs