Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Token Budget Python Packages

Python packages with the GitHub topic token-budget. Sorted by monthly downloads, with stars and forks.
Cpleasance
token-runway

Token Runway — Live Token Runway & Rate-Limit Budget Guard MCP Server for Claude Code, Cursor & AI Agents.

4K 0 0
theagentplane
agent-tokenops

Run-aware token governance for multi-agent systems.

4K 84 23
Perseus-Computing-LLC
harpe

Deterministic context synthesis and token budgeting for cognitive AI agents.

2K 3 1
MalgTruevero
bocconcini

Small bites for small context windows. Zero-dependency Python LLM client for llama.cpp / KoboldCpp / Ollama: safe text/Python/JSON chunking, token budgets, measured cognitive window, tree retrieval on disk. Born on Android/Termux.

2K 0 0
amabito
veronica-core

Runtime containment kernel for LLM agents. Enforces budget, step, retry, and circuit-breaker limits before the model call.

2K 5 0
Taha-azizi
contextpress

Deterministic context compression for LLM chat, RAG, and agent pipelines

2K 2 1
Kayariyan28
ctxbudgeter

Model-agnostic context intelligence for AI agents. Agents manage their own context, ctxbudgeter governs it: context API (compact, pin, archive, recall, rollback), graduated autonomy, a portable context skill, per-model policy learning, CTXBench, an MCP server. Plus ContextOps: token budgets, PII/secret scanning, Context BOM, MRI. Local-first.

1K 3 0
adeyomilawal
membrane-aol

Prompt compiler for LLM apps: token budgets, U-shaped layout, prompt caching and ref-map citations. Apache-2.0.

892 1 0
LeeGyeongPil
pixelbudget

Offline image-token estimates, budget-fit resizing and readable slicing for vision LLM inputs. Pillow-only Python library and CLI with a sourced model table (Claude, GPT, Gemini).

828 0 0
chaybits
ectype-cli

Read, filter, redact and export the on-disk sessions of ten AI coding agents (Claude Code, Codex CLI, Gemini CLI, Antigravity, Copilot Chat, Cursor, Cline, Roo Code, Continue, Aider) and three chat apps (LM Studio, Open WebUI, SillyTavern), or copy one back into its agent and resume it. Command line and a local web UI.

474 5 0
monaccode
astromesh-context

Context engineering for AI agents: decide what goes into the model's window — knowledge, memory, history — within a token budget, with a trace and an eval that proves it. In design.

240 1 0
Anyesh
cognitive-cache

Task-aware context selection for LLMs

229 1 0
varbees
varbees-rateguard

Python middleware SDK for RateGuard

205 0 0
tier4research
hermes-context-tuner

Audit trail and token-budget planning for LLM context compression. See what your agent summarized away and where to find it.

192 0 0
Waelr1985
contextcram

llm · rag · context-window · tokens · prompt-engineering · token-budget · agents · python

142 1 0
aenealabs
contexttrim

Pluggable context window management strategies for LLM agents. Zero dependencies.

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