Skip to content

Command line

The Python modules and the mini-app print their options with --help; autonmi.assemble and jobs/submit take the arguments shown.

The example mini-app

python examples/miniapp.py [options]

It runs an application as a mini-app. Exit status 0 when every check passes and the telemetry is complete.

Option Default What it sets
--definition autonmi.conformance.toy:tool_definition the application's factory, module:function, as the conformance kit names it
--agents 200 agents
--populations 1 CampaignConfig.populations
--workers 8 task workers per population
--runtime local local or dragon
--kill-grace RHAPSODY's, 2 s under Dragon, how long a population's process may take to exit after its result
--mcp-servers 4 the application's MCP servers, if it has any
--toolservices 8 tool services, at most one per population
--stagger-batch, --stagger-interval 100, 0.5 s agents started per batch, and between batches
--model stub stub, or openai for model servers
--endpoints-file, --api-key-file the model servers' files; --endpoints-file is required with --model openai
--model-name, --max-tokens Qwen3-8B, 512 the served model, and tokens per reply
--cap-tokens, --cap-requests 235,000, 96 admission caps per replica
--model-wait 1,800 s how long to wait for the model servers to answer
--vllm-interval 2 s between samples of the servers' counters
--span-ratio 0.1 share of the agents whose spans are exported; 1: every span
--metrics-interval 10 s between metric exports
--timeout none seconds the populations may run, all together
--no-rhapsody-telemetry populations without RHAPSODY's telemetry
--node-samplers auto under Dragon, whether the populations' telemetry samples the nodes: on, off, or auto: on one node yes, across nodes no
--reuse-event-loop one event loop per worker thread (needs an unmerged RHAPSODY change)
--run-dir runs/miniapp-<agents>-<time> the run directory; it must be new or empty

The conformance kit

python -m autonmi.conformance MODULE:FACTORY [options]

Exit status 0 when every check holds. See Write an application.

Option Default What it sets
--agents 24 agents per run
--runs one,two,suspended,dragon which runs; the static checks always run
--dragon auto auto: the Dragon run where Dragon is; on: required; off
--stable FIELD a row field that must be the same in every run; repeat for more
--workers 4 simulation workers per population
--timeout 600 s per run
--population {} more PopulationConfig fields, as JSON
--script the application's mini-app script, for Workflow Mini-Apps' shape check
--run-dir a new temporary directory where the runs and conformance.json go

A run's report and summary

python -m autonmi.assemble RUN_DIR
python -m wfMiniAPI.verify RUN_DIR/launcher

autonmi.assemble writes summary.json, prints its headline and each check, and exits 0 when every check passes. wfMiniAPI.verify is Workflow Mini-Apps' own verifier of the run's report. See Telemetry and checks.

Jobs

Command What it does
jobs/submit model FLEET [sbatch options] the model servers' GPU job: see Model servers
jobs/submit framework-dragon [sbatch options] [-- pytest options] the tests with Dragon and the conformance kit's Dragon run: see Run under Dragon
live/stack.sh COMMAND the live dashboard's stack: see Live dashboard