▶️ EXECUTE
Introduction
Execute walks through the lifecycle required to ship and operate an AGILab
application. It generates ready-to-run snippets, streams logs back into the UI
and keeps app_settings.toml
synchronised so that installs, distribution
checks and runs are reproducible.
Main Content Area
System settings
groups the cluster configuration. Toggle support forpool
,cython
andrapids
, enable the Dask scheduler and provide IP definitions for workers. The calculated mode hint clarifies how the chosen combination will execute and the settings are written back toapp_settings.toml
.Install
renders the install snippet that provisions the project’s virtual environments.INSTALL
streams stdout/stderr intoInstall logs
so you know when the worker is ready. A successful install automatically enables theRun
section.Distribute
is split into two parts:<module> args
: edit the run arguments managed inapp_args.py
. You can toggle between the generated form UI and the custom Streamlit snippet saved inapp_args_form.py
. Saved values update[args]
inapp_settings.toml
.Distribute details
: generates theAGI.get_distrib
snippet and theCHECK DISTRIBUTE
action. When the command succeeds theDistribution tree
expander plots the resulting work plan (DAG or tree) andWorkplan
lets you reassign partitions to different workers before saving the modified plan.
Run
exposes theAGI.run
snippet together with aBenchmark all modes
toggle if you want to iterate through every execution path.RUN
streams logs into theRun logs
expander and stores the output timings inbenchmark.json
, which is summarised underBenchmark results
.LOAD DATA
fetches the latest dataframe path configured for the project and shows an in-place preview. The preview is available even after a rerun.Prepare Data for Experiment and Explore
creates (or updates) the CSV that powers the Experiment and Explore pages. Use the column selector withSelect all
support to decide which fields are persisted to${AGILAB_EXPORT_ABS}/<module>/export.csv
.
Regenerate Documentation
After updating this guide (or any docs surfaced in the IDE), rebuild the generated site so teammates and CI consume the same content:
./docs/gen_docs.sh
The wrapper guarantees uv
runs docs/gen-docs.py
with the extra build
dependencies required for Sphinx and stub generation.