
This companion guide follows the video Bonsai 2.5: 6GB Local AI Coding Agent That Fixed Real Bugs, a 432-second walkthrough uploaded 2026-11-27 that skips the easy installer and runs the 27B coding agent the manual way with the llama.cpp CLI, the 5.99GB PTQ1_0 file, and the Prism fork runner, then makes it fix real bugs.
This video is a genuine sequel to the easy 3-command install companion, which covers the official Bonsai-demo setup.sh path that pulls the PQ2_0-mtp build at about 7GB. If you want the simple path, start there. Everything below is the harder manual CLI path from this video, kept in video order, with video claims attributed to the video and added research labeled where it appears. YouTube auto-subtitles failed for this video with a 429 error, so the official video description is used here as the transcript-equivalent source for the video's claims. I did not re-run any of these steps while writing this guide, so treat every step below as untested on your machine until you verify it yourself.
curl, about 8GB of free disk, and RAM to spare: the file is 5.99GB on disk but the loaded model peaks near 7.3GB of RSS in the video, so budget above the file sizeapt-get line, which needs root exactly like any standard Ubuntu install; everything else runs unprivileged in your home directoryThese steps follow the video order and are untested here, with all results attributed to the video. First map the box, then fetch the stock runner, then replace it with the fork that actually loads this file.
lsb_release -anprocfree -gdf -h .ls ~/modelscurl -sL -o ~/llamacpp/lb.tar.gz https://github.com/ggml-org/llama.cpp/releases/download/b12720/llama-b12720-bin-ubuntu-x64.tar.gztar xzf ~/llamacpp/lb.tar.gz -C ~/llamacpp./llama-cli --versionsudo apt-get install -y libgomp1The stock b12720 runner rejected the model file in the video with an invalid ggml type 143 error at exit 1, and the video reports the same rejection from b12721 and from llama.app b12652, so none of the stock runners in the video loaded this file. The working runner is the Prism fork runner tarball, which passed its version check where stock failed. Extract it into ~/llamacpp the same way and re-run the version check before touching the model.
Untested here, video order, video-attributed. The video downloads the PTQ1_0 quant file from the Ternary Bonsai 2.5 27B GGUF repo with retries and treats the byte count as a hard stop gate.
curl -L --retry 3 -o ~/models/Ternary-Bonsai-2.5-27B-PTQ1_0.gguf https://huggingface.co/prism-ml/Ternary-Bonsai-2.5-27B-GGUF/resolve/main/Ternary-Bonsai-2.5-27B-PTQ1_0.ggufls -l ~/models/.gguf && sha256sum ~/models/.gguf, where the size must read exactly 5993834848 bytes, and anything else means the download is short, so stop and re-fetch rather than running a truncated fileThe model repo is ungated, so no account or token is needed for the fetch itself. The 5.99GB figure is the file on disk, not the loaded footprint, and the loaded number comes later in this guide.

Untested here, and all runs and numbers in this section are the video's own, attributed to the video. The smoke test is a fizzbuzz prompt with pinned sampling, and the video reports exit 0 at about 1.9 prompt and 1.5 generation tokens per second on its CPU floor, which is a single local run and not a benchmark.
./llama-cli -m ~/models/Ternary-Bonsai-2.5-27B-PTQ1_0.gguf --prompt "Write fizzbuzz in Python" -n 2000 --min-p 0 --temp 1.0 --top-p 0.95 --top-k 20 -c 4096Then the real workflow starts. The video feeds the model a buggy_sum.py carrying a range(n) bug, and the fixed program passes all 3 asserts at exit 0, which is the video's proof the agent did actual debugging rather than reciting. The pytest story is told as a before-and-after pair: 3 passed and 1 failed at exit 1 naming test_mul before the fix, and 4 passed at exit 0 after the model names the buggy line and its patch is applied. The long-context check is a 3374-word summary of heapq.py naming all 15 functions at exit 0.

The same bench is then rerun on a Tesla T10 GPU in the video, reporting 550.5 prompt and 44.6 generation tokens per second against the 1.9 and 1.5 CPU floor, and those numbers are the video's on its hardware, not mine and not a benchmark you should expect to match.
Untested here, and this section mixes one video measurement with added research labeled as such. The video's footprint honesty is explicit: the file is 5.99GB on disk but the loaded process peaks near 7.3GB of RSS from the KV cache and runtime, so budget RAM above the file size. Any density math in the video, such as bits per weight from the file size, is the video's arithmetic and not a benchmark of quality.

Added research, not video footage: the weights live in the Ternary Bonsai 2.5 27B GGUF repo and the easy installer lives in the Bonsai-demo repo, with the release story told in the Introducing Ternary Bonsai 2.5 27B post and day-one discussion in the Hacker News thread. The vendor-reported figures of 75.6 on SWE-bench Verified and 90.5 on AppWorld are vendor claims from those pages, aired with that label and never as tested fact. The video also walks through the MLX repo page and the vendor blog speed and demo sections as a docs tour only, which was not run and stays untested. The verdict in the video is data-driven on the video's own numbers: the CPU-first runs prove the agent works locally, and the GPU rerun shows how much headroom a card adds, and none of that verdict data is mine.