Skip to page content
SAVRN
Search Plan a project

Open-weight model · Text generation

tiny-agent-gguf

by Blockchain hkblockchaintechnology/tiny-agent-gguf

tiny-agent-gguf is an open-weight model for text generation from Blockchain, released under Apache License 2.0. Its published files total 2.0 GB. It draws 163 downloads a month.

Quantized language models for Tiny Agent — a Windows application that gives you Word, Excel and PowerPoint with an AI assistant that runs on your own CPU, with no GPU, no cloud API and no account. double-click, and it installs like any other Windows program.

Parameters—
Context—
Weights2.0 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads163

Model Card

By Blockchain, published under apache-2.0, revision b81ad361dd31.

Quantized language models for Tiny Agent — a Windows application that gives you Word, Excel and PowerPoint with an AI assistant that runs on your own CPU, with no GPU, no cloud API and no account. double-click, and it installs like any other Windows program. This repository supplies the model that installer uses — or that you can point any local llama-server at. These files are quantizations of existing Apache-2.0 models, not new models. and limitations are inherited unchanged from the base model. Sizes are the real blob sizes, not estimates. All three are Apache-2.0 and safe to redistribute inside a product. Measured by actually running it — these are observed behaviours, not claims…

Read Blockchain's full model card

Quantized language models for Tiny Agent — a Windows application that gives you Word, Excel and PowerPoint with an AI assistant that runs on your own CPU, with no GPU, no cloud API and no account.

The app: download releases/TinyAgentSetup-1.0.0.exe from hkblockchaintechnology/tiny-agent, double-click, and it installs like any other Windows program. This repository supplies the model that installer uses — or that you can point any local llama-server at.

These files are quantizations of existing Apache-2.0 models, not new models. Nothing here is fine-tuned: we convert and quantize, so the knowledge, biases and limitations are inherited unchanged from the base model.

TL;DR

What it is Qwen3-1.7B converted to GGUF and quantized to 4-bit
What it's for Filling short, schema-constrained JSON slots in the Tiny Agent pipeline
Licence Apache-2.0 — free to redistribute with a product
Runs on CPU only, no GPU. ~1.2 GB RAM for the 4-bit build
Speed 6.5 tok/s on a 2014-era 4-core desktop; 11.5 tok/s with speculative decoding
Not for Being asked to "write me a report" in a single prompt

Files in this repository

File Size What it is
qwen3-1.7b-Q4_K_M.gguf 1.28 GB the default model
qwen3-0.6b-Q4_K_M.gguf 0.48 GB smaller and roughly 2x faster
qwen3-1.7b-eagle3.gguf 0.28 GB EAGLE3 speculative draft for the 1.7B model

Sizes are the real blob sizes, not estimates. All three are Apache-2.0 and safe to redistribute inside a product.

What it can do

Measured by actually running it — these are observed behaviours, not claims:

Task Verdict Notes
Return strictly valid JSON matching a schema reliable Enforced by a llama.cpp grammar, so it is structurally impossible to emit malformed JSON
Plan a document outline (3–6 sections) reliable Produces sensible, ordered headings
Write 1–3 paragraphs of grammatical prose on a topic good Coherent and readable; occasionally generic
Condense source material into 3–5 short bullets good Best when given explicit research notes
Follow small constraints ("under 12 words", "no markdown") usually Occasionally needs the constraint repeated
Write a whole multi-page document in one pass no It drifts, repeats and loses structure — see the design note below
Be factually accurate from memory alone no It will invent plausible specifics. Grounding in retrieved text is what makes output trustworthy
Do arithmetic, analysis or comparisons no Use Python for that
Cite its sources unprompted no Citations are attached by the pipeline, not the model
Keep a consistent voice across many sections partial Sections are generated independently, so tone can drift

Why this model, and not something bigger

Tested rather than assumed. Six CPU-sized models were run through the real pipeline against identical frozen research notes, and scored on how faithfully they filled the JSON slots:

model grounding repetition verdict
qwen3:1.7b 0.460 0.065 best of the six
phi4-mini:3.8b 0.375 0.062 slower, grounded less
granite4:micro 0.353 0.050 worst instruction-following on shape
qwen3:4b 0.327 0.128 2.4x the parameters, worst repetition
qwen3:0.6b 0.213 0.000 thin, but ~2.4x faster
llama3.2:3b 0.562* 0.000 failed: 2 sections, 118 words, stopped

*tiny-sample artefact; it returned the wrong shape.

Qwen3-1.7B grounds retrieved facts best while staying fastest of the faithful options. On this hardware the bottleneck is tokens per second, not parameters of world knowledge, so a larger model buys nothing measurable and costs multiples of the time per document. Full method and raw data: docs/MODEL-BENCH.md.

How Tiny Agent uses it

