Agentโ™ฅ๏ธŽAge
Catalog

io.github.alibaizhanov/densely

Official

by alibaizhanov ยท Python

Lossless context compression: 2-8x fewer tokens, byte-exact recovery, search inside payloads

io.github.alibaizhanov/densely MCP Server

The MCP server provides lossless context compression for LLM inputs. It packs text into 2โ€“8x fewer tokens while guaranteeing byte-exact recovery, with reconstruction verified via sha256 on every decompress. The approach supports searching inside payloads and is intended for prompt-engineering workflows.

๐Ÿ› ๏ธ Key Features

  • Lossless context compression
  • 2โ€“8x fewer tokens for packed text
  • Guaranteed byte-exact reconstruction
  • sha256 verification on every decompress
  • Search within compressed payloads (as stated)

๐Ÿš€ Use Cases

  • Reducing token usage to fit within context-window limits
  • Preserving exact text recovery for downstream processing
  • Enabling payload inspection via search inside compressed content

โšก Developer Benefits

  • Byte-exact results verified by sha256 after decompression
  • Higher effective information density per o200k token
  • Payload search support for development and debugging

โš ๏ธ Limitations

  • The readme excerpt does not specify supported data formats, tool APIs, or any tool count (not provided).

Topics

ai-agentsclaudeclaude-codecompressioncontext-windowcursorllmlossless-compressionmcpprompt-engineering