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. |
|
|
Subdirectory under the AGILab home where shared datasets and outputs are stored. |
|
|
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 a private 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.