Skip to main content

Overview

ValiqorScanner performs static analysis on your codebase to detect AI-related patterns — LLM calls, tool definitions, retrieval pipelines, and prompt templates. Scan results can be uploaded to the Valiqor backend for use in failure analysis and project setup.
Or standalone:

ValiqorScanner

Constructor

The scanner loads configuration from .valiqorrc on initialization. Use configure() to set credentials programmatically.

Properties


configure()

Set scanner configuration programmatically. Returns self for method chaining.

scan()

Run a scan on a repository or directory.
Returns: ScanResult

ScanResult

Returned by scan(). Contains scan metadata and output file paths.

quick_scan() — Convenience Function

A one-call function that creates a scanner, configures it, and runs a scan: