Skip to content

Environment Variables and Governance ​

The 7 Kept Legacy Exceptions ​

Exactly 7 widely deployed operational environment variables are explicitly exempted from mechanical CSI_<SECTION>_<KEY> renaming (ConfigEntry.env_override = Some(...)). These 7 variables retain their concise top level CSI_* names across all repositories, Docker Compose overlays, ECS task definitions, and Helm charts:

Kept Exception VariableBacking sys_config KeyGovernance BucketTypeDefaultPurpose
CSI_CONFIG_PATHBootstrap Locatorbootstrapstring"/etc/caber/config.json"Absolute filesystem path or URI to the active JSON configuration file.
CSI_DISABLE_SSL_VERIFYGLOBAL.tlsVerify (inverted)config-selectionboolean"false"When set to "1" or "true", disables outbound TLS certificate verification (GLOBAL.tlsVerify = false) for local self signed testing.
CSI_DOC_PARSER_PORTDocParser.portconfig-selectioninteger"8084"TCP listen port for the Document Parser HTTP/gRPC server.
CSI_DOC_PARSER_WORKERSDocParser.workersconfig-selectioninteger"4"Worker process or thread count for the Document Parser service.
CSI_LOG_FILEGLOBAL.logFilebootstrapstring""File path for structured JSON or text log output (empty writes to stdout/stderr).
CSI_LOG_LEVELGLOBAL.logLevelbootstrapstring"INFO"Minimum log severity filter ("TRACE", "DEBUG", "INFO", "WARN", "ERROR").
CSI_NO_RESTARTENV_Manager.noRestartbootstrapboolean"false"Prevents supervisor loops and container entrypoints from automatically restarting exited worker processes during debugging.

Complete Environment_Variables Catalog ​

The table below lists the primary bootstrap, credential-source, and high traffic config-selection environment variables across PyCaber and its companion services. Any sys_config key not listed individually below uses its mechanical CSI_<SECTION_UPPER_SNAKE>_<KEY_UPPER_SNAKE> name.

