Token Police

tokenpolice/token-police-python

SDK (Python, Node) that prices each LLM call before it is made and blocks or reroutes it on per-user, per-session or per-workflow budget rules; prompt text never leaves the app

Python Apache-2.0

View on GitHub → Find it in the atlas

Install

pip install token-police

Repository reader

Explore before you clone

Read the project’s README, skills and supporting Markdown here. Rendered view is shown first; source is one click away when you need the exact text.

Fetched from GitHub
Open on GitHub
Loading the project’s README…

Public files are loaded on demand from the repository. The atlas does not copy or modify them.

Screenshot

Screenshot or social card for Token Police
GitHub's social card — no screenshot was found for this project, fetched from source rather than copied into this repository.

Platform support

Derived from the project's own README, install route, CI configuration and release assets — not from running it.
PlatformRuns hereOn what evidence
WindowsLikelyInferred from the language or runtime. Nothing in the project says so.
WSL2LikelyInferred from the language or runtime. Nothing in the project says so.
macOSLikelyInferred from the language or runtime. Nothing in the project says so.
LinuxLikelyInferred from the language or runtime. Nothing in the project says so.
DockerNoNo evidence of support anywhere in the project.

Where it came from

Named by 1 of the 39 lists the atlas merges.

  • LLMOps (tensorchord)

How it is classified

One topic, 2 harnesses. Each link is a prerendered page of everything else in that slice.

Related in Observability & Evals

Closest first — projects that plug into the same harnesses, then the ones the most lists agreed on.

  • AgentOpsAgentOps-AI/agentopsOpen-source agent engineering platform (YC W24) with session replay, cost tracking, and failure detection across 10+ frameworks including CrewAI…
  • EvalViewhidai25/eval-viewRegression testing for AI agents. Snapshot behavior, detect tool-call and output regressions, with golden-baseline diffing and LLM-as-judge scoring…
  • budget-guardkimbeomgyu/budget-guardZero-infra hard spending caps for LLM APIs — blocks before overspending (atomic reservation), per-feature cost attribution, streaming usage…
  • CogniCorecognicore-dev/cognicore-envStructured experience memory and learning infrastructure for AI agents, providing verified experience reuse, failure learning, environment-aware…
  • runtapeRehanMohammed985/runtapeFinds which part of an agent's context caused a bad decision by rerunning it with pieces removed, checks candidate fixes the same way, and writes a…
  • Langfuselangfuse/langfuseThe most widely adopted self-hostable LLM observability platform: traces every agent step, manages prompt versions, and runs evals in one tool…
  • ClawMetryvivekchand/clawmetrySelf-hosted, local-first observability and kill switch for coding agents, reading Gemini CLI sessions alongside Claude Code, Codex, Cursor…
  • promptfoopromptfoo/promptfooYAML-driven LLM testing framework with LLM-as-judge, assertion DSL, and native CI integration. The most practical tool for adding agent output…