The model is never asked to write a document, and it never touches a file. It is asked one small question at a time, and deterministic Python assembles the result:

 1. route    which KINDS of change could this instruction need?
             (replacements | newHeadings | newParagraphs | rows | totals
              | slides | charts | theme)                    <- deterministic
 2. plan     the model fills ONLY those slots, JSON enforced by a llama.cpp
             grammar, so a malformed plan is structurally impossible
 3. apply    python-docx / openpyxl / python-pptx write a NEW file  <- deterministic
 4. verify   fingerprint the file before and after, and report anything that
             changed WITHOUT being asked                      <- deterministic

Step 1 is what makes a model this size dependable: rather than a flat form with eight optional sections to wander around, it is handed only the two or three the instruction actually needs. Steps 3 and 4 mean its output can be checked rather than trusted, which is the difference between a demo and a tool you would point at real work.

Measured on the reference hardware, 12 of 12 plans produced a usable document (3 runs each of a Word edit, a spreadsheet edit, a deck edit and a new Word table), with a warm plan taking 2.5–5 s typical and the slowest measured plan 27 s.

One measured failure worth publishing, because it is the kind of thing a card usually leaves out: offered a single optional group, this model answered with prose in summary and left the group empty — twice in a row, on every run. Naming the group in the retry prompt did not fix it; making that one group required in the retry grammar did, immediately. That is the whole design thesis in one incident: the fix belongs in the shape of the output, not in the politeness of the request.

Each step is a JSON-schema-constrained call. For example, a plan's contract is handed to llama.cpp as a grammar, so the shape is enforced by the decoder rather than requested in the prompt:

{
  "type": "object",
  "properties": {
    "newParagraphs": {
      "type": "array",
      "minItems": 1,
      "items": {"type": "string"}
    }
  },
  "required": ["newParagraphs"]
}

That is why a 1.7B model is usable for a real task: structure, formatting, file writing and verification are handled by code, and the model only supplies short strings where a small model is genuinely competent.

Hardware and measured speed

Reference machine — deliberately weak, and the actual development target:

CPU Intel Core i5-4460 (Haswell, 4 cores / 4 threads, AVX2)
RAM 16 GB DDR3-1333
GPU none used
Storage 7200 rpm HDD
Model File size Cold load Generation
Qwen3-1.7B Q4_K_M 1.28 GB ~13 s 6.50 tok/s
Qwen3-1.7B Q4_K_M + n-gram speculation 1.28 GB ~13 s 11.46 tok/s (1.76x)
Qwen3-1.7B Q4_K_M + EAGLE3 draft +0.28 GB ~13 s 4.00 tok/s — slower, see below
Qwen3-0.6B Q4_K_M 0.48 GB ~6 s ~24 tok/s (measured via Ollama)

The generation figures were measured with the exact CPU-only llama.cpp build that ships in the product, 4 threads, a 4096-token context and a 220-token budget. The n-gram row is the mean of repeat runs on the same request.

What that means in practice

Measured end to end on the shipped runtime, web research enabled, 11 sources retrieved:

Job Wall clock
3-section researched Word report 202 s
3-slide deck ~112 s

The effective rate is well below the raw tokens/second because prompt processing over injected research context dominates, and every job makes several calls in sequence. That is why the interface streams progress: two to four minutes is perfectly acceptable for a "generate document" button, but only if the user can see which stage is running.

Speculative decoding is not optional on a CPU

Speculative decoding drafts several tokens cheaply and verifies them in one forward pass of the real model. On a CPU — where a forward pass is expensive and a batch is comparatively cheap — this is the single largest speedup available, and it costs nothing in output quality.

llama-server -m qwen3-1.7b-Q4_K_M.gguf --spec-type ngram-mod needs no extra download and measured 6.50 → 11.46 tok/s. It mines repeated token patterns from the context, so it is a warm-session win: the first request of a session gains almost nothing (7.33 tok/s) and the third reaches 11.46 tok/s as the shared hash pool fills. That suits a document generator exactly, because a job is several calls in a row sharing a long system prompt and emitting repetitive JSON.

EAGLE3 is the theoretically stronger option: a one-layer draft that reads the target model's hidden states and should therefore achieve a much higher acceptance rate. This repo ships qwen3-1.7b-eagle3.gguf and it is used like this:

llama-server -m qwen3-1.7b-Q4_K_M.gguf -md qwen3-1.7b-eagle3.gguf \
    --spec-type draft-eagle3 --spec-draft-n-max 8

It measured slower on a CPU, and this card will not pretend otherwise.

Configuration Speed Draft acceptance
No speculation 6.50 tok/s —
n-gram (ngram-mod) 11.46 tok/s 0.53 (warm)
EAGLE3 draft 4.00 tok/s 0.089

