Library · published 2026-02-10 · added 2026-08-28 · github.com

Claw Compactor

What it is

Claw Compactor is a Python library for LLM token compression that uses a 14-stage fusion pipeline to reduce context size without LLM inference costs. It employs specialized stages for AST-aware code analysis, JSON sampling, and semantic deduplication to achieve reversible compression.

The problem it solves

High cost and latency associated with sending large, unoptimized context windows to LLMs, particularly for code and structured data where standard compression methods fail.

What you could use it for

llmtoken-compressionoptimizationpythoncontext-window

Read the source ↗Back to the library →

Summary written by an AI model from the source; check the source before you rely on it.