Strix

Run the Strix AI pentest agent on Abliterator: STRIX_LLM, LLM_API_BASE and STRIX_API_TYPE, a quick first scan of your own code, budgets and fixes.

Published StrixPentestingAgents

Quick answer

Strix reaches any OpenAI-compatible endpoint through LLM_API_BASE. Set STRIX_LLM=openai/kimi-k3.1-pro-abliterated, LLM_API_BASE=https://abliterator.ai/v1, LLM_API_KEY to your Abliterator key and STRIX_API_TYPE=chat_completions, since Abliterator serves Chat Completions and not the Responses API. This follows Strix 1.8.0.

How Strix calls Abliterator

Strix is an open-source tool from usestrix that runs AI agents against a target and reports the findings they confirm. A target can be a local directory, a repository, a URL, a domain, an IP address or an API spec. The agents run their tools in a Docker sandbox. Strix calls models through the OpenAI Agents SDK and LiteLLM, and its local models guide documents OpenAI-compatible servers as STRIX_LLM="openai/<model>" plus LLM_API_BASE.

This guide follows Strix 1.8.0 at commit e458d8a (November 30, 2026), checked 2026-12-02. The configuration was verified against that source code and the docs in the repository.

What Strix needs from the API, and what Abliterator serves:

Strix needs Abliterator
Native tool_calls. Strix's docs say every working turn must be a structured tool call Supported on both models; see tool calling
Chat Completions or the Responses API, chosen per model Chat Completions only. Set STRIX_API_TYPE=chat_completions
Streaming Supported; see streaming
reasoning_effort from none to max The same seven values; see reasoning

Strix's README lists the original DeepSeek V4.1 Flash and Kimi K3.1 Pro among its recommended models (checked 2026-12-02). Abliterator serves abliterated versions of both.

Only for systems you own or have written permission to test. Strix tests whatever you pass as a target, so check every URL, domain and IP address against your written scope.

Install Strix

You need Docker running. Install the version this guide was checked against, 1.8.0, from PyPI:

pipx install "strix-agent==1.8.0"

uv tool install and pip work too. The README also offers a one-line install script, but it always fetches the latest build; a pinned package lets you review an upgrade before you run it on an engagement. The first scan pulls the sandbox image.

Configure the model

export STRIX_LLM="openai/kimi-k3.1-pro-abliterated"
export LLM_API_BASE="https://abliterator.ai/v1"
export LLM_API_KEY="$ABL_API_KEY"
export STRIX_API_TYPE="chat_completions"

# Optional
export STRIX_DEDUPE_MODEL="openai/deepseek-v4.1-flash-abliterated"
export LLM_EXTRA_HEADERS='{"X-Abl-App": "strix"}'

What each variable does, per Strix's configuration reference:

Variable Value Why
STRIX_LLM openai/kimi-k3.1-pro-abliterated The openai/ prefix routes the model to LLM_API_BASE. Abliterator receives the ID without the prefix
LLM_API_BASE https://abliterator.ai/v1 Abliterator's base URL, with /v1. Strix also accepts OPENAI_API_BASE or LITELLM_BASE_URL
LLM_API_KEY Your Abliterator key Sent as Authorization: Bearer
STRIX_API_TYPE chat_completions Keeps every request on Chat Completions. The reference says to set it when a gateway serves only Chat Completions
STRIX_DEDUPE_MODEL openai/deepseek-v4.1-flash-abliterated Finding deduplication is a short classification task, so the cheaper model suits it. Without DEDUPE_LLM_API_BASE it uses the main endpoint and key
LLM_EXTRA_HEADERS {"X-Abl-App": "strix"} Labels the requests as strix in your activity and generation records

STRIX_REASONING_EFFORT defaults to high, and to medium in quick scan mode. Strix saves the configuration to ~/.strix/cli-config.json, so later runs reuse it.

Check the key and URL first:

curl -s https://abliterator.ai/v1/chat/completions \
  -H "Authorization: Bearer $ABL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "deepseek-v4.1-flash-abliterated", "max_tokens": 64, "reasoning_effort": "none", "messages": [{"role": "user", "content": "Reply with OK."}]}'

Run a first scan on your own code

A white-box scan of a repository you own is the gentlest first run: the agents read the code in the sandbox and report what they find. Strix mounts a local directory into the sandbox writable, with .git excepted, so commit or stash your changes first.

cd ~/src/your-app
strix --target ./ --scan-mode quick

--scan-mode takes quick, standard or deep (the default). Results go to strix_runs/<run-name>. For CI or scripts, add -n for headless mode. To test a running app, pass its URL as another --target, for example a staging deployment you own, and use --instruction to state the scope and any test credentials.

Strix starts with a connection check against the model. If it passes, the setup is correct. The requests appear in your activity:

curl -s https://abliterator.ai/api/v1/activity -H "Authorization: Bearer $ABL_API_KEY" | head -c 600

Choosing the model

Setup STRIX_LLM STRIX_DEDUPE_MODEL When
Default openai/kimi-k3.1-pro-abliterated openai/deepseek-v4.1-flash-abliterated Real assessments
Low cost openai/deepseek-v4.1-flash-abliterated unset Practice scans, CI runs on every pull request

kimi-k3.1-pro-abliterated is the flagship for long agent sessions: τ²-bench airline went from 86.7 to 87.3 after abliteration, within noise. Terminal-Bench 4.0 fell from 66.6 to 62.3, a drop that is plausible but not statistically shown (benchmarks), so compare both models on a target you know before you rely on one. deepseek-v4.1-flash-abliterated keeps its reasoning scores within noise of the original and costs $1.00 per 1M input tokens against $4.00.

Budgets and cost

--max-budget stops a scan at a dollar amount, which needs a price for the model. Abliterator's model IDs are not in LiteLLM's price list, and Strix's configuration reference recommends setting prices for such model IDs yourself, in USD per 1M tokens. Write them without the $ sign:

# For STRIX_LLM=openai/kimi-k3.1-pro-abliterated: use $4.00, $15.00 and $0.40 from /pricing
export STRIX_LLM_INPUT_COST_PER_MTOK="..."
export STRIX_LLM_OUTPUT_COST_PER_MTOK="..."
export STRIX_LLM_CACHED_INPUT_COST_PER_MTOK="..."

strix --target ./ --scan-mode quick --max-budget 5

Strix's reference notes that an unset input or output price counts as 0, so set both. Prices on /pricing are before your plan's discount, so the count runs slightly high. For a hard stop on Abliterator's side, give Strix its own key with a spend limit (authentication). Scans resend long contexts every turn, and Abliterator bills repeated prefixes at the cached price (prompt caching).

Troubleshooting

Symptom Cause Fix
LLM CONNECTION FAILED at startup The connection check failed: key, base URL or model ID Run the curl check above. If it is slow rather than failing, raise LLM_PREFLIGHT_TIMEOUT (default 30 seconds)
404 Not found. on /v1/responses Strix chose the Responses API Set STRIX_API_TYPE=chat_completions
404 Model "..." is not available on abliterator Wrong prefix or a typo, so the wrong name reached Abliterator Use openai/kimi-k3.1-pro-abliterated or openai/deepseek-v4.1-flash-abliterated exactly
401 Invalid or revoked API key. LLM_API_KEY is wrong, or an older value is in ~/.strix/cli-config.json Export the right key and run again
429 Too many requests in flight Strix's root and child agents can send requests at the same time; the Free plan allows 2 at once Strix retries up to 5 times (STRIX_LLM_MAX_RETRIES). For larger scans, use a plan with more concurrency
Requests time out on long reasoning LLM_TIMEOUT is 300 seconds by default Raise LLM_TIMEOUT, or lower STRIX_REASONING_EFFORT
--max-budget never triggers No prices set for the model Set the three STRIX_LLM_*_COST_PER_MTOK variables
Files in your repository changed A local target is mounted writable Commit first, and review the diff after the scan

Frequently asked questions

Why does STRIX_LLM start with openai/?

Strix sends openai/ model names through the OpenAI SDK client with your LLM_API_BASE and strips the prefix, so Abliterator receives kimi-k3.1-pro-abliterated. Other prefixes, such as openrouter/, go through LiteLLM to that provider.

Does Strix need the OpenAI Responses API?

Only for models that LiteLLM's catalog lists with /v1/responses. Abliterator's model IDs are not in that catalog, so Strix already picks Chat Completions; STRIX_API_TYPE=chat_completions makes the choice explicit.

Why does --max-budget not stop the scan?

Strix needs a price for the model to count spend, and LiteLLM's price list has no entry for Abliterator's model IDs. Set STRIX_LLM_INPUT_COST_PER_MTOK, STRIX_LLM_OUTPUT_COST_PER_MTOK and STRIX_LLM_CACHED_INPUT_COST_PER_MTOK to the prices on /pricing; Strix's configuration reference recommends them for model IDs LiteLLM cannot price.

Which model should Strix use?

kimi-k3.1-pro-abliterated for the agents that test, and deepseek-v4.1-flash-abliterated as STRIX_DEDUPE_MODEL for the finding-deduplication judge. For cheaper practice scans, run everything on deepseek-v4.1-flash-abliterated.

Try it in your browser.

Ask it something your usual model refuses.

Start a chat

No sign-up to try. $10 free when you verify your email.