Acceptance was only 8.9%, and the draft shares the same 4 physical cores as the target, so it steals more throughput than it saves. EAGLE3 is a large win on a GPU — where the tiny draft runs nearly free beside the target — and a regression on a 4-thread CPU.

This was re-checked on a much faster machine (a 20-core server CPU running CPU-only, 4 threads) using our own converted GGUF: baseline 21.90 tok/s, n-gram 21.60 tok/s on a cold single run, EAGLE3 16.30 tok/s (0.74x). So EAGLE3 is slower regardless of target conversion, and n-gram's benefit genuinely depends on a warm, repetitive session — which is the normal case for this tool.

Prefer n-gram speculation on CPU; treat the EAGLE3 file as an experiment.

Practical consequences:

  • Cold load costs ~13 s on a spinning disk. Keep the model resident between requests rather than reloading per call.
  • Use one thread per physical core. More threads than physical cores is slower.
  • Qwen3 is a reasoning model. Left alone it spends most of its budget on hidden thinking tokens, so disable thinking (think=false, or chat_template_kwargs={"enable_thinking": false}).
  • A grounded 3-section report takes ~140 s end to end. That is acceptable for a "generate document" button, but only with progress reporting.

Quick start

llama.cpp server (OpenAI-compatible, supports JSON-schema constrained output):

llama-server -m qwen3-1.7b-Q4_K_M.gguf -c 4096 -t 4 --port 8080

llama.cpp CLI:

llama-cli -m qwen3-1.7b-Q4_K_M.gguf -c 4096 -t 4 \
  -p "Return only JSON: {\"heading\": str, \"paragraphs\": [str]} for a section about heat pumps."

Ollama (optional — the product does not need it):

ollama pull hf.co/hkblockchaintechnology/tiny-agent-gguf

The official CPU-only llama.cpp Windows release is an 18.8 MB zip (a 46 MB folder unpacked) and needs no GPU, CUDA toolkit or Python environment — that is the intended way to ship this.

Prompting notes for a model this size

  1. One question per call. Asking for several things at once is where small models fall apart.
  2. Constrain the output shape. Use a JSON schema or GBNF grammar. It removes an entire class of parsing failures.
  3. Disable thinking. Qwen3 will otherwise spend its whole budget reasoning.
  4. Give it the facts. Put retrieved text in the prompt; it cannot supply accurate specifics from memory.
  5. Ask for less text. 2–3 short paragraphs per section works; "write a detailed 2000-word report" does not.
  6. Expect and clean up artefacts. It adds list numbering to headings and sometimes leaks markdown into prose fields. Strip these deterministically during assembly rather than fighting them with prompt wording.

Limitations

  • Hallucination. Without grounding, specifics (figures, dates, product names) are unreliable and often invented. Tiny Agent mitigates this by injecting retrieved web text and attaching a source list, but it does not eliminate it.
  • Inherited knowledge cutoff and biases. Because this is a quantization, the base model's training data, cutoff and biases apply unchanged.
  • Language. The base model is multilingual, but the pipeline prompts and all validation were done in English.
  • Repetition. Sections written in separate calls sometimes restate the same point. Human editing is expected.
  • Not a general chat model. It is tuned here for structured slot-filling, not for open-ended conversation.
  • Quantization degrades quality slightly versus the full-precision base model. 4-bit is the point where quality and speed balance best on this class of hardware.

Training data

No training or fine-tuning was performed. This repository contains quantized conversions of:

and a converted speculative draft:

  • AngelSlim/Qwen3-1.7B_eagle3 (Apache-2.0, Tencent AngelSlim) — converted to GGUF with convert_hf_to_gguf.py --target-model-dir Qwen/Qwen3-1.7B. It is a draft model: it proposes tokens that the 1.7B model verifies, and it never changes the output, only the speed. It cannot be used on its own.

Refer to the base model cards for training data, evaluation results and limitations.

Why these models: both are Apache-2.0, so they can be redistributed with a commercial product without additional conditions. Llama, Gemma and several other otherwise-capable small models are deliberately not bundled, because their licences carry redistribution terms that are unsuitable for shipping to end users.

License and attribution

Apache-2.0, inherited from the base models. Copyright in the base weights belongs to the Qwen team; these are derivative quantizations redistributed under the same licence.

Related

Identity and Version

Repository
hkblockchaintechnology/tiny-agent-gguf
Publisher
Blockchain
Task
Text generation
Modality
Text
Library
llama.cpp
Parameters
Not stated by the source
Languages
en
Revision
b81ad361dd31c2eceff5a6a7b27f492d37842b37
First published
2026-10-17
Last updated
2026-10-19

Files and Weights

5 files, 2.0 GB in total. The weights are 3 files totalling 2.0 GB in gguf.

