wiseprobe an hour ago
These "small window" methods are automatically activated when the context window is set at or below 64K. The methods can be used with context windows as small as 8192, but 32768 seems to be a sweet spot for smaller GPUs and models (e.g., A1000 with 6GB VRAM).
Code: https://github.com/amaiya/patchpal Docs: https://amaiya.github.io/patchpal/
The "small window" techniques are straightforward but surprisingly useful and would probably be easy to implement as Pi.dev extensions. For a closer reproduction of the paper's methods (including single-action compaction) packaged for Claude Code, see https://github.com/che-shr-cat/short-context-agent by Grigory Sapunov.