PyPI Stats
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About
Home

Context Window Python Packages

Python packages with the GitHub topic context-window. Sorted by relevance, with stars and monthly downloads.
chopratejas
headroom-ai

The Context Optimization Layer for LLM Applications

106K 2K 145
tokenpak
tokenpak

Slash LLM costs with intelligent context compression, smart routing, and cost tracking

12K 0 1
ultracontext
ultracontext

Open Source Context infrastructure for AI agents. Auto-capture and share your agents' context everywhere.

9K 197 17
Topos-Labs
infiniloom

High-performance repository context generator for LLMs - Transform codebases into optimized formats for Claude, GPT-4/5, Gemini, and other LLMs

5K 40 5
mkorpela
kopipasta

`cat project | LLM | patch`. Transparent context control and interactive patching for terminal-centric LLM workflows.

4K 16 1
dfrostar
neuralmind

Adaptive Neural Knowledge System + PostToolUse compression hooks. Two-phase token optimization (retrieval + consumption) for Claude Code.

4K 7 0
immartian
bellamem

Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact.

3K 18 3
nikolay-e
treemapper

Export codebase structure and contents for AI/LLM context

2K 1 1
thomaschill
unclog

Audit your Claude Code installation and clear context-window bloat. Local-only.

2K 26 1
z3knayr0
tailspin-ai

Token optimization and compression for Claude API requests

2K 1K 123
viditraj
llmfs

Filesystem-based persistent memory for LLMs and AI agents -- unlimited context windows without lossy summarization

2K 6 0
osamarehman
claude-mem

Zero-dependency session recall for Claude Code — instant memory across compactions, ~50 tokens per prompt

1K 0 0
zidanmubarak
memory-vault

Persistent, context-aware memory system for AI assistants

1K 1 0
Assem-ElQersh
ghdigest

Fetch any GitHub repository into a single LLM-ready digest — metadata, directory tree, file contents, and built-in AI analysis.

1K 0 0
lucifer-ux
contextcore

Unified local search and indexing for Claude and other AI tools

572 17 4
kristopolous
mansnip-kristopolous

Inject relevant documentation into your prompts: 98% savings.

513 95 8
Leonwenhao
deeprepo-cli

AI project memory for coding tools. Eliminates the cold start tax in every AI session.

491 11 1
lguibr
codeconcat

Prepare your code for AI. Concatenates your project into a clean, markdown-formatted file with file trees and granular filtering options.

485 5 0
Rishi-Bethi-007
reguliq-diagnostics

Diagnoses context degradation in LLM agents — beginning-anchored retrieval, cliff detection, tool burial, and more

406 0 0
Anyesh
cognitive-cache

Optimal context window selection for LLM coding tools. Treats context as a constrained optimization problem, not retrieval. Beats RAG, grep, and LLM-triage baselines on real GitHub issues.

389 2 0
srinathsankara
agent-recall-ai

Your AI agent never starts over again. Framework-agnostic session checkpointing - survive context limits, cost overruns, and session death.

385 2 0
kristopolous
mansnip

Inject relevant documentation into your prompts: 98% savings.

369 95 8
Samarthuday
voice-budget

The only voice agent context manager with a TTFT feedback loop

362 2 0
tokenpak
tokenpak-paid-stub

Drop-in HTTP proxy that compresses LLM context, optimizes cache hits, routes smart, and tracks every dollar. Zero SDK changes required.

360 0 1
    • Data from PyPI, GitHub, ClickHouse, and BigQuery