Overview
Vigolium’s agent mode uses AI to drive vulnerability scanning. Five subcommands cover the full spectrum:- Query: single-shot prompt; code review, endpoint discovery, secret hunt.
- Swarm: AI-guided multi-phase scan that drives the native scanner (plan → modules → triage).
- Autopilot: autonomous AI pentest; the agent drives bash, files, and the vigolium CLI itself.
- Vigolium Audit: multi-phase whitebox security audit (lite / balanced / deep).
- Olium: interactive TUI / one-shot prompt; the underlying agent runtime, also used by every mode above.
agent.olium.*; per-run flags can override.
Prerequisites
openai-compatible with gemma4:latest at the configured local endpoint. Switch to Anthropic:
--provider, --model, --llm-api-key, --oauth-cred, --oauth-token.
Query: Single-Shot Analysis
Query runs a single AI prompt and returns structured output. No network scanning, useful for code review, endpoint discovery, and secret detection.With a Built-in Template
With an Inline Prompt
With Specific Files
Saving Output
Swarm: AI-Planned Targeted Scanning
Swarm is the primary agentic scan mode. A master AI agent analyzes your input, selects scanner modules, generates custom JavaScript extensions, and executes the scan.Scanning a Specific Request
Pass a target request via--input (accepts URLs, curl commands, raw HTTP, Burp XML, or base64). Auto-detected:
Full-Scope Scanning with Discovery
Add--discover to run content discovery and spidering before the AI planning phase:
Source-Aware Scanning
Provide application source code for deeper analysis. The AI agent analyzes routes, auth flows, and generates targeted extensions:--code-audit is on by default when --source is set; the AI runs a deep security code audit on top of scanning. Disable with --code-audit=false.
Focusing on a Vulnerability Type
Enabling Triage
Triage is enabled by the defaultbalanced preset and by deep; quick leaves it off. Add --triage explicitly when needed, or use --triage=false to disable classification and rescan:
Intensity Presets
--intensity bundles many flags into a single knob:
Swarm Phases
The swarm pipeline runs these phases in order:
Skip or start from a specific phase:
Autopilot: Autonomous AI Pentest
Autopilot is one autonomous operator with full tool access (Bash, files, web fetch, browser probes, and first-class Vigolium tools). Legacy mode usesreport_finding directly. Durable modes rotate bounded sections and can gate finding promotion through an independent verifier.
With Source Code
When--source is provided, vigolium-audit runs first (foreground), prepares a frozen whitebox context bundle, and the autonomous operator launches against that context.
Intensity Presets
Browser-Assisted Auth
Existing Traffic, App Docs, and Resume
Bounding a CI run
Vigolium-Audit: Source Audit
Vigolium-audit is the dedicated whitebox audit mode. It runs as a foreground command on its own, or as a background prep step when swarm/autopilot are invoked with--source.
finding_source: audit. Query them with:
Session Management
All agent runs create session directories under~/.vigolium/agent-sessions/. Browse past sessions:
Custom Instructions
Pass free-text task guidance with--prompt (or the positional [prompt]):
--plan-file:
