CLI Reference

The entropy command exposes the full framework. Agents and datasets are referenced as module:attr (e.g. myproj.agents:agent) and file paths respectively.

Commands

CommandDescription
entropy initScaffold a project (agent, dataset, entropy.toml).
entropy runRun the Monte Carlo suite.
entropy testRegression test against a stored baseline.
entropy benchmarkCompare multiple agent variants.
entropy compareDiff two result JSON files.
entropy replayReplay a saved trace / results file.
entropy datasetInspect a dataset file.
entropy doctorCheck optional dependencies & adapters.
entropy simulateRun a simulator (user / env / adversarial).
entropy chaosRun fault injection.
entropy uiBuild / serve the dashboard.
entropy watchLive observability over rounds.
entropy reportExport a report from results JSON.

Examples

# Run the suite
entropy run --agent m:agent --dataset d.json --trials 100 --seed 42

# Regression gate (writes baseline with --update first run)
entropy test --agent m:agent --dataset d.json --baseline base.json [--update]

# Compare agent variants
entropy benchmark --agents m:a m:b --dataset d.json

# Fault injection
entropy chaos --agent m:agent --dataset d.json --faults api_fail,timeout

# Build & serve the dashboard
entropy ui --agent m:agent --dataset d.json --serve

# Live watching with a heatmap
entropy watch --agent m:agent --dataset d.json --rounds 10 --heatmap h.png

# Export a report
entropy report --results r.json --format html --out report.html

Common flags

Scaffold then run

entropy init creates agent.py and dataset.json; edit them, then entropy run --agent agent:agent --dataset dataset.json.