# ctrlb-decompose - Strip noise from logs for LLM-ready insights

Original title: Show HN: Ctrlb-decompose: Strip the noise from logs before sending to LLMs

> Hacker News story 49083336 · language: en · submitted 2026-07-28
> Web version: https://zeli.app/story/49083336
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 49 · by [ruhani_grover](<https://news.ycombinator.com/user?id=ruhani_grover>) · 💬 6
[original](<https://github.com/ctrlb-hq/ctrlb-decompose>) · [HN discussion](<https://news.ycombinator.com/item?id=49083336>)

## Summary

ctrlb-decompose transforms millions of noisy log lines into a handful of actionable, structured patterns optimized for Large Language Models. By utilizing a two-stage pipeline featuring CLP encoding and Drain3 clustering, this Rust-based tool compresses raw logs while preserving critical statistics, anomalies, and variable correlations. Whether run as a CLI, a WASM module in the browser, or a library, it delivers token-efficient markdown or JSON output, enabling developers to feed clean, high-signal data directly into AI agents for rapid debugging and analysis.

## Key quote

> Turn millions of noisy log lines into a handful of actionable patterns — with typed variables, quantile stats, anomaly flags, and severity scoring.

## HN discussion (6 comments)

### [hugopuybareau](<https://news.ycombinator.com/item?id=49085159>)

> Have you benchmarked it in real condition to test if it truly reduces costs ? I feel like many of those type of tools often end up making the llm more lost about the logs and make it more spend than just feeding the raw logs or letting it code to discover the content itself

### [pranav_rastogi](<https://news.ycombinator.com/item?id=49083774>)

> Finally, a tool that tackles this problem without forcing you to adopt an entire ecosystem. I appreciate how this leans into the Unix philosophy by just focusing on the decomposition step and doing it well. Really appreciate the modular architecture here.

### [firasd](<https://news.ycombinator.com/item?id=49084438>)

> Very interesting.
>
> A few days ago I made something to use in addition to head/tail: Venetianblinds.js shows equally spaced chunks of a file https://github.com/firasd/venetianblinds
>
> So I can kinda see these as being part of the same workflow like VBlinds for 'what does this file even look like' before calling the decompose

---

## Cite

- Page: https://zeli.app/story/49083336
- Date: 2026-07-28
- Source: github.com (https://github.com/ctrlb-hq/ctrlb-decompose)
- Hacker News: https://news.ycombinator.com/item?id=49083336

## Other languages

- zh: https://zeli.app/zh/story/49083336 · markdown: https://zeli.app/zh/story/49083336.md
