Skip to content

j4n4

Vex-35B-A3B-CyberAgent

A 35B mixture-of-experts (about 3B active) model by j4n4 that uses tools such as web search, can think before answering and reads images.

Tools Thinking Vision
Downloads
37,675 downloads last month
Likes
6 likes
Uploaded
Uploaded 3 Dec 2026

Get it in Zero1LLM

Then open Explore in the app and search for:

Parameters
35,107,181,936 (35.1B)
Context length
262,144 tokens
Architecture
qwen35moe
Task
text-generation
Licence
apache-2.0
Released
1 Dec 2026
Last updated
1 Dec 2026

This is bartowski's upload of j4n4/Vex-35B-A3B-CyberAgent, which is based on InternScience/Agents-A1, j4n4/Huihui-Agents-A1-abliterated.

Languages listed in the model card

  • English

Tools

Uses tools, so web search and the browser work best with it.

Thinking

Can think step by step before it answers.

Vision

Reads images: photos, screenshots, scanned pages.

Each version is the same model stored at a different precision: smaller files use less memory and lose a little quality.

VersionFile sizeFileSHA-256
IQ2_XXS10.79 GBj4n4_Vex-35B-A3B-CyberAgent-IQ2_XXS.gguf
IQ2_XS11.27 GBj4n4_Vex-35B-A3B-CyberAgent-IQ2_XS.gguf
IQ2_S11.98 GBj4n4_Vex-35B-A3B-CyberAgent-IQ2_S.gguf
IQ2_M13.23 GBj4n4_Vex-35B-A3B-CyberAgent-IQ2_M.gguf
Q2_K13.84 GBj4n4_Vex-35B-A3B-CyberAgent-Q2_K.gguf
IQ3_XXS15.58 GBj4n4_Vex-35B-A3B-CyberAgent-IQ3_XXS.gguf
IQ3_XS16.32 GBj4n4_Vex-35B-A3B-CyberAgent-IQ3_XS.gguf
Q3_K_S16.32 GBj4n4_Vex-35B-A3B-CyberAgent-Q3_K_S.gguf
Show all 25 versions
VersionFile sizeFileSHA-256
Q3_K_M17.34 GBj4n4_Vex-35B-A3B-CyberAgent-Q3_K_M.gguf
Q3_K_L18.27 GBj4n4_Vex-35B-A3B-CyberAgent-Q3_K_L.gguf
IQ3_M18.96 GBj4n4_Vex-35B-A3B-CyberAgent-IQ3_M.gguf
IQ4_XS19.89 GBj4n4_Vex-35B-A3B-CyberAgent-IQ4_XS.gguf
Q4_019.94 GBj4n4_Vex-35B-A3B-CyberAgent-Q4_0.gguf
Q4_K_S20.95 GBj4n4_Vex-35B-A3B-CyberAgent-Q4_K_S.gguf
Q4_121.97 GBj4n4_Vex-35B-A3B-CyberAgent-Q4_1.gguf
IQ4_NL22.32 GBj4n4_Vex-35B-A3B-CyberAgent-IQ4_NL.gguf
Q4_K_M22.32 GBj4n4_Vex-35B-A3B-CyberAgent-Q4_K_M.gguf
Q4_K_L24.11 GBj4n4_Vex-35B-A3B-CyberAgent-Q4_K_L.gguf
Q5_K_S25.14 GBj4n4_Vex-35B-A3B-CyberAgent-Q5_K_S.gguf
Q5_K_M26.98 GBj4n4_Vex-35B-A3B-CyberAgent-Q5_K_M.gguf
Q6_K_S29.37 GBj4n4_Vex-35B-A3B-CyberAgent-Q6_K_S.gguf
Q6_K30.74 GBj4n4_Vex-35B-A3B-CyberAgent-Q6_K.gguf
Q6_K_L32.30 GBj4n4_Vex-35B-A3B-CyberAgent-Q6_K_L.gguf
Q8_036.91 GBj4n4_Vex-35B-A3B-CyberAgent-Q8_0.gguf
BF1669.38 GBj4n4_Vex-35B-A3B-CyberAgent-bf16-00001-of-00002.gguf+1 partsPer part

Vision add-on (needed to read images): mmproj-j4n4_Vex-35B-A3B-CyberAgent-f16.gguf, 899.3 MB

