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
| Variable | Default | Description |
|---|---|---|
LIGHTFLARE_AGENT_MAX_STEP_ATTEMPTS | 3 | Max attempts per agent step. |
LIGHTFLARE_AGENT_MAX_PARALLEL_STEPS | 4 | Max parallel agent steps. |
LIGHTFLARE_AGENT_MAX_EXECUTION_WAVES | 8 | Max execution waves for one agent run. |
LIGHTFLARE_AGENT_MAX_REPLANS | 2 | Max adaptive replans for one agent run. |
LIGHTFLARE_AGENT_MAX_RESPONSE_RESOLUTION_ROUNDS | 2 | Max response resolution rounds. |
LIGHTFLARE_AGENT_EXECUTION_EXECUTOR_CORE_POOL_SIZE | 4 | Agent executor core pool size. |
LIGHTFLARE_AGENT_EXECUTION_EXECUTOR_MAX_POOL_SIZE | 8 | Agent executor max pool size. |
LIGHTFLARE_AGENT_EXECUTION_EXECUTOR_QUEUE_CAPACITY | 100 | Agent executor queue capacity. |