AGENTPREY

CLI Reference

center

Open the interactive control center for configuring and running scans.

Usage

Terminalbash
agentprey center

Flags

FlagTypeDefaultNotes
--targetstringnoneOptional target HTTP endpoint URL or local OpenClaw project path used to pre-fill the control center.
--typeenumnoneOptional target type seed for the control center. Use http or openclaw.
--categorystringnoneOptional initial category filter used to pre-fill the control center.
--vectors-dirpathnoneOptional initial vectors directory used to pre-fill the control center.
--uploadbool flagdisabledEnable upload by default for runs started from the control center.
--configpathnoneOptional project config path used to pre-fill the control center. If omitted, .agentprey.toml is used when present.

What It Is

agentprey center is the interactive control center for operator-driven runs. It opens a configuration screen first, then launches the scan into the same operator-console visual shell used by the terminal UI.

Interactive Only

agentprey center requires an interactive terminal and returns an actionable error on non-TTY output. For CI/CD, scripts, and pipes, keep using agentprey scan.

Common Workflows

Launch the control center

Terminalbash
agentprey center

Launch with a pre-seeded target

Terminalbash
agentprey center   --target http://127.0.0.1:8787/chat   --category prompt-injection

Launch from config defaults

Terminalbash
agentprey center --config .agentprey.toml

Launch with upload pre-enabled

Terminalbash
agentprey center   --target ./path/to/openclaw-project   --type openclaw   --upload

Keybindings

  • Tab or arrow keys move between fields.
  • Enter edits the selected text field.
  • Space toggles boolean fields.
  • Ctrl+R starts the configured scan.
  • Esc exits from the configure screen.
  • Ctrl+C aborts a running scan.
  • r returns to the configure screen after completion.
  • q exits after completion.

How It Relates To scan

The control center uses the same scan engine, settings resolution, artifact writers, and upload flow as agentprey scan. The difference is the entry path: center is for interactive operator workflows, while scan remains the explicit direct-run and automation command.