Skip to Content
ReferenceConfiguration

Configuration reference

nax keeps configuration intentionally small: most behavior is declared in workflow files or selected through command flags. This page collects the remaining surfaces that affect flow discovery, transport selection, prompt delivery, dashboard development, and artifact handling.

Project workflow discovery

nax.config.json
{ "flowsDirs": [ ".github/nax-flows", "tools/nax/flows" ] }

You can also use:

nax list --flows-dir tools/nax/flows NAX_FLOWS_DIRS=tools/nax/flows,.github/nax-flows nax list

Project config files may use YAML, JSON, TOML, or a JavaScript/TypeScript file containing a single JSON5-compatible static object export. Dynamic module code is blocked during flow discovery.

Prompt delivery

VariableDefaultPurpose
NAX_SAFE_PROMPT_BYTES16384Maximum final decorated UTF-8 bytes submitted by the SDK.
NAX_PROMPT_BLOB_DISABLEunsetSet to 1 or true to limit SDK delivery to inline/compact and disable compatibility-path blob offload.
NAX_BLOB_RETRY_ATTEMPTS3Attempts for legacy GitHub issue/comment blob commands.
NAX_BLOB_CLEANUP_TTL_HOURS24Age after which legacy registry refs are eligible for cleanup.
NAX_OUTPUT_BUDGETunsetAppends response-size guidance when truthy.
NAX_OUTPUT_BUDGET_BYTES64000Target output size when guidance is enabled.

Dashboard development

VariablePurpose
NAX_DASHBOARD_API_URLBackend origin or /api path used by Vite dev.
VITE_NAX_DASHBOARD_API_URLVite-facing equivalent.
NAX_DASHBOARD_TOKENToken injected into the Vite dev client.
NAX_DASHBOARD_DEPLOYMENT_MODElocal, desktop, or web capability mode.
NAX_DASHBOARD_WEB_CAN_START_RUNSAllows hosted web dashboard run starts when set to 1.
NAX_DASHBOARD_WEB_CAN_DRY_RUNAllows hosted web dashboard dry runs when set to 1.

State and debugging

VariablePurpose
NAX_STATE_LOCK_TIMEOUT_MSTimeout for workflow state lock acquisition.
NAX_STATE_LOCK_STALE_MSAge after which a lock is treated as stale.
NAX_DEBUG_ARTIFACTSEnables extra local artifact debugging output.
NAX_INCLUDE_COSTIncludes estimated USD cost beside Netlify credit usage.
⚠️

Disabling blob offload is risky for synthesis-heavy workflows. If the SDK’s compact prompt still exceeds the final decorated byte budget, submission fails with prompt-too-large before the agent starts.

See also

Last updated on