Full Prompt Packing pipeline
Deterministic Prompt Packing for every request — selects, reduces, and structures context into a Pak before it hits the wire. The OSS package is the full pipeline, not a limited demo.
Open source · beta
The proxy, Prompt Packing engine, client integrations, local dashboard, Savings Ledger, and Spend Guard are Apache 2.0 licensed and run entirely on your machine. This is the beta surface — features that ship today, no marketing of anything that doesn't.
pip install tokenpak
tokenpak setup
One command to install, one to set up. The setup wizard detects API keys,
picks a compression profile, and starts the proxy on
127.0.0.1:8766.
Deterministic Prompt Packing for every request — selects, reduces, and structures context into a Pak before it hits the wire. The OSS package is the full pipeline, not a limited demo.
Runs at 127.0.0.1. Byte-preserved passthrough; your prompts and credentials stay in your environment and the provider flow you already use.
Claude Code, Cursor, Cline, Continue, Aider, OpenAI SDK, Anthropic SDK, LiteLLM, Codex.
Local telemetry store, A/B replay, 50 built-in compression profiles, semantic vault indexing, and a pre-send circuit breaker (Spend Guard) that blocks runaway requests before they reach the provider.
Beta-honest inventory of every OSS feature in the current release.
| Feature | OSS beta |
|---|---|
| Prompt Packing (full pipeline) | Shipped |
| Local proxy at 127.0.0.1 | Shipped |
| Client integrations (Claude Code, Cursor, Aider, Cline, Continue, Codex, OpenAI SDK, Anthropic SDK, LiteLLM) | Shipped |
| Model routing with fallback rules | Shipped |
| Savings Ledger + local telemetry | Shipped |
| Vault indexing + semantic search | Shipped |
| Local dashboard (TUI + web) | Shipped |
| A/B testing + request replay | Shipped |
| 50 built-in compression profiles | Shipped |
| Spend Guard — pre-send circuit breaker, rolling caps | Shipped |
| TIP-1.0 protocol contracts + conformance gate | Shipped |
| Pak recall data plane (storage, FTS, inspect) | Shipped |
| PAKPlan preview / explain / report (read-only) | Shipped |
tokenpak runs entirely on your machine. Nothing to sign up for.