Provider table
How provider resolution works
ai-blackteam resolves your API key in this order:- CLI flag - passed directly via
--api-key - Environment variable - e.g.
ANTHROPIC_API_KEY - Config file - stored in
~/.ai-blackteam/config.yaml
- CLI flag -
--model claude-opus-4-20250115 - Config file -
providers.anthropic.default_model - Provider default - hardcoded in the provider class
Setting a key via config
~/.ai-blackteam/config.yaml. You can also use environment variable references in the config file:
${VAR_NAME} syntax at load time.
Setting a key via environment
{PROVIDER}_API_KEY for all providers.
Using a different model
Override the default model for any run:Tool-use support
Only Anthropic and OpenAI currently support tool-use attacks (agent exploitation, MCP exploitation, multi-agent attacks). These attacks require the provider’ssend_with_tools method.
If you run a tool-use attack against a provider that doesn’t support it, ai-blackteam will skip it and tell you why.