Weights3 files · 2.0 GB
Documentation1 file · 15.0 KB
Repository1 file · 1.7 KB
Every file
FileTypeSizeSHA-256
qwen3-0.6b-Q4_K_M.ggufWeights484.2 MB e4c97785c11e
qwen3-1.7b-Q4_K_M.ggufWeights1.3 GB 245362960ec0
qwen3-1.7b-eagle3.ggufWeights279.9 MB 7fd1b0338f77
README.mdDocumentation15.0 KB —
.gitattributesRepository1.7 KB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
2.0 GB
Download from Blockchain

Released by Blockchain through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published2.0 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About tiny-agent-gguf

Can I use tiny-agent-gguf commercially?

Yes. tiny-agent-gguf is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

Similar Models

Model · Text generation

opt-125m

AI at Meta

OPT was first introduced in Open Pre-trained Transformer Language Models and first released in metaseq's repository on May 3rd 2022 by Meta AI. Disclaimer: The team releasing OPT wrote an official model card, which is available in Appendix D of the paper. Content from this model card has been written by the Hugging Face team. To quote the first two paragraphs of the official paper OPT was predominantly pretrained with English text, but a small amount of non-English data is still present within the training corpus via CommonCrawl. The model was pretrained using a causal language modeling (CLM) objective. OPT belongs to the same family of decoder-only models like GPT-3. As such, it was…

Open weights other 2,048 tokens transformers

Model · Text generation

Ornith-1.5-9B-GGUF

Ornith

Chirp Chirp! We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement. Ornith-1.5 extends Ornith-1.0 (which was developed on top of Qwen3.5 and Gemma4 with additional continued pretraining, mid-training, and post-training) by expanding the self-improvement loop from scaffold and rollout optimization to jointly optimizing task generation, scaffold construction, and solution rollouts. Rather than relying on a fixed set of human-curated tasks and manually designed harnesses, Ornith-1.5 continuously generates new training tasks, discovers effective strategies for solving them, and improves the policy through reinforcement learning. For…

Open weights mit transformers

Model · Text generation

Ornith-1.5-35B-A3B-GGUF

Ornith

Chirp Chirp! We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement. Ornith-1.5 extends Ornith-1.0 (which was developed on top of Qwen3.5 and Gemma4 with additional continued pretraining, mid-training, and post-training) by expanding the self-improvement loop from scaffold and rollout optimization to jointly optimizing task generation, scaffold construction, and solution rollouts. Rather than relying on a fixed set of human-curated tasks and manually designed harnesses, Ornith-1.5 continuously generates new training tasks, discovers effective strategies for solving them, and improves the policy through reinforcement learning. For…

Open weights mit transformers

Model · Text generation

Ternary-Bonsai-2-27B-gguf

Prism ML

Full 27B-class reasoning in ternary transformer weights, for llama.cpp (CUDA, Metal, CPU) - \~5.9 GB language model (down from \~54 GB FP16) — full 27B-class reasoning on a standard laptop or a single GPU - 98.2% of FP16 intelligence retained: 84.78 average across 14 thinking-mode benchmarks — far above the conventional IQ2XXS build (72.59) at about 82% of its footprint, and within 0.4 points of UD-Q4KXL at three times the footprint - Retains thinking, reasoning, and agentic behavior deep in the sub-4-bit regime, where conventional low-bit representations collapse: math within half a point of full precision (96.57), coding level with the baseline (89.42), agentic tool calling at 74.92…

Open weights apache-2.0 llama.cpp

Uncensored Qwen3.8-27B, published as GGUF quantizations with the multi token prediction (MTP) head retained and verified. Refusal behaviour has been substantially reduced, not eliminated. See Measured behaviour for the numbers. Capabilities, training data, and architecture are otherwise unchanged. - Refusal directions removed with Heretic, which co minimizes refusal count against KL divergence from the base model. No handwritten refusal removal code, no finetuning, no additional training data. - Abliteration runs at bf16 (no 4 bit quantization). the resulting LoRA is merged into the bf16 base, so the published weights are not a quantized round trip. - mtp. tensors are copied verbatim from…

Open weights apache-2.0 llama.cpp

Model · Text generation

Ornith-1.0-9B-GGUF

Ornith

Aloha! Today, we are releasing Ornith-1.0, a self-improving family of open-source models for agentic coding. This model card documents Ornith-1.0-9B, the most lightweight member of the Ornith family, designed for efficient single-GPU deployment. Ornith-1.0-9B is a dense ~9B model (≈19 GB in bf16), so it serves comfortably on a single 80GB GPU. The recipes below stand up an OpenAI-compatible server; add --tensor-parallel-size / --tp if you want to shard across more GPUs. For a quick local test (or to script offline generation), load the model directly with Transformers. Make sure you have a recent release installed — see the Transformers installation guide; Ornith-1.0-9B requires…

Open weights mit transformers