CLI Reference
The human command line tool.
human run
Section titled “human run”Run an agent.
human run main.hmnecho "Review this code" | human run main.hmnhuman test
Section titled “human test”Run tests defined in .hmn files.
human test main.hmnhuman test main.hmn --verbosehuman test *.hmnFlags:
--verbose— show input, output, and expectations for each test--coverage— report which constraints are tested--strict— exit 1 on any failure
human compile
Section titled “human compile”Resolve all imports and output the fully merged .hmn file.
human compile main.hmnhuman compile main.hmn > resolved.hmnUseful for debugging import resolution and seeing the final configuration.
human init
Section titled “human init”Create a new project with an empty human.json.
human initGenerates:
{ "dependencies": {}}human install
Section titled “human install”Fetch dependencies into human_modules/.
human install # fetch all from human.jsonhuman install safety # fetch one dependencyhuman install github:user/repo # add + fetch new dependencyhuman update
Section titled “human update”Refresh dependencies to latest.
human update # update allhuman update safety # update oneIgnores human.lock, fetches latest for each ref, rewrites the lockfile.
human check
Section titled “human check”Validate .hmn files without running them.
human check main.hmnhuman check *.hmnReports syntax errors, duplicate blocks, circular imports, and constraint conflicts.
Exit Codes
Section titled “Exit Codes”| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Runtime error or test failure |
| 2 | Syntax error |
Global Flags
Section titled “Global Flags”human --versionhuman --help