Environment Variables

Canonical reference for AUREX_* variables. Prefer this page over duplicated env lists elsewhere.

Agent hint

Use for AUREX_API_KEY, AUREX_BASE_URL, AUREX_LEDGER_PATH, AUREX_WORKER_ID, AUREX_ENABLED.

In scope

  • All AUREX_* variables
  • Serverless /tmp ledger override

Out of scope

  • Full AurexConfig table — see AurexConfig page
VariablePurpose
AUREX_API_KEYProject API key (aux_dev_*, aux_*, ax_live_*).
AUREX_BASE_URLBackend base URL. Default: http://localhost:8000/api/v1
AUREX_ENABLEDSet 1 for auto-hook activation.
AUREX_LEDGER_PATHOverride ledger file (use /tmp/... in read-only/serverless).
AUREX_WORKER_IDSuffix for per-process ledger filenames in multi-worker setups.
AUREX_WORKFLOW_IDDefault workflow attribution for auto-hook events.
AUREX_SYNC_PROMPT_HASHESSet 1 to sync prompt/response hashes to cloud.
AUREX_PRICING_PATHPath to custom model pricing JSON.
AUREX_DEBUGSet 1 for verbose SDK debug logs (Python).

See also