Configuration
Installer
curl -fsSL https://agentic.detectify.com/install.sh | bashThe installer:
- Installs the
detectifycommand: Downloads it, checks its signature, installs it into~/.detectify/agentic-toolingand adds it to yourPATH. If it prints a command to update yourPATH, run it or open a new terminal. - Asks for your Detectify API key: Paste the Agentic API key you created.
- Asks which coding agent to use: It lists the supported agents it found on your machine.
- Asks which model the agent should use: Press Enter for the agent’s default.
To install without the setup questions, for example for interactive mode, add DETECTIFY_NO_INIT=1:
curl -fsSL https://agentic.detectify.com/install.sh | DETECTIFY_NO_INIT=1 bashYou can answer the questions later with detectify init.
What gets installed
- The
detectifycommand, which manages the install and runs automatic mode - The MCP server, at
~/.detectify/agentic-tooling/bin/detectify-agentic-tooling. The path stays the same across updates.
Everything is installed in ~/.detectify/agentic-tooling. detectify update keeps it current, and detectify uninstall removes it.
Commands
The installer adds the detectify command. Run detectify <command> -h to see all of a command’s options.
| Command | What it does |
|---|---|
detectify update | Installs the latest release. Add -check to see whether one is available without installing it. |
detectify init | Saves your Detectify API key and chooses the coding agent and model that automatic mode uses. The installer runs it for you. Run it again to change any of them. |
detectify run | Starts a long-running loop that verifies submissions in automatic mode. Add -once to verify one submission and exit. |
detectify uninstall | Removes the tooling, the PATH change, and the MCP server from every agent config that has it, including servers you added for interactive mode. It asks before removing anything unless you add -yes. |
Options for detectify run
| Option | What it does |
|---|---|
-once | Verifies one submission, then exits. |
-parallel N | Verifies up to N submissions at the same time. The default is 1. |
-submission ID,ID | Verifies only these submissions, once each, then exits. |
-search TEXT | Only takes submissions whose title, CWE, provider, target URL or rule ID contains the text. |
-source-type sast,dast,report | Only takes submissions from these sources. |
-severity critical,high,medium,low,info | Only takes submissions with these claimed severities. |
-cwe 79,89 | Only takes submissions with these CWEs. |
-untested-for DURATION | Only takes submissions that haven’t been investigated for this long. The default is 24h, so a submission isn’t verified again straight away. 0 takes any. |
-session-timeout DURATION | The longest one agent session can run. The default is 2h. |
-code-root DIR | The repository the SAST submissions were found in. Every session reads the code from there. Defaults from DETECTIFY_RUN_CODE_ROOT. |
-harness NAME, -model NAME | Uses a different coding agent or model for this run only, instead of the ones detectify init chose. |
Each filter also has a -not form that leaves those submissions out, for example -severity-not info.
Last updated on