Skip to main content
Version: 🚧 Alpha 🚧

Headless Legacy

The legacy headless runner accepts XML experiment plans. Use it when an existing script or pipeline depends on that format. For new experiments, define the exploration in a GAML mode: batch experiment and use Headless Batch.

Generate and run an XML plan​

Generate a plan from a named experiment in a GAML model:

./gama-headless.sh -xml ExperimentName /path/to/model.gaml /path/to/plan.xml

Run the plan by passing the XML file and a results directory:

./gama-headless.sh /path/to/plan.xml /path/to/results

On Windows, use gama-headless.bat with the same arguments. The installed launcher’s -help output describes the legacy command syntax for that GAMA version.

The generated XML plan is the reference for the supported fields and parameter values for a particular model. Generate it from the model before editing a plan by hand. Experiment names are case-sensitive.

For WebSocket commands, use Headless Server; for GAML batch experiments, use Headless Batch.