CLI Reference
center
Open the interactive control center for configuring and running scans.
Usage
agentprey centerFlags
| Flag | Type | Default | Notes |
|---|---|---|---|
| --target | string | none | Optional target HTTP endpoint URL or local OpenClaw project path used to pre-fill the control center. |
| --type | enum | none | Optional target type seed for the control center. Use http or openclaw. |
| --category | string | none | Optional initial category filter used to pre-fill the control center. |
| --vectors-dir | path | none | Optional initial vectors directory used to pre-fill the control center. |
| --upload | bool flag | disabled | Enable upload by default for runs started from the control center. |
| --config | path | none | Optional 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
agentprey centerLaunch with a pre-seeded target
agentprey center --target http://127.0.0.1:8787/chat --category prompt-injectionLaunch from config defaults
agentprey center --config .agentprey.tomlLaunch with upload pre-enabled
agentprey center --target ./path/to/openclaw-project --type openclaw --uploadKeybindings
Tabor arrow keys move between fields.Enteredits the selected text field.Spacetoggles boolean fields.Ctrl+Rstarts the configured scan.Escexits from the configure screen.Ctrl+Caborts a running scan.rreturns to the configure screen after completion.qexits 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.