Class NaruCommand

java.lang.Object
net.thevpc.naru.NaruCommand

public class NaruCommand extends Object
Parses CLI arguments and wires everything together for a single agent run.

Kept deliberately simple — no Nuts NCmdLine dependency here so this class can be unit-tested without the Nuts runtime.

Usage:
  naru [options]

Options:
  --task <text>           (required) The task description for the agent
  --model <name>          Reasoning model (default: qwen2.5-coder:7b)
  --vision-model <name>   Vision model for inspect_image (default: qwen2.5vl:7b)
  --provider <name>       Provider: ollama (default: ollama)
  --provider-url <url>    Provider base URL (default: http://localhost:11434)
  --project-dir <path>    Project directory tools operate in (default: .)
  --max-steps <n>         Max agent loop iterations (default: 20)
  --no-vision             Disable the inspect_image tool
  --quiet                 Suppress step-by-step output
  --help                  Show this help
  • Constructor Details

    • NaruCommand

      public NaruCommand(net.thevpc.nuts.cmdline.NCmdLine args)
  • Method Details

    • run

      public void run()