Setup

Configuration

Configure Talos via CLI flags, environment variables, or a talos.toml file.

Every CLI flag has an environment variable and a talos.toml equivalent. Precedence: CLI flag > environment variable > config file > default.

talos.toml

Place a talos.toml at the root of your repo. Talos discovers it automatically.

talos.toml
[scan]
target = "http://localhost:8000/agent"
adapter = "langchain"
severity = "high"
[report]
out = "./reports"
formats = ["markdown", "sarif"]
redact = true
[generator]
model = "gpt-4o-mini"
seed = 42

Environment variables

VariablePurpose
TALOS_TARGETDefault --target URL
TALOS_ADAPTERDefault --adapter
TALOS_MODELLLM used for attack generation
OPENAI_API_KEYAttack generator credentials (OpenAI)
ANTHROPIC_API_KEYAttack generator credentials (Anthropic)
TALOS_LOG_LEVELOne of debug, info, warn
Security
Never commit OPENAI_API_KEY or target credentials to your talos.toml. Keep them in environment variables or your CI secret store.