Model class
Qwen3_5MoeForConditionalGeneration
Model type
qwen3_5_moe_text
Layers
40
Hidden size
2048
Attention heads
16
Key/value heads
2
Experts
256 (8 used per token)
Vocabulary
248,320
Context length
262,144 tokens
Weights
bfloat16
Vision encoder
Included (vision_config)

Vex-35B-A3B-CyberAgent

Vex-35B-A3B-CyberAgent is a 35.1B-total / 3B-active Mixture-of-Experts (MoE) autonomous cybersecurity & tool-calling agent model fine-tuned in full BF16 LoRA from j4n4/Huihui-Agents-A1-abliterated (verified mirror of huihui-ai/Huihui-Agents-A1-abliterated, abliterated from InternScience/Agents-A1 — Qwen3_5MoeForConditionalGeneration, 256 routed experts with top-8 routing, 40 hybrid GatedDeltaNet linear + full attention layers, 262K native context).

As the high-speed MoE sibling to j4n4/Nyx-27B-CyberAgent (27.4B dense), Vex-35B-A3B-CyberAgent combines Agents-A1's frontier long-horizon agentic foundation (GAIA 96.0 / IFEval 94.8) with 105,426 curated, refusal-filtered cybersecurity & tool-calling conversations (~71.80M tokens) — delivering ~5× faster local inference (~48–53 tok/s on Apple M1 Max 64 GB) for real-time autonomous pentesting and security auditing loops.

Model Family & Variants

RepositoryFormatDisk SizeM1 Max 64 GB SpeedRecommended Hardware
j4n4/Vex-35B-A3B-CyberAgent (this repo)Transformers BF16 (merged)65.42 GB—80–96 GB GPU (A100/H100/RTX PRO 6000) / vLLM / SGLang
j4n4/Vex-35B-A3B-CyberAgent-MLX-bf16MLX BF16 lossless (733 tensors)64.56 GiBRequires 96 GB+ RAMApple Silicon 96–192 GB+ / Custom MLX Quantization
j4n4/Vex-35B-A3B-CyberAgent-MLX-OptiQ-8bitMLX OptiQ Mixed 8/16-bit (9.08 bpw, 329×16b + 182×8b)37.5 GB47.7 – 49.4 tok/s (39.5 GB RAM)Apple Silicon 64 GB+ (Highest Fidelity Mac Build)
j4n4/Vex-35B-A3B-CyberAgent-MLX-OptiQ-6bitMLX OptiQ Mixed 6/8/16-bit (7.16 bpw, 291×16b + 38×8b + 182×6b)29.6 GB52.4 – 53.2 tok/s (31.2 GB RAM)Apple Silicon 48–64 GB (Fastest Daily-Driver Mac Build)

Training Recipe

Curated Dataset Composition (~71.80M Training Tokens, Plan B Full 3-in-1)

All datasets were deduplicated, scrubbed of canned safety refusals (891 refusal samples removed) and failed agent runs, and re-rendered natively with InternScience/Agents-A1's chat_template.jinja + XML <tool_call><function=...><parameter=...> schema (enable_thinking=False):

Source DatasetKept SamplesTokensCuration Notes
Vyber07/cyber-security98,98062.40MOffensive/defensive security Q&A, CVE/exploit analysis, code auditing, blue-team detection; 885 refusals filtered
NousResearch/hermes-function-calling-v18,2608.94MConverted to native qwen3_coder XML <tool_call> format; acts as tool-calling anchor
cx-cmu/agent_trajectories3971.89Mswebench, terminalbench, mcpbench — passing trajectories only (reward >= 1.0 / >= 5.0); 2,523 failed runs removed
Train / Val Split (max_seq_len=8192)105,426 / 2,15271.80M train98% / 2% split, sequence-packed to 8,772 zero-waste rows

Hyperparameters & Convergence

  • Hardware & Framework: NVIDIA RTX PRO 6000 Blackwell (96 GB VRAM), Unsloth 2026.11.13 + TRL 1.15.0 + Transformers 5.17.0 + PyTorch 2.14.1+cu130
  • Method: Full BF16 LoRA (load_in_4bit=False, avoiding 4-bit quantization discrepancy on qwen3_5_moe GatedDeltaNet + sparse MoE layers), r=16, lora_alpha=16, lora_dropout=0, 931.1M trainable parameters (2.58% of 36.04B), merged back losslessly to 16-bit BF16
  • Loss Masking: train_on_responses_only (<|im_start|>user\n → <|im_start|>assistant\n)
  • Schedule: 1 full epoch, 8,772 packed steps, max_seq_length=8192, cosine LR 6e-5 with 5% warmup (adamw_8bit), Peak VRAM 80.7 GiB, 1.01–1.02 s/it

