🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

entroly

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

entroly

Drop-in Context Assurance for AI agents: reduce avoidable token usage and AI cost with evidence selection, receipts, exact recovery, and verification.

Source
pipPyPI
Version
1.0.75
Weekly downloads
965
52.45%
Maintainers
1
Weekly downloads
 

Entroly

Entroly — Context Assurance That Helps Lower AI Costs

Use less unnecessary AI context without rebuilding how you work.
Entroly selects useful evidence, removes avoidable repetition, keeps important originals recoverable, and records what your AI received.

Entroly is a local-first Context Assurance layer for developers, teams, and AI applications. It works through supported proxy, wrapper, plugin, SDK, and MCP paths with Claude Code, Codex, OpenClaw, Hermes Agent, OpenCode, GitHub Copilot, Cursor, Aider, local models, and OpenAI/Anthropic-compatible applications.

A small one-time setup is required; no agent-architecture rewrite.

What Entroly does

AI applications often send repeated files, long histories, logs, and low-value material to a model. Entroly can:

  • select useful evidence under an explicit budget;
  • remove duplicate or low-value context;
  • preserve omitted originals through content-addressed recovery handles;
  • create Context Receipts showing what was included, omitted, and risky;
  • verify whether output claims are supported by supplied evidence;
  • report provider-observed usage separately from local-only reductions;
  • work across cloud and local models without locking you to one agent runtime.

Savings and quality depend on the workload, provider, model, budget, and integration. Entroly does not promise a universal compression percentage or guaranteed bill reduction.

Install

pip install -U entroly

Check the local path before connecting a paid model:

entroly verify-claims
entroly simulate
entroly value
  • verify-claims checks installation, receipts, recovery, and verification.
  • simulate estimates context reduction locally without making a model call.
  • value separates observed provider-bound usage from local-only reductions.

Connect a supported AI tool

Automatic project setup:

cd /your/repo
entroly go

Examples:

# Claude Code
entroly attach create --client claude --project . --ttl 4h --install

# Codex
entroly attach create --client codex --project . --ttl 4h --install

# OpenClaw
entroly attach create --client openclaw --project . --ttl 4h --install

# Pay-as-you-go API or custom application
entroly proxy

For an MCP client, register the installed entroly command with no arguments:

entroly

Package-runner alternatives:

uvx --from entroly entroly
npx -y entroly-mcp

Claude Code MCP registration:

claude mcp add entroly -- uvx --from entroly entroly

Generic MCP configuration:

{
  "mcpServers": {
    "entroly": {
      "command": "uvx",
      "args": ["--from", "entroly", "entroly"]
    }
  }
}

How it works

Files, documents, history, and tool output
                  ↓
       Entroly Context Assurance
       • rank useful evidence
       • select under budget
       • preserve exact originals
       • create a receipt
       • optionally verify output
                  ↓
        Your existing AI model

Local indexing, selection, receipts, and recovery storage do not require an Entroly cloud service. The selected prompt still goes to the provider configured by your application. No outbound analytics are enabled by default.

Honest cost reporting

Entroly keeps different evidence classes separate:

PathWhat can be reported
Provider-bound proxy requestObserved pre/post input tokens and modeled input-cost avoidance with pricing provenance
SDK, MCP, plugin, or npm operationLocal context reduction; $0 claimed when provider delivery is not observable
Fixed-price subscriptionContext efficiency where supported; the subscription price may not change
Unknown or legacy historyPreserved operational history; excluded from savings claims

Modeled provider cost avoidance is not a provider invoice.

Technical capabilities

  • budgeted evidence selection;
  • recoverable compression;
  • Context Receipts and Context Commits;
  • strict ccr:<24-hex> exact-recovery handles;
  • hash-only full-content retrieval with no semantic-query fallback;
  • WITNESS evidence-support verification;
  • pure-Python runtime with optional Rust acceleration;
  • separate Node/WASM runtime;
  • MCP, proxy, CLI, SDK, CI, OpenClaw, Hermes Agent, and OpenCode integrations;
  • local-first operation and fail-open adapter behavior.

WITNESS evaluates support against supplied evidence; it does not establish universal truth.

Everyday users

A future desktop experience, Entroly Simple Mode, is specified for people who do not want to learn about tokens, proxies, MCP, JSON, or agent architecture. It is not shipped yet, and Entroly does not claim a one-click consumer experience today.

mcp-name: io.github.juyterman1000/entroly

Apache-2.0 licensed.

Keywords

agent-memory

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts