# Bonsai

Bonsai is a visual programming language and reactive-programming system for assembling, compiling, running, and visualizing interactive workflows, with extensibility for hardware, cameras, microcontrollers, and algorithms.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## PrismML Releases Ternary Bonsai 2 27B: A 5.9 GB Apache 2.0 Model Retaining 98.2% of Qwen3.8 27B Performance

DevFeed: [PrismML Releases Ternary Bonsai 2 27B: A 5.9 GB Apache 2.0 Model Retaining 98.2% of Qwen3.8 27B Performance](<https://devfeed.tech/articles/prismml-releases-ternary-bonsai-2-27b-a-5-9-gb-apache-2-0-model-retaining-98-2-of-qwen3-8-27b-performance-55224.md>)

Original publisher: [Read original article](<https://www.marktechpost.com/2026/09/18/prismml-releases-ternary-bonsai-2-27b-a-5-9-gb-apache-2-0-model-retaining-98-2-of-qwen3-8-27b-performance/>)

Author: Asif Razzaq

Published: 2026-09-18T18:06:36Z

Content type: news

Language: en

Sources: [MarkTechPost](<https://devfeed.tech/sources/marktechpost.md>)

Topics: [Bonsai](<https://devfeed.tech/topics/bonsai-rx.md>), [qwen](<https://devfeed.tech/topics/qwen.md>), [Language models](<https://devfeed.tech/topics/language-models.md>), [releases](<https://devfeed.tech/topics/releases.md>), [gpt-oss](<https://devfeed.tech/topics/gpt-oss.md>), [llama.cpp](<https://devfeed.tech/topics/llama-cpp.md>), [quantization](<https://devfeed.tech/topics/quantization.md>), [MLX](<https://devfeed.tech/topics/mlx.md>), [vllm](<https://devfeed.tech/topics/vllm.md>), [computer-use](<https://devfeed.tech/topics/computer-use.md>)

Tags: [ai-infrastructure](<https://devfeed.tech/tags/ai-infrastructure.md>), [ai-shorts](<https://devfeed.tech/tags/ai-shorts.md>), [apache](<https://devfeed.tech/tags/apache.md>), [applications](<https://devfeed.tech/tags/applications.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [bonsai-2-27b](<https://devfeed.tech/tags/bonsai-2-27b.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [computer-use](<https://devfeed.tech/tags/computer-use.md>), [editors-pick](<https://devfeed.tech/tags/editors-pick.md>), [enterprise-ai](<https://devfeed.tech/tags/enterprise-ai.md>), [for-devs](<https://devfeed.tech/tags/for-devs.md>), [language-model](<https://devfeed.tech/tags/language-model.md>), [large-language-model](<https://devfeed.tech/tags/large-language-model.md>), [llama-cpp](<https://devfeed.tech/tags/llama-cpp.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [mlx](<https://devfeed.tech/tags/mlx.md>), [new-releases](<https://devfeed.tech/tags/new-releases.md>), [quantization](<https://devfeed.tech/tags/quantization.md>), [qwen3](<https://devfeed.tech/tags/qwen3.md>), [releases](<https://devfeed.tech/tags/releases.md>), [staff](<https://devfeed.tech/tags/staff.md>), [tech-news](<https://devfeed.tech/tags/tech-news.md>), [technology](<https://devfeed.tech/tags/technology.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>)

### AI overview

PrismML has released Ternary Bonsai 2 27B, a ternary-weight version of Qwen3.8 27B. The 5.93 GB model supports text and images, a 262K-token context, and deployment on a 16 GB laptop or a single 24 GB GPU using PrismML's llama.cpp fork or MLX runtime. PrismML reports 98.2% of the parent model's average across 20 benchmarks.

### Source excerpt

PrismML has released Ternary Bonsai 2 27B, a ternary-weight version of Qwen3.8 27B. The language model occupies 5.93 GB, against 53.80 GB in FP16. PrismML reports that it keeps 98.2% of the parent model's average across 20 benchmarks. The model accepts text and images and supports a 262K-token context. PrismML demos it driving Cline coding [...] The post PrismML Releases Ternary Bonsai 2 27B: A 5.9 GB Apache 2.0 Model Retaining 98.2% of Qwen3.8 27B Performance appeared first on MarkTechPost.

## Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint

DevFeed: [Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint](<https://devfeed.tech/articles/bonsai-2-27b-near-lossless-compression-in-a-9x-smaller-footprint-60219.md>)

Original publisher: [Read original article](<https://simonwillison.net/2026/Sep/17/hn-49747390/>)

Author: Simon Willison

Published: 2026-09-17T22:13:05Z

Content type: opinion

Language: en

Sources: [Simon Willison's Weblog](<https://devfeed.tech/sources/simon-willison-s-weblog.md>)

Topics: [Bonsai](<https://devfeed.tech/topics/bonsai-rx.md>), [llama.cpp](<https://devfeed.tech/topics/llama-cpp.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Compression](<https://devfeed.tech/topics/compression.md>), [ggml](<https://devfeed.tech/topics/ggml.md>), [macOS](<https://devfeed.tech/topics/macos.md>), [API](<https://devfeed.tech/topics/api.md>), [Server](<https://devfeed.tech/topics/server.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [bonsai-2-27b](<https://devfeed.tech/tags/bonsai-2-27b.md>), [compression](<https://devfeed.tech/tags/compression.md>), [ggml](<https://devfeed.tech/tags/ggml.md>), [llama](<https://devfeed.tech/tags/llama.md>), [llama-cpp](<https://devfeed.tech/tags/llama-cpp.md>), [llama-cpp-30](<https://devfeed.tech/tags/llama-cpp-30.md>), [llm](<https://devfeed.tech/tags/llm.md>), [m5-pro](<https://devfeed.tech/tags/m5-pro.md>), [macos](<https://devfeed.tech/tags/macos.md>), [server](<https://devfeed.tech/tags/server.md>)

### AI overview

A technical comment explains how to run the Bonsai 2 27B GGUF model using Prism's llama.cpp fork and its llama-server web UI or API. The author reports observed local inference speeds on an M5 Pro and notes an unresolved startup warning.

### Source excerpt

My comment on Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint -- Hacker News. If you want to try out out the GGUFs from https://huggingface.co/prism-ml/Ternary-Bonsai-2-27B-gguf#th... be aware that you need Prism's llama.cpp fork to get them to work, from https://github.com/PrismML-Eng/llama.cpp/releases/tag/prism-... This should work: cd /tmp # Get the Prism macOS runtime curl -fL https://github.com/PrismML-Eng/llama.cpp/releases/download/prism-b10685-7dffb15/llama-prism-b10685-7dffb15-bin-macos-arm64.tar.gz -o bonsai-runtime.tar.gz tar -xzf bonsai-runtime.tar.gz # Get the ~5.95 GB GGUF model: curl -fL https://huggingface.co/prism-ml/Ternary-Bonsai-2-27B-gguf/resolve/main/Ternary-Bonsai-2-27B-PTQ1_0.gguf -o Ternary-Bonsai-2-27B-PTQ1_0.gguf # Run the server, I used port 8331 ./llama-prism-b10685-7dffb15/llama-server \ -m Ternary-Bonsai-2-27B-PTQ1_0.gguf \ --port 8331 -ngl 99 -fa on -c 32768 Then open http://localhost:8331 for the (very good) baked in llama-server web UI... or run a prompt via the API like this: uvx llm openai endpoint http://127.0.0.1:8331/v1 \ --model bonsai-2-27b --responses hi That's running at ~20 token/second for me on an M5 Pro (after a server restart I got 44 token/second, not sure why), but I'm pretty sure something isn't working right, on startup the server said "ggml_metal_device_init: - the tensor API is not supported in this environment - disabling". Tags: llama-cpp

## strace-ui, Bonsai\_term, and the TUI renaissance

DevFeed: [strace-ui, Bonsai\_term, and the TUI renaissance](<https://devfeed.tech/articles/strace-ui-bonsai-term-and-the-tui-renaissance-20213.md>)

Original publisher: [Read original article](<https://blog.janestreet.com/strace-ui-bonsai-term-and-the-tui-renaissance/>)

Author: James Somers

Published: 2026-05-26T00:00:00Z

Content type: article

Language: en

Sources: [Jane Street](<https://devfeed.tech/sources/jane-street.md>)

Topics: [Text-based user interface](<https://devfeed.tech/topics/tui.md>), [debugging](<https://devfeed.tech/topics/debugging.md>), [debug tools](<https://devfeed.tech/topics/debug-tools.md>), [Bonsai](<https://devfeed.tech/topics/bonsai-rx.md>)

Tags: [but](<https://devfeed.tech/tags/but.md>), [can](<https://devfeed.tech/tags/can.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [exploring](<https://devfeed.tech/tags/exploring.md>), [filter](<https://devfeed.tech/tags/filter.md>), [flag](<https://devfeed.tech/tags/flag.md>), [follow](<https://devfeed.tech/tags/follow.md>), [found](<https://devfeed.tech/tags/found.md>), [it](<https://devfeed.tech/tags/it.md>), [it-s](<https://devfeed.tech/tags/it-s.md>), [make](<https://devfeed.tech/tags/make.md>), [this](<https://devfeed.tech/tags/this.md>), [threads](<https://devfeed.tech/tags/threads.md>), [tool](<https://devfeed.tech/tags/tool.md>), [trace](<https://devfeed.tech/tags/trace.md>), [ui](<https://devfeed.tech/tags/ui.md>), [useful](<https://devfeed.tech/tags/useful.md>), [want](<https://devfeed.tech/tags/want.md>), [with](<https://devfeed.tech/tags/with.md>), [work](<https://devfeed.tech/tags/work.md>)

### AI overview

strace-ui makes strace traces easier to scan and explore interactively. It assigns short labels to processes and threads, formats structs, and displays buffers as hexdumps. Users can hide syscalls, jump between calls using the same file descriptor, filter by FD, PID, or excluded PID, and open a syscall's man page. It attempts to track FD reuse and follow descriptors across forks, but the excerpt says this works poorly when attached to a process that already has open FDs. DNS resolution can display hostnames alongside ports. The excerpt then introduces Bonsai, an OCaml framework for composing interactive UIs from purely functional state machines, as part of the context for strace-ui's development; it cuts off before explaining further.

### Source excerpt

We've always found strace useful but somewhat hard to work with. Its output is often inscrutable, it's hard to follow subprocesses or threads, and if you want to filter syscalls you have to rerun the trace with a flag for each one. What you want in debugging is a tool for exploring, refining, etc., but strace can make this difficult.