Skip to content

run: Run a marketplace experiment

Run a marketplace simulation using YAML configuration files. You must provide the path to a directory with /businesses and /customers subdirectories that contain YAML files. See the data folder in our repo for examples.

Usage:

bash
magentic-marketplace run data/mexican_3_9 --experiment-name my_experiment

Common arguments:

data_dir (required)

    Path to the data directory containing businesses/ and customers/ subdirectories

--experiment-name (optional)

    Name for this experiment. If not provided, a unique name will be generated.

--override-db (optional)

    Override the experiment with this name if it exists.

--search-algorithm (optional)

    Search algorithm for customer agents (default: lexical).

--search-bandwidth (optional)

    Search bandwidth for customer agents (default: 10).

--customer-max-steps (optional)

    Maximum number of steps a customer agent can take before stopping (default: 100).

Additional options: See additional arguments with magentic-marketplace run --help.