Skip to main content

Agent

Overview

Agent configuration controls execution limits, retry behavior, parallelism, replanning, response review, and the executor pool used by agent runs.

For how the agent plans, executes steps, loads tools, handles missing user input, and composes final responses, see Agent capability.

Properties

VariableDefaultDescription
LIGHTFLARE_AGENT_MAX_STEP_ATTEMPTS3Max attempts per agent step.
LIGHTFLARE_AGENT_MAX_PARALLEL_STEPS4Max parallel agent steps.
LIGHTFLARE_AGENT_MAX_EXECUTION_WAVES8Max execution waves for one agent run.
LIGHTFLARE_AGENT_MAX_REPLANS2Max adaptive replans for one agent run.
LIGHTFLARE_AGENT_MAX_RESPONSE_RESOLUTION_ROUNDS2Max response resolution rounds.
LIGHTFLARE_AGENT_EXECUTION_EXECUTOR_CORE_POOL_SIZE4Agent executor core pool size.
LIGHTFLARE_AGENT_EXECUTION_EXECUTOR_MAX_POOL_SIZE8Agent executor max pool size.
LIGHTFLARE_AGENT_EXECUTION_EXECUTOR_QUEUE_CAPACITY100Agent executor queue capacity.