~/.ai-blackteam/results.db. This page documents the full schema and useful queries.
Tables
runs
Every attack execution creates one row inruns.
turns
Every message in a conversation. Single-turn attacks have 2 rows (user prompt + assistant response). Multi-turn attacks have 2 rows per round.tool_calls
Every tool call from tool-use attacks. One row per tool invocation.Querying Results
Open the database with any SQLite client:Recent Runs
Bypass Rate by Model
Most Effective Attacks
Bypass Rate by Attack Category
Full Conversation for a Run
Dangerous Tool Calls
Token Usage Summary
Average Duration by Mode
Python Access
You can also query via theStorage class:
WAL Mode
The database uses Write-Ahead Logging (WAL mode), which means:- Multiple readers can query simultaneously
- Writes don’t block reads
- The
-waland-shmfiles next to the database are normal
-wal or -shm files while ai-blackteam is running.