Environment VariableBucketBacking json_config KeySensitivityDescription
CSI_CONFIG_PATHbootstrapNone (Kept Exception)nonePath to the active JSON configuration file.
CSI_CONFIG_SIGNING_PUBKEYbootstrapNoneinternalHex or base64 encoded Ed25519 public key used by ConfigSource.RemoteSigned to verify control plane configuration envelopes.
CSI_DISABLE_SSL_VERIFYconfig-selectionGLOBAL.tlsVerifynoneKept exception that disables outbound TLS certificate verification when true.
CSI_DOC_PARSER_PORTconfig-selectionDocParser.portnoneKept exception setting the Document Parser listen port.
CSI_DOC_PARSER_WORKERSconfig-selectionDocParser.workersnoneKept exception setting the Document Parser worker count.
CSI_LOG_FILEbootstrapGLOBAL.logFilenoneKept exception specifying the log output file path.
CSI_LOG_LEVELbootstrapGLOBAL.logLevelnoneKept exception specifying the process log level.
CSI_NO_RESTARTbootstrapENV_Manager.noRestartnoneKept exception disabling automatic process restart on exit.
CSI_AWS_REGIONconfig-selectionAWS.regionnoneOverrides the AWS region for S3 and KMS operations.
CSI_AWS_S3_MAX_RETRIESconfig-selectionAWS.s3MaxRetriesnoneOverrides maximum S3 client retry attempts.
CSI_GLOBAL_ACCOUNT_IDconfig-selectionGLOBAL.accountIdinternalOverrides the active Caber customer account identifier.
CSI_GLOBAL_CORI_IDconfig-selectionGLOBAL.coriIdinternalOverrides the canonical CORI prefix.
CSI_GLOBAL_CSI_BUCKETconfig-selectionGLOBAL.csiBucketnoneOverrides the default shared storage bucket name.
CSI_GLOBAL_DEPLOYMENT_MODEconfig-selectionGLOBAL.deploymentModenoneSelects deployment topology ("docker-compose", "ecs-ec2", "ecs-fargate", "eks", "standalone").
CSI_GLOBAL_LOCAL_PREFIXconfig-selectionGLOBAL["localPrefix"]noneBase filesystem path prefix used by get_global_output_directory().
CSI_GLOBAL_LOCAL_STORAGEconfig-selectionGLOBAL["localStorage"]noneEnables local filesystem storage mode instead of remote S3 or MinIO.
CSI_GLOBAL_SERVICE_API_KEYcredential-sourceGLOBAL.serviceApiKeysecretShared secret key for authenticating internal service to service requests.
CSI_GLOBAL_SDK_AUTO_APPROVEconfig-selectionGLOBAL.sdk.autoApprovenoneControls automatic approval of newly registered pycaber.auto SDK instances.
CSI_GLOBAL_SDK_INSTANCE_EXPIRY_SECSconfig-selectionGLOBAL.sdk.instanceExpirySecsnoneHeartbeat expiration window in seconds for active SDK instances.
CSI_GLOBAL_SDK_EXPIRED_RETENTION_HOURSconfig-selectionGLOBAL.sdk.expiredRetentionHoursnoneRetention window in hours before expired SDK instance records are purged.
CSI_GLOBAL_SDK_SEED_API_KEYcredential-sourceGLOBAL.sdk.seedApiKeysecretBootstrap API key used by pycaber.auto instances during initial registration.
CSI_GLOBAL_SDK_REQUIRE_API_KEYconfig-selectionGLOBAL.sdk.requireApiKeynoneEnforces API key authentication on all inbound SDK telemetry and policy calls.
CSI_GLOBAL_SDK_NOPATCH_MODULESconfig-selectionGLOBAL.sdk.noPatchModulesnoneComma separated list of Python modules skipped by pycaber.auto wrapt.when_imported hooks.
CSI_GLOBAL_SDK_AGENT_FRAMEWORK_CREWAIconfig-selectionGLOBAL.sdk.agentFramework.crewainonePrefix skip list for crewai in process adapter instrumentation.
CSI_GLOBAL_SDK_AGENT_FRAMEWORK_LANGCHAINconfig-selectionGLOBAL.sdk.agentFramework.langchainnonePrefix skip list for langchain in process adapter instrumentation.
CSI_GLOBAL_SDK_AGENT_FRAMEWORK_LANGGRAPHconfig-selectionGLOBAL.sdk.agentFramework.langgraphnonePrefix skip list for langgraph in process adapter instrumentation.
CSI_GLOBAL_SDK_AGENT_FRAMEWORK_LLAMAINDEXconfig-selectionGLOBAL.sdk.agentFramework.llamaindexnonePrefix skip list for llamaindex in process adapter instrumentation.
CSI_GLOBAL_SDK_AGENT_FRAMEWORK_AUTOGENconfig-selectionGLOBAL.sdk.agentFramework.autogennonePrefix skip list for autogen in process adapter instrumentation.
CSI_DOC_PARSER_NER_ENGINEconfig-selectionDocParser.nerEnginenoneSelects the active NER engine ("gliner2" default).
CSI_DOC_PARSER_GLINER_ENDPOINTconfig-selectionDocParser.glinerEndpointnoneEndpoint URL for the host GPU gliner2 model server (http://127.0.0.1:8765).
CSI_DOC_PARSER_DOCLING_ENDPOINTconfig-selectionDocParser.doclingEndpointnoneEndpoint URL for the host GPU docling_serve_wrapper.py server (http://127.0.0.1:8766).
CSI_DOC_PARSER_FORMAT_ROUTER_FALLBACK_GATE_MIN_TEXT_CHARSconfig-selectionDocParser.formatRouter.fallbackGate.minTextCharsnoneMinimum extracted text character floor (200) before triggering a docling fallback retry.
CSI_DOC_PARSER_FORMAT_ROUTER_FALLBACK_GATE_MIN_INPUT_BYTESconfig-selectionDocParser.formatRouter.fallbackGate.minInputBytesnoneMinimum raw input size in bytes (10240) at which the sparse extraction fallback gate activates.
CSI_LINK_DATA_SEPARATE_CLUSTER_GROUPSconfig-selectionLink_Data.separateClusterGroupsnoneIsolates fresh vs stale similarity cluster group evaluations during incremental graph linking.