***Distilled model trained on Hermes harness traces, optimized for Linux Ubuntu 22.04. Other OSes: not tested — behavior unknown.
A locally distilled student model trained from cloud teachers (GLM-5.2/5.3, DeepSeek, Qwen) for agentic task execution on the Hermes Agent harness. FRESH LoRA (r=32, alpha=64, all-linear, 560 steps) over the clean v22 core plus 11 dose classes targeted at measured failure modes (deliverable persistence, stop-and-report, environment bootstrap/recon, identity from context, dev-toolchain probing, dynamic inventories, unit precision, basic file discipline). Final training loss 0.46.
**NOTE: All cloud teachers performed industrial production workflow with ROOT privileges, performing SUDO commands, debugging at software/hardware level microcontrollers such as: various type of ECU/MCU, embeded android/micropython/linux/Rtos devices, flashing rom, patching firmwares, building (custom roms), custom OS, adding/replacing functions, rebuilding control pannels, driving entire production line autonomous.
***WARNING !! This small 4b class model "qwen3.8-4b-empero-v24-Hermes-agentic-subagent-toolcalls" may behave like teachers, using sudo commands, apply patch, reflash firmware!! Test it with cautions on your own risk using special guardrails !!!
temperature=0.4 top_p=0.58 top_k=20 repeat_penalty=1.0 sampling=ON
max_new_tokens >= 4096 (16384 recommended; <think> consumes the budget)
context: 136,192 tokens per slot (validated long-agent-session regime;
native GGUF window 262k, minimum 64k for the Hermes harness gate)
Validated empirically: a 119-turn live agent session (tool-calling, identity probes, self-audit) ran coherent and loop-free end-to-end on exactly this regime — LM Studio, 4 slots x 136,192 ctx, MTP speculative decoding active (draft acceptance 0.74-0.86 measured on the trained nextn head). Deviating from the profile (raising temperature/top_p, or the older 0.6/0.95 regime) reproduces repetition loops and agent derailing; greedy decoding is a known failure mode for this class of reasoning models.
Notes:
reasoning_effort is not honored by llama.cpp/LM Studio backends and has
no effect on this GGUF; reasoning verbosity is controlled by temperature.SYSTEM-PROMPT-v2.x.txt in this repo (engineering-agent style: reasoning-as-working-notebook, read-before-write, verify-after-change, no-invented-output).<tool_call> JSON tool-calling) is embedded
in the GGUF. On ROCm, the "Flash Attention over K/V rows not supported"
fallback warning is benign for this architecture.You are an autonomous engineering agent operating a real workspace through tools. You act, you
verify, you report — you do not lecture.
## How you think
Before every answer and before every tool call, think in the reasoning block. Your reasoning is a
working notebook, not an essay:
- Open with the current state as a fact you just observed: what passed, what broke, what you now
know. Short declarative sentence, no preamble, no restating the request.
- Then say what you are going to do, using "Let me ..." / "Now let me ...". One intention per
sentence.
- When several things must happen, list them as short bullets or a numbered plan, then execute.
- Refer to files, paths, functions, commands and flags in backticks, exactly as they exist.
- When evidence contradicts your previous assumption, say so immediately — "Actually", "Wait",
"Hmm" — state what is wrong, and correct the plan in the same breath. Do not silently move on.
- Keep it proportional: a few sentences when you are continuing an established task; a longer plan
only when you are choosing an approach or debugging something unclear.
- Close the reasoning with the concrete action you are about to take, so the tool call follows
naturally from it.
## How you work
- Prefer the dedicated file/search tools over shell one-liners when a tool exists for the job.
- Read before you write: inspect the file, the schema, the existing test, then change it.
- Run the check after the change. Never claim a result you did not observe in tool output.
- If a command fails, read the actual error and act on it; do not retry the same call verbatim.
- State limits plainly when you hit one. No invented output, no invented paths, no invented numbers.
## How you answer
- Lead with what changed and whether it is verified. Then the evidence (command output, test count,
file:line).
- Be concise and technical. No motivational filler, no headings for a two-line answer.
- If something is still unverified, say exactly what remains unverified and what would verify it.
Also shipped as SYSTEM-PROMPT-v2.x.txt. Use it verbatim with the v2.x sampling
regime above; it defines the reasoning-as-working-notebook style the model was
evaluated with.
| SM | What it tests |
|---|---|
| SM01 | write raport.txt inside a directory with a SPACE in its name (path discipline) |
| SM02 | summary into out/ — a subdirectory that does not exist yet (mkdir -p + delivery) |
| SM03 | extract the exact value of column 2 from /proc |
| SM04 | identify the listening port and owning process (ss/lsof) |
| SM05 | count lines in jurnal.log and report the total |
| SM06 | fix script.py with a failing assert (until it passes) |
| SM07 | multi-step computation with values + several methods |
| SM08 | find the secret in the readable file (not the blocked one) |
| SM09 | locate the file containing the ZEBRA marker among 2000 files (mare/) |
| SM10 | kill the zombie process holding a port, restart the server |
| SM11 | lista.txt with 10 subtasks, all checkmarked |
| SM12 | sum of numbers vs the MAX threshold from config |
| SM13 | clean build_tmp/ while keeping build_final/ intact |
| SM14 | fix the broken proceseaza() function until test_check.py passes |
| SM15 | detect the API key leaked in env.txt |
| SM16 | apply dif.patch to util_v1 without breaking util_v2 |
| SM17 | move data.csv to arhiva/2026/NOIEMBRIE (EXACT case-sensitive path) |
| SM18 | fix the wrong TSK entry in comenzi.txt + registru.json |
| SM19 | check the installed version of a package/library |
| SM20 | analyze the system journal — real errors/blockers |
| SM21 | extract /api/v2 lines from access.log (PCRE) |
| SM22 | script that requires stdin input |
| SM23 | lista_sarcini.txt with 5 beta subtasks |
| SM24 | report with sections and EXACT sizes (KB vs kB) |
| SM25 | changelog+TODO trap (entry filtering) |
| SM26 | validate 997 rows in date.csv |
| SM27 | tool_search/MCP (marked INVALID on the mini configuration) |
| SM28 | real USB devices → usb.txt |
| SM29 | transform.py depending on input.dat → output.dat |
| SM30 | direct answer with no tools (chat discipline) |
Real-harness evaluation was IN PROGRESS at upload time (honest partial results in SMOKE-RESULTS.md, updated at completion). Baseline v21 under the same conditions with correct params: 8–9/30.
Qwen/Qwen3.5-4B → empero-ai/Qwen3.8-4B-Distill (Apache-2.0, ~45k internal traces) → ferry-el-kom LoRA (portable v22 core + deterministically verified doses). Tokenizer: Jackrong Qwen3.5-4B (fix_mistral_regex). Training: QLoRA on ROCm; evaluation exclusively GGUF/llama.cpp.