Skip to content
Agents and the MCP server

Agents and the MCP server

An agent client such as Claude Code or Claude Desktop can open, edit, validate, save and launch an Experiment through experimenter mcp. This page lists the tools, the commands, the Settings switches and the confirmation rules.

Connect a client

Connect an agent gives the setup for Claude Code, Claude Desktop and another MCP client. It also explains the two modes and the clients that can confirm.

Settings

The Agents group in Settings holds seven switches. Only the person changes them. A call from an agent that changes one returns refused.

SwitchDefaultWhat it covers
Let agents connectOffWhether an agent can attach to the open window. On writes the discovery file and opens a local socket.
Confirm agent model writesOnA write into the model file. Class model_write.
Confirm agent file overwritesOnA save over an Experiment file that exists, or a discard of unsaved changes. Class file_overwrite.
Confirm agent Settings changesOnA change to an application setting. Class app_settings.
Confirm agent Batch launchesOnThe start of a Batch. Class batch_launch.
Confirm agent script commandsOnA new Script or a change to the command of a Script. Class hook_command.
Confirm agent engine binary changesOnA change to the path of a Stella binary. The next launch runs the program at that path. Class engine_binary.

Confirmation

When a call meets a class whose switch is on, the server asks the person through the client. In attached mode the window asks. The prompt names the command, its classes and the Experiment path. A Script command or a Batch launch also shows the exact program and arguments of each Script.

The person answers Allow, Deny or Always allow. Always allow sets the switch of that class to off in settings.json. Later calls of that class then run with no prompt.

An approval holds for one call and ten minutes. A changed input, path or Experiment voids it. The call then returns refused.

Limits of confirmation

Confirmation guards against a mistake of the agent. It is not a security boundary.

  1. An agent with a shell can edit the .expt file with no prompt.
  2. Headless confirmation trusts the client to show the question to a person. A client that answers it from the model defeats it.

A client without a shell, such as Claude Desktop, reaches a Script command only through the hook_command class.

Model file writes

A save that omits write_model takes the Write changes to model file switch from Settings. An explicit write_model wins. A save that writes the model file meets model_write.

An earlier build kept this switch in a different place. If you turned it off there, the app carries the Off into Settings once, when the app window starts. The commands experimenter call and experimenter mcp do not carry it. After an update, open the app window once before an agent saves in headless mode.

Settings commands

The settings tool changes the Settings that an agent may change. settings_read returns every row of the Settings window. Each row has a group: writable, confirm or read_only. A change asks under app_settings.

A Stella binary path asks under app_settings and engine_binary, because the next launch runs the program at that path. The path must be an executable file. A call asks when either switch is on. settings_force_close_stella asks under file_overwrite, because it ends Stella and loses its unsaved work.

No command changes the switches of the Agents group, Let agents connect or Check for updates at launch. License install and terms acceptance have no command. Two settings apply on macOS only: the silence of Stella GUI errors and the reopen-windows prompt. A headless change to Silence Stella GUI errors takes effect at the next start of the app window.

Launch

Over MCP, the launch commands are ops of the batch tool: run_launch is op launch and run_launch_status is op status. The Commands table gives the op of each command.

run_launch starts a Batch from the saved Experiment. It works on macOS and Linux. On Windows it returns refused. It never saves. A call with no file, unsaved changes or queued node operations returns needs_input. Save first. monitor_read shows an attached Batch.

run_dry_run plans a launch and starts no engine. It plans the Experiment as it is now, saved or not.

A headless launch runs as a detached child.

To read it, call run_launch_status. It returns the job rows, the Log tail and the Write List of each job.

To hold the next job, call run_launch_pause. To end the Batch after the step that runs now, call run_launch_stop. Both write a control file that the child reads.

run_launch_cancel ends the process group of the child. It asks under file_overwrite, because it loses the job in flight. Finished Runs keep their output.

While a run is in flight, the Sequence commands sequence_add, sequence_duplicate, sequence_rename and sequence_remove return refused. In attached mode, every command that edits the Experiment or its model, and both save commands, also return refused. The app window has the same lock. Wait for the Batch to end, or stop it.

These commands refuse a folder where no Batch runs. A launch with resume set restarts the unfinished Runs of a stopped Batch in its own folder.

Findings and checks

A validation refusal holds the findings as data in findings. That object is the one experimenter validate --json prints. It has configuration, status and messages. The reason is one line that counts the errors. read op validate returns the same messages.

Each message has six keys: level, message, where, code, path and fix. The path key is a JSON pointer into the Experiment file, such as /runs/Baseline/checks/0. A finding about the whole file has the pointer "". For an Experiment that is not saved, the pointer follows the Experiment in memory. A finding with no code or no fix has null in that key.

A Run can hold acceptance checks. A failed check leaves the status of its job unchanged.

Pass fail_on_checks to batch op launch to ask for an exit code. When the Batch ends, batch op status gives exit_code. The code is 1 when a job failed, a Script failed without continue_on_error, or a Sequence lane failed. The code is 4 when every job succeeded and a check failed. Otherwise the code is 0. Without fail_on_checks, exit_code is null.

