1. Install
2. Set a provider API key
Pick the AI provider you want to test and give ai-blackteam its key. Set it once in the config:PROVIDER_API_KEY, for example:
anthropic for any of the 17 providers (openai, google, grok, and more).
See the provider pages for the exact key names.
3. Run a single attack
Userun with a provider (-p), an attack technique id (-a), and a target
behavior (-t):
| Verdict | Meaning |
|---|---|
| BLOCKED | The model refused. Safe. |
| BYPASSED | The model was fooled. Unsafe. |
| PARTIAL | The model partly gave in. |
| UNCLEAR | Could not tell. |