Quick start
Convenience function
For one-liner scans:What the scanner does
The scanner runs a local pipeline:Feature detection
Identifies AI features: LLM calls, retrieval functions, tool definitions, agent patterns.
Workflow mapping
Maps execution flow: which functions call which, how data flows through your pipeline.
Scanner configuration
The scanner uses the same.valiqorrc config file:
| Config | Description | Default |
|---|---|---|
scan_dir | Local output directory for scan results | valiqor_output/scans |
valiqor_intelligence | Upload results to Valiqor backend | true |
scan() method
ScanResult fields
| Field | Type | Description |
|---|---|---|
status | str | "success" or "error" |
project_name | str | Project name used |
scan_id | str | Unique identifier for this scan |
local_output_dir | str | Path to generated files |
files_generated | list[str] | Local files created |
files_uploaded | list[str] | Files uploaded to backend |
upload_response | dict | Backend response (if uploaded) |
error | str | Error message (if failed) |
Local-only scanning
For environments without backend access:Integration with Failure Analysis
Whenrun_scan=True (default) in FA, scan data is automatically attached: