Agents

Uncensored LLM for Agents: Tool Calling With Fewer Refusals

Uncensored LLM for agents: run tool-calling loops on abliterated models so security and research agents rarely refuse mid-task. Example loop, setup, costs.

Reviewed AgentsTool callingAPIClaude Code

Quick answer

An uncensored LLM for agents is a tool-calling model that keeps working when a task touches sensitive material, such as malware strings in a log or exploit code in a repository. Abliterator's abliterated models support OpenAI-style tool calling, work in Claude Code and Cline, and keep following your system prompt and tool boundaries.

Why agents need a model that does not refuse mid-task

A chatbot refusal costs one retry. An agent refusal costs the whole run. Agents read whatever their tools return: log lines containing attacker commands, a repository with exploit proof-of-concept code, a phishing email in a ticket, a malware sample's strings. Any of those can trip a safety-trained model halfway through a task, and the agent stops with half its work done and its state unclear.

Security and research teams see this most. A detection-engineering agent stops when a log contains a credential-dumping command line. A coding agent in a bug bounty repository declines to edit the proof of concept it was asked to fix. A triage agent refuses to summarize the ransom note attached to an incident.

An uncensored LLM for agents removes that failure mode. Abliterator's models are abliterated: the refusal direction is removed from the weights, so the model reads sensitive tool output as data and continues the task.

Tool calling on Abliterator

Both models accept OpenAI-style tools on POST /v1/chat/completions and Anthropic-style tools on POST /v1/messages. The model returns tool calls, your code runs them, and you send the results back.

Kimi K3.1 Pro Abliterated DeepSeek V4.1 Flash Abliterated
Model ID kimi-k3.1-pro-abliterated deepseek-v4.1-flash-abliterated
Agent role Main agent: planning, long tasks Sub-agents and high-volume steps
Context 1,048,576 tokens 1,048,576 tokens
Input / cached input per 1M $4.00 / $0.40 $1.00 / $0.10

On DeepSeek V4.1 Flash, the τ²-bench airline agent benchmark went from 66.3 to 71.3 after abliteration, with a 95% interval of −0.3 to +11.0 for the difference. That interval includes zero, so the fair reading is that tool-use ability held up. On Kimi K3.1 Pro Abliterated, τ²-bench airline went from 86.7 to 87.3 (+0.7), also within noise. Coding agents are the exception to check: Kimi's Terminal-Bench 4.0 score fell from 68.8 to 56.3 (−12.5, 95% interval −27.1 to 0.0), a drop that is plausible but not statistically shown. If you run Kimi as a coding agent, test it on your own tasks before switching. See benchmarks.

A complete agent loop

This Python agent triages an endpoint alert with two tools. The tools return stub data so the script runs as written; replace them with your threat-intel and log-search calls.

import json
import os
from openai import OpenAI

client = OpenAI(base_url="https://abliterator.ai/v1", api_key=os.environ["ABL_API_KEY"])


def lookup_hash(sha256):
    return {"sha256": sha256, "verdict": "malicious", "family": "example-stealer", "first_seen": "2026-10-02"}


def search_logs(host, query):
    return [
        {"time": "2026-11-26T09:14:02Z", "host": host, "event": "process_start",
         "cmdline": "invoice_viewer.exe --silent", "parent": "explorer.exe"},
        {"time": "2026-11-26T09:14:09Z", "host": host, "event": "network_connect",
         "dest": "203.0.113.45:443", "process": "invoice_viewer.exe"},
    ]


TOOLS = [
    {"type": "function", "function": {
        "name": "lookup_hash",
        "description": "Look up a file hash in threat intelligence.",
        "parameters": {"type": "object", "properties": {"sha256": {"type": "string"}}, "required": ["sha256"]},
    }},
    {"type": "function", "function": {
        "name": "search_logs",
        "description": "Search endpoint logs on one host.",
        "parameters": {"type": "object", "properties": {"host": {"type": "string"}, "query": {"type": "string"}},
                       "required": ["host", "query"]},
    }},
]
FUNCS = {"lookup_hash": lookup_hash, "search_logs": search_logs}

