grithdocs

CLI overview

Every top-level grith command, the five global flags, and the two aliases that are not in --help.

grith is one binary. The first positional argument is the command; with no arguments it drops into the interactive REPL.

grith <command> [options...]

The 18 commands

CommandWhat it does
runExecute a single task non-interactively
execSupervise an external CLI tool with OS-level syscall interception
proxy testDry-run a tool call through the filter pipeline
digestReview the quarantine queue
auditBrowse, export, compact and rebuild from the audit log
logHuman-readable feed of decisions, live or historic
canaryManage canary tokens for exfiltration trap detection
supervisorList or manage active supervisor sessions
daemonStart, stop and pair the daemon and its dashboard
profile auditAudit a recorded syscall trace against a profile
reputationInspect or reset the learned trust table
notificationsNotification channel status
configPrint the effective configuration, or set one key
initWrite a default config.toml
setupRun the interactive first-run setup
proSign in, activate a licence, pull team policy
analyticsCloud analytics sync for this machine
completionsPrint a shell completion script

proxy and profile each have exactly one subcommand, shown above. help also exists, and prints the help for any command.

Global flags

Every one of these works on every subcommand.

FlagWhat it does
--config <path>Merge this file over the usual layers as one more layer. It does not replace them, and GRITH_* variables are still applied after it.
--log-level <level>trace, debug, info, warn or error. This is the only CLI flag that is a configuration layer, and it is applied last.
--no-colorDrop ANSI colour. Use it when piping.
--project <name>Override the project name, which otherwise comes from the current directory.
--skip-onboardingSkip the first-run setup. Also GRITH_SKIP_ONBOARDING=1.

Two aliases that are not in --help

  • grith onboarding is grith setup.
  • grith dashboard <...> is grith daemon <...>.

The command is grith daemon. Most of the daemon's own output still says grith dashboard; both spellings work, so paste whichever it hands you.

Exit codes

Commands exit 0 on success and 1 on failure. Two exceptions:

An invalid argument is a clap usage error and exits 2.

Where to go next

Last updated: 2026-08-24Edit this page on GitHub →