PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Context Compaction Python Packages

Python packages with the GitHub topic context-compaction. Sorted by monthly downloads, with stars and forks.
anchor-inference
protocore

Protocore — the agent loop, and nothing else. A protocol-first ReAct runtime for LLM agents in Python 3.12+: context budget, tool surface, compaction, snapshot and resume. No database driver, no HTTP endpoint — everything outward is a Protocol you implement. MPL-2.0.

7K 0 0
Gjusev
laya-compactor

Cut 70% of RAG context tokens with zero answer-quality loss, measured: one local forward pass scores every retrieved chunk and the budget decides

398 1 0
Yuchen20
contextcrumb

Save Token Usage on Unstructured Document 😎. Let agent read docs, memories, prompts with in ultra-compressed mode through a tiny local model.

138 1 0
Booyaka101
grok-loop-kit

Automatic Grok 4.5 context compaction for xAI Responses API agent loops. Node, Python, and a LangChain/LangGraph adapter.

96 0 0
Nexus-Organization-Infosec
qontext-memory

Qontext — a quipu-inspired conversational memory

72 2 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology