← All entries
Code2025#595

n8loom

Summary

Python library (mlx_lm + Transformers) that stores per-node KV-cache fragments and concatenates the ancestor path when generating, so many ToT branches can share prefix cache without duplicating the full prompt cache at each node. Core types are Heddle (a reasoning node) and Loom (chat-root Heddle); ramify/crown helpers batch- or stream-expand children. Llama-architecture only. pip install n8loom; optional FastAPI example server. CC0.

Venue
N8python (GitHub)
Source
github
Access
free
License
CC0-1.0
License family
Permissive
Purpose
Library for tree-of-thought LLM inference via fragment KV-cache looms
Scale
80 stars; 3 forks at check. Python package n8loom 0.2.0. Example ramify n=8 then n=2 reflection on Llama-3.2-3B-Instruct-4bit.
Time period
GitHub created 2025-02-04; pushed 2025-02-11; updated 2026-05-20. Discord posted 2025-02-06.
Added
Aug 14, 2026
Verified
Aug 14, 2026
Research status
done
Found via
#random-papers

From the source

Repository
N8python/n8loom
Created
Feb 4, 2025
Last push
Feb 11, 2025
Stars
80
Forks
3
Main language
Python

Fetched Oct 3, 2026 from GitHub. These numbers change; the curated fields above do not come from here.

Tags

n8loomtree-of-thoughtkv-cachemlxllamaloomheddle

Topics

tree-of-thought inference, KV cache, LLM serving

Research notes

  • Primary: GitHub README + API (CC0-1.0, Python, 80 stars / 3 forks at check). Discord posted the repo (readme basic-script-example fragment). Inference library, not a new hosted corpus, so no datasets_local row.

Similar entries