Environment variables

CLAUDE_CODE_MAX_SUBAGENTS_PER_SESSION

Acts as an obsolete setting that once limited total subagents spawned per session.

Syntax

CLAUDE_CODE_MAX_SUBAGENTS_PER_SESSION

Type to search the reference, templates and lessons.