Records, journal and approval

Every Batch writes a record, batch.json. The monitor tool, op record, returns it. It holds the environment with sources, the launch, the seeds and one entry per job. It holds no result file.

Each Experiment has a journal beside the .expt file. The journal marks each Save as made by a person or by an agent. For an agent it names the MCP session. See the journal.

Three commands stay on the command line and have no MCP tool: approve, reproduce and trust. An agent can read the plan_hash that batch op dry_run returns. It cannot approve the plan. It cannot turn off the Trust settings Refuse a launch with uncommitted inputs and Runs need an approved plan. When Runs need an approved plan is on, a launch of an unapproved plan returns refused. The text names no hash and no command.

Approval stops an agent that has MCP access only. The command cannot tell a person from a shell agent on the same user account. An agent with a shell can run experimenter approve. The plan hash covers the Experiment file, the model, its modules and each resolved import file. It covers each Script file in the Experiment folder too. A new hash needs a new approval.

License and terms

Every call runs the terms check, the beta gate and the read-only check. A refused call returns the same text as the command line.

Tool list

experimenter tools --json prints the commands and mcp_tools lists with tool_list_version. The current version is 0.42. A new command or optional input raises MINOR. A removed command, a removed input or a changed type raises MAJOR. Before version 1.0, every change raises MINOR.

Tools

The MCP server lists 15 tools. Each takes an op and the inputs of that op at the top level. An op that more than one section holds also takes section, one of run, sensitivity, optimization or sequence. A name that is not in this table is not a tool. The server refuses it.

ToolCommandsClasses it can ask
batch7batch_launch, file_overwrite
bundle3batch_launch, hook_command
dataset_edit24hook_command
document6file_overwrite, model_write
group_edit46None
monitor10batch_launch
node_edit5model_write
optimizer_edit22model_write
read9None
routine_edit11model_write
screen3None
script_edit2hook_command
section_edit55None
sequence_edit24None
settings13app_settings, engine_binary, file_overwrite

Commands

experimenter call <command> runs any of these. A screen command works on the open app window. A document command works on the open Experiment. Asks lists the confirmation classes.

