The same engine on the command line. It prints a human summary, or JSON for a tool, and its
exit code lets an agent build a gate: if the scan is not clean, the install or run step
stops.
aihex procs # scan every running process
aihex scan ./downloaded-repo # file reputation + repo audit
aihex scan ./repo --json # machine-readable, for an agent
aihex review ./repo # verify with a second model
aihex scan ./repo && npm install # install only if the scan passes
Exit code:
0 clean
1 review
2 danger found
This is a static reputation and pattern pass, not a full sandbox. It is a fast first gate that
makes a careful manual review quicker, not a replacement for one. A result is only valid for
the exact version you scanned.