Environment Variables
AGILab reads its configuration from environment variables. You can set them globally in
$HOME/.agilab/.env or per-session before launching Streamlit / AGI installers. The table below
summarises the supported keys.
Variable |
Default |
Purpose |
|---|---|---|
|
|
Root directory containing app projects; used when selecting the active app. |
|
|
App loaded when no explicit project is provided. |
|
|
Python version passed to |
|
|
Enables free-threaded Python if both the environment and worker declare support. Either the
string |
|
|
Maximum number of rows shown in Streamlit data previews. |
|
|
Sample size used when previewing large tables. |
|
Current OS user |
Username/password pair ( |
|
unset |
API key surfaced to features that rely on OpenAI endpoints. |
|
|
Base directory for shared datasets/outputs. For local runs, point this to a writable path; on clusters, mount it so all nodes can read/write. |
|
|
Local fallback for datasets/outputs if the primary share is not mounted. |
|
|
Default scheduler host for distributed runs. |
|
|
Parent directory for install logs ( |
|
|
Target directory for exported artefacts. |
|
|
Where MLflow tracking data is stored when experiments are enabled. |
|
|
Location of Streamlit page bundles loaded by the Explore/Edit views. |
|
unset |
Optional pointer to the repository checkout containing apps or overrides. |
|
|
Controls the installation mode passed to |
Additional host specific keys are supported for worker provisioning (for example
127.0.0.1_CMD_PREFIX or 127.0.0.1_PYTHON_VERSION); these are written automatically into
$HOME/.agilab/.env when you run installers and rarely need manual editing.
Remember to restart the Streamlit session after changing $HOME/.agilab/.env so AgiEnv picks
up the new values.