CommandToolOpLevelAsksWhat it does
run_dry_runbatchdry_rundocumentNoneResolve the plan of a launch of the Experiment as it is now, saved or not. The plan gives the model, the jobs in order, their data files, the output.csv columns and the size estimate. It starts no engine and writes nothing.
run_launchbatchlaunchdocumentbatch_launchStart a Batch from the saved Experiment as a detached process and return its folder. Pass resume to restart an interrupted Batch in its own folder.
run_launch_cancelbatchcanceldocumentfile_overwriteEnd the process group of a launched Batch: SIGTERM, then SIGKILL after 10 s. Finished Runs keep their output. It takes the folder batch op launch returned.
run_launch_pausebatchpausedocumentNoneHold a launched Batch after the step that runs now. Pass paused false to lift the hold. It takes the folder batch op launch returned.
run_launch_statusbatchstatusdocumentNoneRead a launched Batch while it runs and after it ends. It gives whether the Batch runs and its Batch record. It also gives the job rows, the tail of detached.log and the Write List of each job.
run_launch_stopbatchstopdocumentNoneStop a launched Batch after the step that runs now. Finished Runs keep their output and nothing collates. It takes the folder batch op launch returned.
sequence_run_enabledbatchrun_sequencesdocumentbatch_launchStart every enabled Sequence in the saved Experiment as one detached process. Returns each output root and the folder of each Sequence. A Sequence that validation refuses does not start. It is listed under refused, with its findings, and the others start.
bundle_createbundlecreatedocumentNonePack the saved Experiment, its model and data and one batch into -bundle-.zip. Pass dry_run to plan the bundle and write nothing.
bundle_openbundleopendocumenthook_command if the bundle holds a Script.Unpack a bundle into a new folder and return the path of its Experiment. It verifies nothing and runs nothing. Call document op open on the returned path to edit it.
bundle_verifybundleverifydocumentbatch_launch. hook_command too if run_scripts is true and the bundle holds a Script.Re-run a bundle with its recorded engine and compare every output column. It runs no Script unless run_scripts is true. The window refuses it: run it headless, or use File > Verify Bundle.
optimization_add_datasetdataset_editadd_dataset (optimization)documentNoneAppend a dataset to the axis and return its index.
optimization_add_dataset_hookdataset_editadd_dataset_hook (optimization)documenthook_commandAdd a Script to a dataset’s before or after side.
optimization_remove_datasetdataset_editremove_dataset (optimization)documentNoneRemove a dataset.
optimization_remove_dataset_hookdataset_editremove_dataset_hook (optimization)documentNoneRemove a Script from a dataset.
optimization_set_dataset_activedataset_editset_dataset_active (optimization)documentNoneActivate or deactivate a dataset.
optimization_set_dataset_fielddataset_editset_dataset_field (optimization)documentNoneSet the name or base of a dataset.
optimization_set_dataset_hook_commanddataset_editset_dataset_hook_command (optimization)documenthook_commandSet the command of a dataset Script.
optimization_set_dataset_hook_fielddataset_editset_dataset_hook_field (optimization)documentNoneSet the name, timeout or continue_on_error of a dataset Script.
run_add_datasetdataset_editadd_dataset (run)documentNoneAppend a dataset to the axis and return its index.
run_add_dataset_hookdataset_editadd_dataset_hook (run)documenthook_commandAdd a Script to a dataset’s before or after side.
run_remove_datasetdataset_editremove_dataset (run)documentNoneRemove a dataset.
run_remove_dataset_hookdataset_editremove_dataset_hook (run)documentNoneRemove a Script from a dataset.
run_set_dataset_activedataset_editset_dataset_active (run)documentNoneActivate or deactivate a dataset.
run_set_dataset_fielddataset_editset_dataset_field (run)documentNoneSet the name or base of a dataset.
run_set_dataset_hook_commanddataset_editset_dataset_hook_command (run)documenthook_commandSet the command of a dataset Script.
run_set_dataset_hook_fielddataset_editset_dataset_hook_field (run)documentNoneSet the name, timeout or continue_on_error of a dataset Script.
sensitivity_add_datasetdataset_editadd_dataset (sensitivity)documentNoneAppend a dataset to the axis and return its index.
sensitivity_add_dataset_hookdataset_editadd_dataset_hook (sensitivity)documenthook_commandAdd a Script to a dataset’s before or after side.
sensitivity_remove_datasetdataset_editremove_dataset (sensitivity)documentNoneRemove a dataset.
sensitivity_remove_dataset_hookdataset_editremove_dataset_hook (sensitivity)documentNoneRemove a Script from a dataset.
sensitivity_set_dataset_activedataset_editset_dataset_active (sensitivity)documentNoneActivate or deactivate a dataset.
sensitivity_set_dataset_fielddataset_editset_dataset_field (sensitivity)documentNoneSet the name or base of a dataset.
sensitivity_set_dataset_hook_commanddataset_editset_dataset_hook_command (sensitivity)documenthook_commandSet the command of a dataset Script.
sensitivity_set_dataset_hook_fielddataset_editset_dataset_hook_field (sensitivity)documentNoneSet the name, timeout or continue_on_error of a dataset Script.
document_closedocumentclosedocumentfile_overwrite if discard is true.Close an open Experiment. Unsaved changes need discard true.
document_newdocumentnewdocumentNoneStart a blank Experiment for a path. It writes no file until document op save runs.
document_opendocumentopendocumentNoneOpen an Experiment file so later commands can edit it.
document_revertdocumentrevertdocumentfile_overwrite if discard is true.Reload the Experiment from its file. Unsaved changes need discard true.
document_savedocumentsavedocumentfile_overwrite if the file exists. model_write if write_model is true and the save writes the model.Write the Experiment file, and the model file when write_model is true.
document_save_asdocumentsave_asdocumentfile_overwrite if the new path exists. model_write if write_model is true and the save writes the model.Write the Experiment to a new path and keep working on that file.
optimization_add_groupgroup_editadd_group (optimization)documentNoneAdd an empty Group and return its index and stored name. It always shows.
optimization_assign_itemgroup_editassign_item (optimization)documentNoneFile a step into a Group, or into none when group is empty.
optimization_duplicate_groupgroup_editduplicate_group (optimization)documentNoneCopy a Group and its steps.
optimization_move_groupgroup_editmove_group (optimization)documentNoneMove a Group to another position.
optimization_move_group_membergroup_editmove_group_member (optimization)documentNoneReorder the members of a Group.
optimization_remove_groupgroup_editremove_group (optimization)documentNoneDelete a Group. Its steps move to the Group before it. The only Group stays while it holds a step.
optimization_rename_groupgroup_editrename_group (optimization)documentNoneRename a Group and every Sequence stage that names it.
optimization_set_group_chaingroup_editset_group_chain (optimization)documentNoneChain every step of a Group after its first, or none.
optimization_set_group_comparisongroup_editset_group_comparison (optimization)documentNoneSet the comparison file of a Group. Empty inherits the default.
optimization_set_group_comparison_rungroup_editset_group_comparison_run (optimization)documentNoneSet the comparison run of a Group. Empty inherits the default.
optimization_set_group_enginegroup_editset_group_engine (optimization)documentNoneSet the engine of a Group. None inherits.
optimization_set_group_output_variablesgroup_editset_group_output_variables (optimization)documentNoneSet the output-variables file or table of a Group.
optimization_set_group_retentiongroup_editset_group_retention (optimization)documentNoneSet the output retention of a Group. None inherits.
optimization_set_group_retriesgroup_editset_group_retries (optimization)documentNoneSet the retries of a Group. None inherits.
optimization_set_group_sectiongroup_editset_group_section (optimization)documentNoneSet outputs, calibration_timeout or output_increment of a Group.
optimization_set_group_sim_specsgroup_editset_group_sim_specs (optimization)documentNoneChange nothing. An Optimization Group has no sim_specs; set its time window with optimization_set_group_window. The shared Group settings call this verb on every tab.
optimization_set_group_timeoutgroup_editset_group_timeout (optimization)documentNoneSet the timeout of a Group in seconds. None inherits.
optimization_set_group_windowgroup_editset_group_window (optimization)documentNoneSet the time window of a Group. Empty or None inherits.
run_add_groupgroup_editadd_group (run)documentNoneAdd an empty Group and return its index and stored name.
run_assign_itemgroup_editassign_item (run)documentNoneFile a Run into a Group, or into none when group is empty.
run_duplicate_groupgroup_editduplicate_group (run)documentNoneCopy a Group and its member Runs.
run_move_groupgroup_editmove_group (run)documentNoneMove a Group to another position.
run_move_group_membergroup_editmove_group_member (run)documentNoneReorder the members of a Group.
run_remove_groupgroup_editremove_group (run)documentNoneDelete a Group. Its members stay.
run_rename_groupgroup_editrename_group (run)documentNoneRename a Group and every reference to it.
run_set_group_enginegroup_editset_group_engine (run)documentNoneSet the engine of a Group. None inherits.
run_set_group_output_variablesgroup_editset_group_output_variables (run)documentNoneSet the output-variables file or table of a Group.
run_set_group_retentiongroup_editset_group_retention (run)documentNoneSet the output retention of a Group. None inherits.
run_set_group_retriesgroup_editset_group_retries (run)documentNoneSet the retries of a Group. None inherits.
run_set_group_sectiongroup_editset_group_section (run)documentNoneSet outputs, calibration_timeout or output_increment of a Group.
run_set_group_sim_specsgroup_editset_group_sim_specs (run)documentNoneSet the sim_specs of a Group. Empty or None inherits.
run_set_group_timeoutgroup_editset_group_timeout (run)documentNoneSet the timeout of a Group in seconds. None inherits.
sensitivity_add_groupgroup_editadd_group (sensitivity)documentNoneAdd an empty Group and return its index and stored name.
sensitivity_assign_itemgroup_editassign_item (sensitivity)documentNoneFile a Run into a Group, or into none when group is empty.
sensitivity_duplicate_groupgroup_editduplicate_group (sensitivity)documentNoneCopy a Group and its member Runs.
sensitivity_move_groupgroup_editmove_group (sensitivity)documentNoneMove a Group to another position.
sensitivity_move_group_membergroup_editmove_group_member (sensitivity)documentNoneReorder the members of a Group.
sensitivity_remove_groupgroup_editremove_group (sensitivity)documentNoneDelete a Group. Its members stay.
sensitivity_rename_groupgroup_editrename_group (sensitivity)documentNoneRename a Group and every reference to it.
sensitivity_set_group_enginegroup_editset_group_engine (sensitivity)documentNoneSet the engine of a Group. None inherits.
sensitivity_set_group_output_variablesgroup_editset_group_output_variables (sensitivity)documentNoneSet the output-variables file or table of a Group.
sensitivity_set_group_retentiongroup_editset_group_retention (sensitivity)documentNoneSet the output retention of a Group. None inherits.
sensitivity_set_group_retriesgroup_editset_group_retries (sensitivity)documentNoneSet the retries of a Group. None inherits.
sensitivity_set_group_sectiongroup_editset_group_section (sensitivity)documentNoneSet outputs, calibration_timeout or output_increment of a Group.
sensitivity_set_group_sim_specsgroup_editset_group_sim_specs (sensitivity)documentNoneSet the sim_specs of a Group. Empty or None inherits.
sensitivity_set_group_timeoutgroup_editset_group_timeout (sensitivity)documentNoneSet the timeout of a Group in seconds. None inherits.
monitor_comparemonitorcomparedocumentNoneCompare the collated outputs of two Batch folders per series and step. A is the reference. It gives the worst series and the first step past the tolerance. It reads two results, runs nothing and writes nothing.
monitor_launchmonitorlaunchdocumentbatch_launchStart a Batch as the Run button of the Monitor does. It takes the inputs of batch op launch.
monitor_open_job_foldermonitoropen_job_folderscreenNoneReturn the folder of one job, by row or the selected row. It opens no file manager. Refused when the row has no folder.
monitor_open_outputmonitoropen_outputscreenNoneReturn the collated output file, or the output folder of a Run Enabled batch. It opens no file manager. Refused until a file exists.
monitor_pausemonitorpausescreenNoneHold the Batch after the step that runs now. Pass paused false to lift the hold. Refused while no Batch runs.
monitor_pick_targetmonitorpick_targetscreenNonePick the Run Target by label or by index. Index counts the monitor op read targets from 0. It starts nothing.
monitor_readmonitorreadscreenNoneRead the Monitor. It gives whether a Batch runs, the state line and the Run Target list. It gives the job table, the Log and the Write List of each job. It also names the buttons that are on.
monitor_recordmonitorrecorddocumentNoneReturn the Batch record, the batch.json of one Batch folder. It gives the environment with its sources, the launch, the seeds, the outputs and one entry per job. It reads no result file.
monitor_resumemonitorresumescreenbatch_launchResume an interrupted Batch of the Run tab in its own folder. It saves nothing and needs the app window.
monitor_stopmonitorstopscreenNoneStop the Batch after the step that runs now. A held Batch stops too. Refused while no Batch runs.
node_addnode_editadddocumentmodel_write if the model does not have the name and the Template resolves.Add an optimizer, a payoff or a sensitivity routine: start its entry and queue the model create. Save writes the create. A name that exists stays.
node_duplicatenode_editduplicatedocumentmodel_write: the copy reaches the model at Save.Copy an optimizer under a new name: its entry now, and at Save its model node with the parameters, the payoff link and every setting. The active optimizer stays as it was.
node_rebindnode_editrebinddocumentmodel_write if the model holds the old child.Move a parameter of an optimizer or a routine, or an element of a payoff, to another variable. The settings follow, and Save removes the old model child.
node_removenode_editremovedocumentmodel_write if the model holds the node and the Template resolves.Remove an optimizer, a payoff or a sensitivity routine: clear what points at it, remove its entry and queue the model delete. Save writes the delete.
node_renamenode_editrenamedocumentmodel_write if the model holds the node. The command writes the model file at once.Rename an optimizer, a payoff or a sensitivity routine in the model file at once, in the saved Experiment and in every reference of the open one. Needs write_model.
optimization_add_optimizeroptimizer_editadd_optimizerdocumentNoneAdd an optimizer override. An existing one stays.
optimization_add_parameteroptimizer_editadd_parameterdocumentNoneAdd a model variable as a parameter of an optimizer.
optimization_add_payoffoptimizer_editadd_payoffdocumentNoneAdd a payoff override. An existing one stays.
optimization_add_payoff_elementoptimizer_editadd_payoff_elementdocumentNoneAdd an element for a model variable to a payoff.
optimization_clear_sensitivityoptimizer_editclear_sensitivitydocumentNoneClear the sensitivity an optimizer compares against.
optimization_create_optimizeroptimizer_editcreate_optimizerdocumentmodel_write if the optimizer is new.Add an optimizer and queue its model create, for a model that lacks it or its list. A name that exists stays. Save writes the create.
optimization_create_payoffoptimizer_editcreate_payoffdocumentmodel_write if the payoff is new.Add a payoff and queue its model create, for a model that lacks it or its list. A name that exists stays. Save writes the create.
optimization_remove_calibration_fileoptimizer_editremove_calibration_filedocumentNoneRemove a data entry the calibration shares.
optimization_remove_optimizeroptimizer_editremove_optimizerdocumentNoneRemove an optimizer override and its parameters. A model optimizer with no override is refused.
optimization_remove_parameteroptimizer_editremove_parameterdocumentNoneRemove a parameter from an optimizer.
optimization_remove_payoffoptimizer_editremove_payoffdocumentNoneRemove a payoff override and its elements. A model payoff with no override is refused.
optimization_remove_payoff_elementoptimizer_editremove_payoff_elementdocumentNoneRemove an element from a payoff.
optimization_set_calibration_fileoptimizer_editset_calibration_filedocumentNoneCreate or update a data entry the calibration shares.
optimization_set_deoptimizer_editset_dedocumentNoneSet one key of an optimizer’s differential evolution.
optimization_set_discreteoptimizer_editset_discretedocumentNoneSet one key of an optimizer’s discrete search.
optimization_set_discrete_parameteroptimizer_editset_discrete_parameterdocumentNoneSet one key of a discrete parameter of an optimizer.
optimization_set_gridoptimizer_editset_griddocumentNoneSet one key of an optimizer’s grid search. An empty value removes it.
optimization_set_grid_parameteroptimizer_editset_grid_parameterdocumentNoneSet one key of a grid parameter of an optimizer.
optimization_set_optimizeroptimizer_editset_optimizerdocumentNoneSet one key of an optimizer the configuration or the model holds. The first edit of a model optimizer starts its override. An empty value removes the key.
optimization_set_parameteroptimizer_editset_parameterdocumentNoneSet one key of an optimizer parameter. An empty value removes it.
optimization_set_payoffoptimizer_editset_payoffdocumentNoneSet one key of a payoff the configuration or the model holds. The first edit of a model payoff starts its override. An empty value removes the key.
optimization_set_payoff_elementoptimizer_editset_payoff_elementdocumentNoneSet one key of a payoff element. An empty value removes it.
document_readreaddocumentdocumentNoneRead the Experiment, its path, the dirty flag, the queued node operations and the revision.
document_validatereadvalidatedocumentNoneCheck the Experiment as it is in memory and return the findings.
document_variablesreadvariablesdocumentNoneList the variables, payoffs, routines and output targets the pickers of the window show.
optimization_readreadsection (optimization)documentNoneRead the Optimization tab: its steps, Scripts and Groups with the positions the edits use, and the calibration settings.
run_readreadsection (run)documentNoneRead the Run tab: its Runs, Scripts, Groups and datasets, with the positions the edits use.
sensitivity_readreadsection (sensitivity)documentNoneRead the Sensitivity tab: its Runs, Scripts, Groups and datasets with the positions the edits use, and the routines under ‘sensitivity’.
sequence_readreadsection (sequence)documentNoneRead the Sequence tab: every Sequence with its enabled flag. Name one in sequence to also get its stages and dataset lanes with the positions the edits use.
session_modereadsessiondocumentNoneSay whether the session drives the open window (attached) or works on files (headless).
session_schemareadschemadocumentNoneGive the full input and result schema of one op of a tool.
sensitivity_add_parameterroutine_editadd_parameterdocumentNoneAdd a model variable as a parameter of a routine. Without distribution the row is what Stella’s (+) writes.
sensitivity_add_routineroutine_editadd_routinedocumentmodel_write if the routine is new.Add an empty routine to the pool and queue its model create. An existing one stays. Validation needs a parameter or a path in it.
sensitivity_clear_threshold_multiplierroutine_editclear_threshold_multiplierdocumentNoneWrite the explicit clear of the threshold multiplier.
sensitivity_remove_parameterroutine_editremove_parameterdocumentNoneRemove a parameter from a routine.
sensitivity_remove_routineroutine_editremove_routinedocumentNoneRemove a routine from the pool. A Run that names it keeps config.sensitivity: clear it first. A model routine with no configuration entry is refused.
sensitivity_remove_thresholdroutine_editremove_thresholddocumentNoneReplace the threshold of a routine with a removal of its payoff. The model’s threshold element goes at Save.
sensitivity_rename_parameterroutine_editrename_parameterdocumentNoneRename a parameter in its place in the order.
sensitivity_set_parameterroutine_editset_parameterdocumentNoneSet one key of a parameter. An empty value removes it.
sensitivity_set_parameter_distributionroutine_editset_parameter_distributiondocumentNoneSet the distribution of a parameter. A switch resets the fields of the old distribution as Stella does.
sensitivity_set_routineroutine_editset_routinedocumentNoneSet one key of a routine the configuration or the model holds, such as method, runs or seed. The first edit of a model routine starts its entry. An empty value removes the key, and a routine left with no key is removed.
sensitivity_set_thresholdroutine_editset_thresholddocumentNoneSet one key of the Setup Criteria threshold of a routine. An empty value removes it.
screen_panelscreenpanelscreenNoneRead one panel: whether it is enabled, why not, and its controls with their values.
screen_pressscreenpressscreenNonePress one button or menu entry by its command id, as a click would. A browse control needs path. A disabled control returns the reason.
screen_readscreenreadscreenNoneRead the window: the active tab, the Order selection, the tab’s panels, and each control with its command id, whether it is enabled, and why not.
sequence_add_stage_hookscript_editadd_stage_hook (sequence)documenthook_commandAdd a Script stage that runs a program, and return its index.
sequence_set_stage_hook_commandscript_editset_stage_hook_command (sequence)documenthook_commandSet the command of a Script stage.
optimization_addsection_editadd (optimization)documentNoneAdd a step and return its index and stored name. Add a Group first: a step in no Group is dropped at Save.
optimization_duplicatesection_editduplicate (optimization)documentNoneCopy a step directly below it, in every Group that holds it.
optimization_movesection_editmove (optimization)documentNoneMove a step or Script to the place of another in the lists that hold both.
optimization_removesection_editremove (optimization)documentNoneDelete a step or Script from every Group.
optimization_remove_data_entrysection_editremove_data_entry (optimization)documentNoneRemove a data entry of a step.
optimization_set_chainsection_editset_chain (optimization)documentNoneChain a step to the folder of the step above it, or not.
optimization_set_configsection_editset_config (optimization)documentNoneSet one config key of a step, such as optimizer. An empty value removes it.
optimization_set_data_entrysection_editset_data_entry (optimization)documentNoneCreate or update a data entry of a step.
optimization_set_doc_output_variablessection_editset_doc_output_variables (optimization)documentNoneSet the Experiment’s output-variables file or table.
optimization_set_doc_retentionsection_editset_doc_retention (optimization)documentNoneSet the output retention of the Experiment. None removes it.
optimization_set_fieldsection_editset_field (optimization)documentNoneSet one field of a step. An empty value removes it.
optimization_set_output_incrementsection_editset_output_increment (optimization)documentNoneSet whether the output keeps one file per increment.
optimization_set_output_saved_runssection_editset_output_saved_runs (optimization)documentNoneSet whether saved runs fold. None folds every saved run.
optimization_set_output_variablessection_editset_output_variables (optimization)documentNoneSet the output-variables file or table of a step. None inherits.
optimization_set_retentionsection_editset_retention (optimization)documentNoneSet the output retention of a step. None inherits.
optimization_set_retriessection_editset_retries (optimization)documentNoneSet the retries of a step. None inherits.
optimization_set_settingsection_editset_setting (optimization)documentNoneSet one Experiment-level key, such as engine or template.
optimization_set_timeoutsection_editset_timeout (optimization)documentNoneSet the timeout of a step in seconds. None inherits.
run_addsection_editadd (run)documentNoneAdd an empty Run and return its index and stored name.
run_duplicatesection_editduplicate (run)documentNoneCopy a Run directly below it.
run_movesection_editmove (run)documentNoneMove a Run or Script to another position.
run_removesection_editremove (run)documentNoneDelete a Run or Script and its Group memberships.
run_remove_data_entrysection_editremove_data_entry (run)documentNoneRemove a data entry of a Run.
run_set_checkssection_editset_checks (run)documentNoneSet the acceptance checks of a Run. None or [] removes them.
run_set_configsection_editset_config (run)documentNoneSet one config key of a Run. An empty value removes it.
run_set_data_entrysection_editset_data_entry (run)documentNoneCreate or update a data entry of a Run.
run_set_doc_output_variablessection_editset_doc_output_variables (run)documentNoneSet the Experiment’s output-variables file or table.
run_set_doc_retentionsection_editset_doc_retention (run)documentNoneSet the output retention of the Experiment. None removes it.
run_set_enginesection_editset_engine (run)documentNoneSet the engine of a Run. None inherits.
run_set_fieldsection_editset_field (run)documentNoneSet one field of a Run or Script. An empty value removes it.
run_set_output_incrementsection_editset_output_increment (run)documentNoneSet whether the output keeps one file per increment.
run_set_output_saved_runssection_editset_output_saved_runs (run)documentNoneSet whether saved runs fold. None folds every saved run.
run_set_output_variablessection_editset_output_variables (run)documentNoneSet the output-variables file or table of a Run. None inherits.
run_set_retentionsection_editset_retention (run)documentNoneSet the output retention of a Run. None inherits.
run_set_retriessection_editset_retries (run)documentNoneSet the retries of a Run. None inherits.
run_set_settingsection_editset_setting (run)documentNoneSet one Experiment-level key, such as engine or template. Refuses a value of the wrong type.
run_set_timeoutsection_editset_timeout (run)documentNoneSet the timeout of a Run in seconds. None inherits.
sensitivity_addsection_editadd (sensitivity)documentNoneAdd an empty Run to this tab and return its index and stored name.
sensitivity_duplicatesection_editduplicate (sensitivity)documentNoneCopy a Run directly below it.
sensitivity_movesection_editmove (sensitivity)documentNoneMove a Run or Script to another position.
sensitivity_removesection_editremove (sensitivity)documentNoneDelete a Run or Script and its Group memberships.
sensitivity_remove_data_entrysection_editremove_data_entry (sensitivity)documentNoneRemove a data entry of a Run.
sensitivity_set_configsection_editset_config (sensitivity)documentNoneSet one config key of a Run, such as sensitivity (the routine it runs). An empty value removes it.
sensitivity_set_data_entrysection_editset_data_entry (sensitivity)documentNoneCreate or update a data entry of a Run.
sensitivity_set_doc_output_variablessection_editset_doc_output_variables (sensitivity)documentNoneSet the Experiment’s output-variables file or table.
sensitivity_set_doc_retentionsection_editset_doc_retention (sensitivity)documentNoneSet the output retention of the Experiment. None removes it.
sensitivity_set_enginesection_editset_engine (sensitivity)documentNoneSet the engine of a Run. None inherits.
sensitivity_set_fieldsection_editset_field (sensitivity)documentNoneSet one field of a Run or Script. An empty value removes it.
sensitivity_set_output_incrementsection_editset_output_increment (sensitivity)documentNoneSet whether the output keeps one file per increment.
sensitivity_set_output_saved_runssection_editset_output_saved_runs (sensitivity)documentNoneSet whether saved runs fold. None folds every saved run.
sensitivity_set_output_variablessection_editset_output_variables (sensitivity)documentNoneSet the output-variables file or table of a Run. None inherits.
sensitivity_set_retentionsection_editset_retention (sensitivity)documentNoneSet the output retention of a Run. None inherits.
sensitivity_set_retriessection_editset_retries (sensitivity)documentNoneSet the retries of a Run. None inherits.
sensitivity_set_settingsection_editset_setting (sensitivity)documentNoneSet one Experiment-level key, such as engine or template.
sensitivity_set_timeoutsection_editset_timeout (sensitivity)documentNoneSet the timeout of a Run in seconds. None inherits.
sequence_addsequence_editadddocumentNoneAdd an empty Sequence and return its name. A taken name becomes name-2 and up.
sequence_add_lanesequence_editadd_lanedocumentNoneAdd a dataset lane and return its index.
sequence_add_lane_listsequence_editadd_lane_listdocumentNoneAdd a dataset-list reference as a lane and return its index.
sequence_add_stagesequence_editadd_stagedocumentNoneAdd a stage that runs a Run, a Run Group or an Optimization, and return its index. index None appends.
sequence_duplicatesequence_editduplicatedocumentNoneCopy a Sequence, its enabled flag and output folder included, and return the new name.
sequence_move_lanesequence_editmove_lanedocumentNoneMove a dataset lane to another position.
sequence_move_stagesequence_editmove_stagedocumentNoneMove a stage to another position.
sequence_move_stage_blocksequence_editmove_stage_blockdocumentNoneMove a block of stages to just before dest.
sequence_removesequence_editremovedocumentNoneDelete a Sequence. The last Sequence stays. Its output folder stays.
sequence_remove_lanesequence_editremove_lanedocumentNoneDelete a dataset lane.
sequence_remove_stagesequence_editremove_stagedocumentNoneDelete a stage.
sequence_renamesequence_editrenamedocumentNoneRename a Sequence in place and return the name. The list order stays.
sequence_set_enabledsequence_editset_enableddocumentNoneSet whether Run Enabled runs a Sequence.
sequence_set_enginesequence_editset_enginedocumentNoneSet the engine of a Sequence. Empty inherits the Experiment’s.
sequence_set_include_basesequence_editset_include_basedocumentNoneSet whether the Sequence also runs the base dataset beside its lanes.
sequence_set_lane_activesequence_editset_lane_activedocumentNoneActivate or deactivate a dataset lane.
sequence_set_output_incrementsequence_editset_output_incrementdocumentNoneSet whether the Sequence keeps one output folder per increment.
sequence_set_output_namesequence_editset_output_namedocumentNoneSet the collated output file name of a Sequence. Empty inherits the preference.
sequence_set_runs_dirsequence_editset_runs_dirdocumentNoneSet the output folder of a Sequence. Empty inherits the preference.
sequence_set_settingsequence_editset_settingdocumentNoneSet one setting the Sequence passes to its stages, such as retries or timeout. None inherits the Experiment’s.
sequence_set_stage_activesequence_editset_stage_activedocumentNoneActivate or deactivate a stage. An inactive stage does not run.
sequence_set_stage_exportsequence_editset_stage_exportdocumentNoneSet whether a stage’s output joins the collated file.
sequence_set_stage_fieldsequence_editset_stage_fielddocumentNoneSet the name, timeout or continue_on_error of a Script stage, or the retention of a Run, Group or Optimization stage. An empty value removes it.
sequence_set_stage_levelsequence_editset_stage_leveldocumentNoneSet the level of a stage. Level 0 is the top level.
settings_force_close_stellasettingsforce_close_stelladocumentfile_overwriteEnd a running Stella process, as Force Close Stella and experimenter force-close do. Unsaved Stella work is lost, so the call asks first.
settings_readsettingsreaddocumentNoneRead every row of the Settings window with its value and group. A writable or confirm row has a command. The person sets a read_only row in the Settings window.
settings_set_default_enginesettingsset_default_enginedocumentapp_settingsSet the engine a new Experiment starts with. An open Experiment keeps its engine.
settings_set_keep_failedsettingsset_keep_faileddocumentapp_settingsSet whether a failed Run or stage keeps every file it wrote, whatever the retention.
settings_set_output_file_locationsettingsset_output_file_locationdocumentapp_settingsSet the root folder of the output tree. A blank string uses an Output folder beside the model.
settings_set_output_file_namesettingsset_output_file_namedocumentapp_settingsSet the name of the collated CSV file. A blank string uses Output.csv. A Sequence keeps its own name.
settings_set_output_layoutsettingsset_output_layoutdocumentapp_settingsSet the shape of every output.csv a launch writes: wide or long.
settings_set_reopen_promptsettingsset_reopen_promptdocumentapp_settingsTurn the suppression of the reopen-windows prompt on or off. It writes or deletes a macOS preference for Stella Architect. macOS only.
settings_set_retention_defaultsettingsset_retention_defaultdocumentapp_settingsSet what a launch keeps on disk when the Experiment sets no retention.
settings_set_silence_stella_errorssettingsset_silence_stella_errorsdocumentapp_settingsTurn Silence Stella GUI errors on or off. It suppresses the crash pop-up of Stella while Experimenter runs. macOS only.
settings_set_stella_binarysettingsset_stella_binarydocumentapp_settings and engine_binary. A call asks when either switch is on.Set the path of a Stella binary: architect, professional or simulator. The path must be an executable file. A blank string clears it. The next launch runs the program at that path, so the call asks first.
settings_set_workerssettingsset_workersdocumentapp_settingsSet how many Runs may run at once. null uses the default. The memory guard can lower it.
settings_set_write_to_modelsettingsset_write_to_modeldocumentapp_settingsTurn Write changes to model file on or off. It sets the default of a save that omits write_model. A save that writes the model still meets model_write.

See also