CLI Reference
init
Generate a default project configuration file.
Usage
bash
agentprey initFlags
--path <path>(default:.agentprey.toml) - path to write the generated config file.--force- overwrite an existing config file.
Examples
bash
agentprey init --path ./config/.agentprey.tomlbash
agentprey init --forceDefault Template Output
toml
[target]# Optional target type: http | openclaw# type = "http"# Required for config-driven scansendpoint = "http://127.0.0.1:8787/chat"method = "POST"# Optional custom JSON request template with a {{payload}} marker# request_template = "{"messages":[{"role":"user","content":{{payload}}}]}"# Optional JSON pointer path for response extraction# response_path = "/choices/0/message/content"# Optional headers to send with every requestheaders = { }[scan]vectors_dir = "vectors"category = "prompt-injection"timeout_seconds = 30retries = 2retry_backoff_ms = 250max_concurrent = 2rate_limit_rps = 10redact_responses = true[output]# Optional default output artifact path# json_out = "./scan.json"# html_out = "./scan.html"[auth]# Optional entitlement API base URL override# api_url = "https://PLACEHOLDER.convex.site"