Appearance
Models and providers Since v0.2
Answer quality grows with model size, so use the largest model your hardware runs. The analyst runs on a local model unless you choose otherwise.
Before you begin
- Role: administrator, to change the settings.
- Decide whether your data may leave the network. A cloud provider receives your questions and the event data they cite. For regulated environments, prefer a local model.
Choose a model for your hardware
Any GGUF chat model with tool calling works. The table lists the tiers we recommend. waap analyst model list shows the models this version can fetch (all Apache-2.0).
| Tier | Hardware | Model (4-bit) | Notes |
|---|---|---|---|
| small | 8 GB RAM | Qwen3 4B (about 2.5 GB) | qwen3-4b; expect weaker answers |
| standard | 16 GB RAM | Qwen3 8B (about 5 GB) | qwen3-8b, the default; see Known limits |
| large | 32 GB RAM or a 16 GB GPU | Qwen3 14B (about 9 GB), Qwen3 30B-A3B (about 18 GB) | qwen3-14b is in the fetch table; the other needs an external server |
| x-large | 64 GB or more, or a 24 to 48 GB GPU | Qwen3 32B, gpt-oss-120b | external server |
| server | several GPUs | the largest Qwen3 and similar | external server |
Apple hardware uses the GPU (Metal). Elsewhere it runs on the CPU, and a GPU is optional. Leave memory for the rest of the machine: a 16 GB host that also runs other virtual machines may not fit even the 8B model comfortably.
Choose a provider
text
1. Open Monitor > Analyst > Settings and status (global administrators).
2. Pick a provider in the picker, grouped Local, Free to try and Paid.
Each entry shows what it is best at and whether it is local, free, free tier or paid.
3. Fill in the fields the provider needs, then select Preview changes and Apply.sh
waap analyst providers
waap settings set analyst -m "use ollama" enabled=true provider=ollama model=MODEL_NAMEyaml
# analyst in the configuration
analyst:
enabled: true
provider: ollama # empty: use the runtime settings
model: MODEL_NAME # a model your server serves, with tool callingAn empty provider keeps the runtime settings (see Set up the analyst), so older configurations work unchanged.
| Provider | Kind and cost | Best at |
|---|---|---|
| Local managed llama-server | local, free | Triage and short explanations on a laptop or small server (Qwen3 8B) |
| Ollama, LM Studio, vLLM, generic OpenAI-compatible | local, free | Any model you already serve yourself |
| Anthropic | cloud, paid | Hardest reasoning and long investigations (Opus), everyday balance (Sonnet), cheap triage (Haiku) |
| OpenAI | cloud, paid | Hardest reasoning down to cheap high-volume triage |
| Google Gemini | cloud, free tier and paid | Long complex analysis; a Flash model is a good first free try |
| Groq | cloud, free tier and paid | Very fast open models |
| Together, OpenRouter | cloud, free tier and paid | Free-to-try open models; OpenRouter reaches many vendors |
| Cohere | cloud, free tier and paid | Agent-style work and tool use |
| Mistral, xAI, DeepSeek, Fireworks | cloud, paid | General analysis; DeepSeek is very low cost for bulk work |
| Azure OpenAI, AWS Bedrock, Google Vertex | cloud account sign-in | Listed but not supported yet. They sign in with your cloud account, so the form refuses them. |
The catalog is a data file (internal/analyst/providers.yaml) with the date each entry was checked against the vendor's own documentation. Prices and free tiers change, so check the vendor.
Local, managed
Pick the local provider, then select Detect on this host (or run waap analyst detect). It finds llama-server and the .gguf files on the control node and fills in the paths. If nothing is found, it tells you to install llama.cpp or run waap analyst model fetch qwen3-8b.
Ollama or LM Studio
Pick the provider. The address is filled in (localhost:11434 and localhost:1234). Start the server and load a model that supports tool calls, then use detect with the endpoint to list the models it serves and pick one.
sh
waap analyst detect -endpoint localhost:11434Cloud, by opt-in
A cloud provider sends questions and the event data they cite to that vendor. Before saving, an administrator must do two things.
- Put the API key in a file on the control node (mode 0600) and set
api_key_fileto its absolute path. The key is never typed into the configuration, shown or logged, and a replaced file is read at the next question. - Turn on Send data to a cloud provider (
analyst.cloud.opt_in: true) after reading the warning. The form shows what the vendor receives.
Without the opt-in the configuration is refused, and the model client refuses again when it starts, so nothing is sent by accident.
sh
waap settings set analyst -m "use a cloud model" provider=anthropic cloud.opt_in=true api_key_file=/etc/waap/analyst.key enabled=trueMasking lowers the risk but does not remove it
Everything sent to a cloud provider (the question, look-up results, tool arguments) has credentials, cookies, tokens, card numbers and sensitive key=value pairs removed first. The analyst reads events with the pci treatment for every role, whatever the application's logging.mask. Full values stay in your own storage. Masking is pattern based, so for data you may not share, use a local model.
Cloud addresses come from the catalog and must be https. To reach another address, use a local or generic OpenAI-compatible provider with a pinned CA.
Check where questions go
The page and waap analyst status always say where questions go: local or the provider id (the status field running_on). A cloud provider shows in a warning colour.
Test connection asks the saved settings a tiny question that cites no data (same as waap analyst test). Apply the settings first. A failure shows the reason.