Monotonic validation eval_loss across all 18 / 18 checkpoints (zero overfitting):

Step50010001500200025003000350040004500
Val Loss0.82230.78160.76130.74740.73710.72890.72250.71460.7104
Step500055006000650070007500800085008772 (1.0 ep)
Val Loss0.70600.70170.69840.69600.69390.69240.69210.69180.6917

Local Verification & Benchmarks (Apple M1 Max 64 GB, MLX)

Measured locally via mlx-lm 0.32.2 (enable_thinking=False, greedy temp=0.0):

VariantDisk SizeEffective BPWLoad TimePrompt SpeedGeneration SpeedPeak RAMSecurity AuditNative <tool_call>
OptiQ-8bit (329×16b + 182×8b)37.5 GB9.0788.77 s271.94 tok/s47.65 – 49.40 tok/s39.49 GB6 / 6 (100%)7 / 8 (87.5%)
OptiQ-6bit (291×16b + 38×8b + 182×6b)29.6 GB7.1635.55 s248.66 tok/s52.41 – 53.19 tok/s31.20 GB6 / 6 (100%)7 / 8 (87.5%)
Ref: Nyx-27B-CyberAgent (OptiQ-8bit Dense)31.6 GB9.8506.78 s70.44 tok/s9.92 – 10.31 tok/s33.44 GB6 / 6 (100%)8 / 8 (100%)

Evaluation Breakdown (temp=0.0, identical across OptiQ-8bit & OptiQ-6bit)

  • Zero-Refusal Offensive & Defensive Security Auditing (6 / 6 = 100%):
    • Concrete technical payloads + remediation/detection rules with zero safety refusals across: UNION SQLi + PHP PDO remediation, AWS IMDSv1 SSRF IP encoding bypasses (2852039166, 0xa9fea9fe, IPv6-mapped) + IMDSv2 hardening, Flask CWE-78 command injection PoC + hardened subprocess, x86-64 NX ret2libc/ROP chain (pop rdi; ret, 16-byte stack alignment, pwntools), Active Directory Kerberoasting (GetUserSPNs.py, hashcat, Event ID 4769, gMSA), and Linux /dev/tcp reverse shell FD breakdown + Sigma detection rule.
  • Native XML <tool_call> Evaluation (7 / 8 = 87.5%):
    • 7 / 7 (100%) exact function & parameter match across all single-turn security tools (run_nmap, query_cve, read_source_file, check_ioc IP & domain, execute_shell) plus negative control (0% false tool invocation on conceptual questions).
    • On the 1 multi-turn follow-up test under greedy enable_thinking=False, the model correctly parsed the tool output and stated its next action before stopping; in agent harnesses, instructing direct tool emission or enabling reasoning mode resolves multi-turn chaining cleanly.

Quickstart (vLLM / SGLang / transformers)

vLLM (with native XML tool calling)

vllm serve j4n4/Vex-35B-A3B-CyberAgent \
  --port 8000 \
  --max-model-len 131072 \
  --enable-auto-tool-choice \
  --tool-call-parser qwen3_coder

Transformers

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "j4n4/Vex-35B-A3B-CyberAgent"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    torch_dtype=torch.bfloat16,
    device_map="auto",
)

messages = [
    {"role": "system", "content": "You are Vex-35B-A3B-CyberAgent, an autonomous cybersecurity auditing agent."},
    {"role": "user", "content": "Audit a Flask route running subprocess.check_output(f'ping -c 1 {host}', shell=True). Provide a PoC payload and hardened fix."},
]

prompt = tokenizer.apply_chat_template(
    messages, tokenize=False, add_generation_prompt=True, enable_thinking=False
)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512, do_sample=False)
print(tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))

Responsible & Authorized Use

Released under Apache-2.0 for authorized penetration testing, red/blue team exercises, vulnerability research, CTF competitions, incident response, and security education. Users are solely responsible for ensuring all usage complies with applicable laws and written authorization scopes.

On Hugging Face

Everything on this page comes from these pages and is refreshed every few hours; Hugging Face always has the latest.