prompt-compression topic

List prompt-compression repositories

or-cli

22
Stars
4
Forks
22
Watchers

Python command-line tool for interacting with AI models through the OpenRouter API/Cloudflare AI Gateway, or local self-hosted Ollama. Optionally support Microsoft LLMLingua prompt token compression

meta-kb

21
Stars
1
Forks
21
Watchers

A self-improving knowledge base about LLM agent infrastructure

claw-compactor

2.2k
Stars
209
Forks
2.2k
Watchers

14-stage Fusion Pipeline for LLM token compression — reversible compression, AST-aware code analysis, intelligent content routing. Zero LLM inference cost. MIT licensed.

clipforge-PAKT

20
Stars
4
Forks
20
Watchers

Lossless-first prompt compression for JSON, YAML, CSV, and Markdown. Library, CLI, MCP server, desktop app, and browser extension.

claude-rolling-context

20
Stars
3
Forks
20
Watchers

Rolling context compression for Claude Code — never hit the context wall. Auto-compresses old messages while keeping recent context verbatim. Zero config, zero latency. Works as a Claude Code plugin.

leanctx

309
Stars
2
Forks
309
Watchers

Drop-in prompt compression for production LLM apps. Cut your token bill 40-60% without changing your code. Python SDK, LLMLingua-2, MIT.

llmlingua-2-js

27
Stars
5
Forks
27
Watchers

JavaScript/TypeScript implementation of LLMLingua-2 (Experimental)

latent-gate

24
Stars
1
Forks
24
Watchers

VL-JEPA inspired pipeline — compress images/text locally via Ollama, send compact payloads to any LLM API. Cut token costs by ~80%.