Skip to content

Configuration Guide

The AI commands (map-properties, threat-analysis, gen-site) are driven by a TOML configuration file passed via --config. This guide walks through every section of the file.

Minimal example

output_dir = "output"

ignore = ["tests", "docs"]

[property_mapper_agent]
litellm_provider = "my-provider"

[threat_analyzer_agent]
litellm_provider = "my-provider"

[litellm_provider.my-provider]
model_name = "ollama_chat/devstral-small-2:24b"
provider_args = { api_key = "ollama", api_base = "http://localhost:11434" }

File structure

The config file has four top-level areas:

Section Purpose
General settings Output directory and ignore patterns
[property_mapper_agent] Property Mapper agent behavior
[threat_analyzer_agent] Threat Analyzer agent behavior
[litellm_provider.*] LLM provider definitions

Sections