You made this the most downloaded Gemma 4 E4B fine-tune in the world.
We were the first to train Gemma 4 at the weights — 7 days after Google released it, 3 months before anyone else published a guide. And you showed up. 140,000+ of you. Zero community issues. That means everything.
This model (v1) is still fully supported and will stay up. If you're already using it in production, it works great. v2 is for when you want the next level.
We will continue to innovate and simply do what others can't.
— RavenX AI Labs, San Jose, CA
Gemma 4 E4B — Opus Reasoning + Claude Code | Tool Calling ✅ | OpenHarness ✅ | OpenClaw ✅ | Hermes Agent ✅ | Reasoning Baked In
Opus 4.6 reasoning + Claude Code fused into weights. Native tool calling. OpenHarness agent harness. OpenClaw orchestration. Hermes terminal-agent skill. <think> reasoning baked in — no adapter needed. 10.5 GB.
Reasoning baked in. No adapter needed. Built by RavenX AI
Gemma 4 E4B with Opus Reasoning + Claude Code LoRA fused directly into the weights — no adapter needed, no extra memory, just load and run with Claude-style <think> reasoning baked in.
~10.5 GB. 131K context. Text + vision. Drop-in reasoning upgrade.
1from mlx_lm import load, generate
23# No adapter_path needed — reasoning is in the weights4model, tokenizer = load("deadbydawn101/gemma-4-E4B-Agentic-Opus-Reasoning-GeminiCLI-mlx-4bit")56messages =[{"role":"user","content":"Explain why RSA encryption is hard to break."}]7prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True, tokenize=False)8response = generate(model, tokenizer, prompt=prompt, max_tokens=1024, verbose=True)9# → Will produce <think>...</think> followed by structured answer
This model is built to sit inside a real agent stack, not just a chat box.
We support:
OpenHarness for agent harness/runtime, skills, hooks, tool loops, and multi-agent flows
OpenClaw for orchestration, sessions, reminders, and cross-agent routing
Hermes agent skill for terminal-native coding posture, short planning, aggressive tool use, and repo-aware execution
Why this combo matters
Layer
Role
Gemma 4 E4B Opus Reasoning + Claude Code
reasoning + tool-use behavior baked into the weights
Gemini CLI
coding agent + tool orchestration
OpenHarness
harness runtime, tool loop, swarm, hooks, memory
OpenClaw
orchestration, sessions, skills, messaging
Hermes skill
agent behavior for concise, terminal-first execution
OpenHarness quickstart
bash
1pip install openharness
23mlx_lm.server \4 --model deadbydawn101/gemma-4-E4B-Agentic-Opus-Reasoning-GeminiCLI-mlx-4bit \5 --port 808067oh --model http://localhost:8080/v1 \8 --skill hermes-agent \9 -p "Review this repo, find bugs, patch them, and summarize the result"
OpenClaw skill stack
Inside OpenClaw, pair this model with:
openharness skill — run/configure oh
hermes-agent skill — shape coding-agent behavior
That gives you a fully local Apple Silicon agent lane with:
baked-in reasoning
native tool calling
Gemini CLI integration
OpenHarness runtime support
OpenClaw orchestration
💻 Gemini CLI — Coding Agent + Tool Orchestration
We use RavenX AI's Gemini CLI fork as the coding agent and tool orchestration layer on top of these models. This is what makes the tool-calling capability real in production.
Gemini CLI gives you a full agentic loop in the terminal — Google Search grounding, file read/write, shell execution, web fetching, and MCP server support — all wired to a 1M token context window.
bash
1# Install2npminstall -g @google/gemini-cli
34# Run as a coding agent against this model (via local mlx_lm server)5mlx_lm.server --model deadbydawn101/gemma-4-E4B-Agentic-Opus-Reasoning-GeminiCLI-mlx-4bit --port 8080&6gemini --baseUrl http://localhost:8080
78# Or use directly against Gemini API (free tier: 60 req/min)9gemini
What Gemini CLI + these models unlock together
Capability
How
Code generation
Gemini CLI reads your codebase, model reasons with <think> tags
Pair with TurboQuant-MLX to compress the KV cache and run 4.6x longer reasoning chains at the same memory:
python
1from turboquant_mlx.mlx_kvcache import TurboQuantKVCache
2import mlx_lm.models.cache as cache_module
34cache_module.make_prompt_cache =lambda model,**kw:[5 TurboQuantKVCache()for _ inrange(len(model.layers))6]78from mlx_lm import load, generate
9model, tokenizer = load("deadbydawn101/gemma-4-E4B-Agentic-Opus-Reasoning-GeminiCLI-mlx-4bit")10# Long reasoning chains now fit in the same RAM budget
"We trained Gemma 4 in April. Unsloth published their guide in July. We simply do what others can't."
TriAttention KV Compression
[2026-04-09] Our MLX port was merged into TriAttention (MIT + NVIDIA) — PR #1 by @DeadByDawn101 (RavenX AI).
Apply 10.7x KV memory reduction and 2.5x throughput on top of this model's built-in 4-bit TurboQuant quantization for ~50x combined compression vs full fp16: