AxRLMConfig
Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/agent/rlm.ts#L465
RLM configuration for AxAgent.
Properties
| Property | Type | Description |
|---|---|---|
actorTurnCallback? | AxAgentActorTurnCallback | Called after each Actor turn is recorded with both raw runtime output and the formatted action-log output. |
agentStatusCallback? | (message: string, status: "success" | "failed") => void | Promise<void> | Called when the actor signals task progress via reportSuccess(message) or reportFailure(message). |
contextFields | string[] | Input fields holding long context (will be removed from the LLM prompt). |
contextPolicy? | AxContextPolicyConfig | Context replay, checkpointing, and runtime-state policy. |
maxBatchedLlmQueryConcurrency? | number | Maximum parallel llmQuery calls in batched mode (default: 8). |
maxRuntimeChars? | number | Maximum characters to keep from runtime output and console/log replay (default: 3000). |
maxSubAgentCalls? | number | Global cap on recursive sub-agent calls across all descendants (default: 100). |
maxTurns? | number | Maximum Actor turns before forcing Responder (default: 10). |
onContextEvent? | AxAgentOnContextEvent | Called when AxAgent measures context pressure or changes compacted context state. Intended for observability; callback failures are ignored. |
promptLevel? | "default" | "detailed" | Actor prompt verbosity and scaffolding level (default: ‘default’). |
runtime? | AxCodeRuntime | Code runtime for the REPL loop (default: AxJSRuntime). |
summarizerOptions? | Omit<AxProgramForwardOptions<string>, "functions"> | Default options for the internal checkpoint summarizer. |