Paritok is a non-destructive compression gateway that drops into your existing coding agent setup, compressing tools, files, and history on the fly to extend session lengths and reduce costs. It works with Claude Code, Cursor, Codex, OpenHands, and any OpenAI-compatible upstream, requiring only a single environment variable to integrate. The gateway filters and compresses tool schemas, file reads, and stale history, while preserving exact bytes for on-demand retrieval. Self-hostable under Apache-2.0, it includes a 4B compression model trained on real agent trajectories, achieving up to 85% token reduction in context-saturated sessions.
