Headless Batch
A batch experiment is declared in a GAML model with mode: batch. The headless runner can execute it without opening the GAMA user interface.
Run a batch experiment​
Use the experiment name declared in the model and the path to its .gaml file:
./gama-headless.sh -batch ExperimentName /path/to/model.gaml
On Windows, run gama-headless.bat with the same arguments. From an installed command-line package, use the gama-headless command. Run the launcher with -help to see the options available in your GAMA installation.
The model controls the exploration design, parameters, repetitions, stop conditions and outputs. The command runs the named batch experiment; it does not take an output directory argument. Configure file outputs in the model with paths appropriate to the working directory used to launch GAMA.
The model library includes batch examples, such as Experiment and simulation. The source model shows how a batch experiment defines parameters, repetitions and output behavior.
For XML experiment plans retained by older workflows, see Headless Legacy. For interactive WebSocket control, see Headless Server.