Default model

Supported models

Any model you have pulled in Ollama:
  • llama4 (default)
  • llama3.1
  • qwen2.5
  • gemma2
  • mistral
  • phi3
  • Any model available via ollama pull
Check what you have locally:

Authentication

None required. Ollama runs locally on your machine. No API key needed.

Setup

Make sure Ollama is installed and running:
Ollama runs on http://localhost:11434 by default. ai-blackteam connects there automatically.

Custom base URL

If Ollama runs on a different host or port, configure it in the config file:
Or set it in ~/.ai-blackteam/config.yaml:

Example usage

Tool-use support

No. The Ollama provider does not support tool-use attacks. Single-turn and multi-turn attacks work.

Notes

  • The provider uses the official ollama Python SDK
  • No token usage tracking (Ollama doesn’t report token counts in the same way)
  • Latency depends entirely on your local hardware
  • Retry with exponential backoff is automatic on connection failures (3 attempts)
  • Great for testing open-source models without API costs
  • Make sure you’ve pulled the model before running (ollama pull llama4)