Default model

Supported models

Any model available through the OpenAI API:
  • gpt-5.5 (default)
  • gpt-4o
  • gpt-4o-mini
  • Any other model ID the API accepts

Authentication

Environment variable:
Config command:
Get your API key from the OpenAI Platform.

Example usage

Tool-use support

Yes. Compatible with all 39 tool-use attacks in the framework, agent exploitation, MCP exploitation, multi-agent protocol attacks, and tool-injection vectors all work with GPT models. Filter the attack catalog with:
The provider converts ai-blackteam’s tool format to OpenAI’s function calling format automatically.

Notes

  • Max output tokens per request: 4,096 (via max_completion_tokens)
  • The provider uses the official openai Python SDK
  • System prompts are passed as a system role message
  • User field: Every API call includes a user field set to "ai-blackteam-safety-eval" per OpenAI’s usage policy. This identifies the request as a safety evaluation, not a production user query.
  • Retry with exponential backoff is automatic on API failures (3 attempts)
  • If no API key is provided via config or env var, the SDK falls back to its own default resolution (e.g. OPENAI_API_KEY in the environment)