kiki-compressor
Context compression proxy
An OpenAI-compatible proxy that compresses context before it reaches your inference server. Point your SDK at it and input tokens fall by roughly half. Responses stream back untouched.
- Cross-encoder reranks every sentence against the live query
- Extractive — kept text is verbatim, never paraphrased
- Never breaks a request: final turn and tool calls are protected
- Stateful mode stores the full history so clients send only new turns
# point it at your inference server UPSTREAM_BASE_URL=http://localhost:8000/v1 \ kiki-compressor-proxy