messages = [
    {"role": "system", "content": "You are a SOC triage agent. Use the tools, cite evidence, and end with a containment recommendation."},
    {"role": "user", "content": "Alert: host WS-0142 ran invoice_viewer.exe (sha256 9f2c...e41a) from Downloads. Triage it."},
]

for _ in range(8):
    resp = client.chat.completions.create(model="kimi-k3.1-pro-abliterated", messages=messages, tools=TOOLS)
    msg = resp.choices[0].message
    turn = {"role": "assistant", "content": msg.content or ""}
    if msg.tool_calls:
        turn["tool_calls"] = [c.model_dump() for c in msg.tool_calls]
    messages.append(turn)
    if not msg.tool_calls:
        print(msg.content)
        break
    for call in msg.tool_calls:
        args = json.loads(call.function.arguments)
        result = FUNCS[call.function.name](**args)
        messages.append({"role": "tool", "tool_call_id": call.id, "content": json.dumps(result)})

The loop caps itself at eight turns. Agents without a cap can loop on a confusing tool result and spend money doing it. The tool calling guide has more on defining tools and handling their results.

Coding agents: Claude Code, Cline and OpenCode

You do not have to write the loop yourself. Claude Code connects through Abliterator's Anthropic-compatible endpoint at https://abliterator.ai, and Cline through the OpenAI-compatible one at https://abliterator.ai/v1. Each setup takes a base URL, a key and a model ID:

This is useful in repositories that ordinary coding agents avoid: fuzzing harnesses, detection-rule repositories with malicious samples as test fixtures, and red-team tooling built for an authorized engagement.

Keep the agent in bounds

Removing refusals does not remove control. It moves control to places you own.

  • Tools are the real boundary. The model can only act through the functions you expose. If an agent may scan only in-scope hosts, enforce the allowlist inside the scan tool, not only in the prompt.
  • System prompts still work. On DeepSeek V4.1 Flash Abliterated, a restrictive operator system prompt still made the model decline 75% of off-topic requests (95% for the original), and it never wrongly declined an on-topic one. Treat that as one layer, not the only one.
  • Authorization is your responsibility. The acceptable use policy prohibits attacks on systems or networks without authorization and malware deployed against third parties. An offensive-security agent needs a signed scope, and so does every target it touches.

Cost and rate limits for agent loops

Agents resend the whole conversation on every turn, so input tokens dominate. Abliterator caches repeated prefixes automatically and bills them at the cached input price, $0.40 per 1M tokens on Kimi instead of $4.00, with no cache-write surcharge. Keep the system prompt and tool definitions stable at the start of the conversation so they stay cached.

Agents also run many requests in parallel. Each plan caps concurrent requests, from 2 on Free to 32 on Scale; past the cap, Abliterator returns 429 with Retry-After. Size the plan on pricing to your peak number of agents running at once. For choosing effort levels inside a loop, see the uncensored reasoning model API.

Frequently asked questions

Which Abliterator model is better for agents?

Kimi K3.1 Pro Abliterated is the flagship for agents and long multi-step tasks. DeepSeek V4.1 Flash Abliterated suits high-volume sub-agents, such as classifying many tool outputs, where cost per call matters more.

Did abliteration hurt tool use?

On DeepSeek V4.1 Flash, the tau-squared airline agent benchmark went from 66.3 to 71.3. The 95% interval of the difference, −0.3 to +11.0, includes zero, so read it as no measured loss rather than a gain.

How do I stop an uncensored agent from doing something it should not?

Limit what its tools can do. The model can only act through the functions you expose, so enforce scope, such as an allowlist of hosts, inside the tool code rather than relying on the prompt alone.

Do agent loops get expensive with a 1M-token context?

They can, because each turn resends the conversation. Abliterator caches repeated prompt prefixes automatically and bills them at the cached input price, which keeps long loops cheaper than full input pricing.