ReferenceStablesince v0.9.2

Environment Variables Reference

Exhaustive reference of every NS_* environment variable read at runtime — type, default value, and operational effect.

Audience: DevOps, SREs & CI AuthorsRead: 5 min

Environment variables allow operators and CI pipelines to configure the NeuronScope platform without modifying application source code.

Precedence & Resolution

Environment Variable Reference

Variable NameTypeDefaultOperational Effect
NS_CACHE_DIRpath~/.cache/neuronscopeSpooling directory for ring buffers and remote cloud tensor caching.
NS_LOG_LEVELstringwarningLogging verbosity (debug, info, warning, error, critical).
NS_DETERMINISTICboolfalseEnforces bit-exact reproducibility; fails on un-seeded CUDA ops.
NS_STRICTboolfalseEnables strict mode for CI; rejects unverified model weights.
NS_GOVERNANCE_MODEstringenforceGovernance policy mode (enforce, audit, off).
NS_BUFFER_MBint256Lock-free ring buffer memory allocation limit in megabytes.
NS_IO_CONCURRENCYint4Parallel thread count for streaming .nsz uploads to S3/GCS/Azure.
NS_ARTIFACT_COMPRESSstringzstdCompression codec for .nsz columns (zstd, deflate, none).
NS_STORAGE_URLurlfile://.Default artifact URI (file, s3, gs, azure).
NS_PLUGIN_PATHpath[]Colon-separated paths for custom enterprise plugins and adapters.
NS_COLORstringautoCLI terminal formatting (auto, always, never).
Related