Standalone config file

Provider and model choices persist in:
Written by bughunter setup / bughunter init with mode 0600. Rerunning the standalone installer preserves this file. Uninstall keeps it unless you pass --purge-config.

Provider setup

One-off overrides (do not rewrite saved config):
Auto-detect order (when nothing is forced): Ollama → Groq → DeepSeek → … → OrcaRouter → OpenRouter → Claude → OpenAI. LiteLLM is opt-in (selected explicitly or when LITELLM_API_KEY is set) so it does not preempt a configured provider.

Common env vars

Keys saved in ~/.bughunter/config.json are loaded into the environment when the matching env var is unset.

Hunt / tool template

Repo template: config.example.json. Copy and fill only what you need:
Do not commit real tokens. Prefer env vars for secrets where possible.

MCP approval

Active MCP tools need approval. Client config can set:
Use approve=true on the tool call, or set BBHUNT_MCP_APPROVE=1, for active testing. See MCP.