AI cost optimization with evidence protection
Entroly reduces avoidable AI token usage without losing important evidence.
Entroly is a model-neutral Context Assurance layer. It selects useful information under a budget, removes avoidable repetition, preserves exact originals, and records what the model received.
Why AI input becomes expensive
AI agents and long-running applications frequently resend large chat histories, repeated files, logs, tool output, and material unrelated to the current decision. That can increase token usage, request latency, and the chance that important evidence is buried.
Repeated context
The same instructions, files, and history may be sent again on every request.
Low-value context
Large dumps can contain duplicate, stale, or irrelevant information.
Hidden quality risk
Blind trimming can remove the exact evidence the model needs.
How Entroly approaches cost reduction
Available context
↓
Select useful evidence under a budget
↓
Compress supporting material when appropriate
↓
Keep omitted originals recoverable by exact hash
↓
Create a receipt of included, omitted, and risky evidence
↓
Send through your existing model or agent route
Entroly does not replace Claude Code, Codex, OpenClaw, Hermes Agent, OpenCode, an OpenAI-compatible application, or a local model. It adds a Context Assurance boundary around the context those systems use.
What is measured—and what is not
| Usage path | What Entroly can say |
|---|---|
| Provider-bound proxy request | Observed pre/post input-token counts and modeled input-cost avoidance with pricing provenance. This is not a provider invoice. |
| SDK, MCP, plugin, or npm operation | Local context reduction. Entroly claims $0 provider savings when provider delivery is not observable. |
| Fixed ChatGPT or Claude subscription | The subscription price may not change. Context efficiency may still help supported long-session or usage-limit workflows. |
| Tiny prompt or already-small context | Entroly should pass through rather than invent a savings claim. |
Quick start
pip install -U entroly entroly verify-claims entroly simulate entroly value
verify-claims is a local smoke test. simulate estimates context reduction without a model call. value separates provider-observed usage from local-only reductions.
Where Entroly fits
Entroly supports proxy, wrapper, plugin, MCP, CLI, SDK, and local-model paths. It integrates with Claude Code, Codex, OpenClaw, Hermes Agent, OpenCode, GitHub Copilot, Cursor, Aider, Ollama, LM Studio, and compatible custom applications through the appropriate setup path.
See the integration guide or start from the README.
Why this is more than prompt compression
- Budgeted selection: choose evidence before compressing it.
- Exact recovery: retrieve a stored original through a strict
ccr:<24-hex>content handle. - Context Receipts: record included, omitted, and risky evidence.
- Verification: evaluate whether generated claims are supported by supplied evidence.
- Model neutrality: keep the same context layer when models or runtimes change.
Can nontechnical users use Entroly?
Today's product requires a small one-time setup and is easiest for supported developer tools, agents, local models, and API-compatible applications. A future desktop experience called Entroly Simple Mode is specified but not shipped yet.