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 be nax.config.yml, nax.config.yaml, nax.config.json, or nax.config.toml. JavaScript and TypeScript config files are blocked by safe mode during flow discovery.

Prompt delivery

VariableDefaultPurpose
NAX_SAFE_PROMPT_BYTES16384Target maximum bytes for submitted prompts.
NAX_PROMPT_BLOB_DISABLEunsetSet to 1 or true to disable blob offload.
NAX_BLOB_RETRY_ATTEMPTS3Attempts for blob set/get/delete commands.
NAX_BLOB_CLEANUP_TTL_HOURS24Age after which stale 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 compact prompt is still too large, submission fails before the agent starts.

See also

Last updated on