diff --git a/src/oss/deepagents/code/cli-reference.mdx b/src/oss/deepagents/code/cli-reference.mdx index 3f2a8192a1..bcef6cff80 100644 --- a/src/oss/deepagents/code/cli-reference.mdx +++ b/src/oss/deepagents/code/cli-reference.mdx @@ -311,6 +311,7 @@ Run OAuth login for MCP servers marked `auth: "oauth"` with `dcode mcp login + + ```bash + dcode --recursion-limit 5000 + ``` + + + ```bash + export DEEPAGENTS_CODE_RECURSION_LIMIT=5000 + ``` + + + ```toml title="~/.deepagents/config.toml" + [runtime] + recursion_limit = 5000 + ``` + + + + + `goal_rubric` recursion limits are separate and unaffected by this setting. + + ## See also - [Configuration](/oss/deepagents/code/configuration) diff --git a/src/oss/deepagents/code/configuration.mdx b/src/oss/deepagents/code/configuration.mdx index 745cf569bc..e24b3c4e1f 100644 --- a/src/oss/deepagents/code/configuration.mdx +++ b/src/oss/deepagents/code/configuration.mdx @@ -358,6 +358,10 @@ All Deep Agents Code-specific environment variables use the `DEEPAGENTS_CODE_` p Disable automatic update checking when set. This also prevents automatic update installs at startup. + + LangGraph graph step budget, which is the maximum number of node invocations the `dcode` agent graph may execute per turn. Valid range: `25`–`100000`. Out-of-range or non-integer values log a warning and fall back to the default (`2000`). Overridden by `--recursion-limit` at the CLI. See [Agent runtime limits](/oss/deepagents/code/config-file#agent-runtime-limits). + + Comma-separated shell commands to allow (or `recommended` / `all`).