Entrolyのロゴ

Entroly

コミュニティ
juyterman1000

Cut AI context cost without trusting the compressor. Every reduction is reversible, byte-exact recoverable, and carries an auditable receipt. Local-first, works through proxy, MCP, SDK, or agent wrapper.

公開者juyterman1000
リポジトリentroly
言語Python
フォーク
69
スター
465
利用可能なツール
81
通信方式stdio
カテゴリ
ライセンスApache-2.0
リンク
  • ツールをAIワークフローに接続

    Entrolyは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 81個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには465件のスターと69件のフォークがあります。

Accuracy Retention

Historical maintainer-reported experiment, not a quality guarantee. The table below reports one 50K-token-budget run. Overlapping confidence intervals do not establish equivalence or rule out degradation. These results have not been independently reproduced here.

Model: gpt-4o-mini · Budget: 50K tokens · Wilson 95% CI · Reproduce: python -m bench.accuracy --benchmark all

BenchmarknBaseline (95% CI)Entroly (95% CI)RetentionBenchmark Delta
NeedleInAHaystack20100.0% [83.9–100%]100.0% [83.9–100%]100.0%Baseline
GSM8K10085.0% [76.7–90.7%]86.0% [77.9–91.5%]101.2%+1.0%
SQuAD 2.010084.0% [75.6–89.9%]83.0% [74.5–89.1%]98.8%-1.0%
MMLU (4-way MCQ)10082.0% [73.3–88.3%]85.0% [76.7–90.7%]103.7%+3.0%
TruthfulQA (MC1)10072.0% [62.5–79.9%]73.0% [63.6–80.7%]101.4%+1.0%
LongBench (HotpotQA)10057.0% [47.2–66.3%]59.8% [49.8–69.0%]104.9%+2.8%

The reported SQuAD score fell from 84% to 83%. Retention ratios above 100% can reflect sampling or model variability. The displayed intervals are historical reported values, not a validated paired comparison; Wilson intervals require binary outcomes and do not justify uncertainty for averaged partial-credit scores. Establishing non-inferiority needs a predefined tolerance, paired per-task outcomes, appropriate uncertainty estimates, and adequate sample size. These results cannot be extrapolated to more aggressive compression or other models.

Context Selection Quality

19-fragment synthetic corpus · 300-token budget · 3 fixture queries · Reproduce: entroly benchmark

MetricRAW (Naive FIFO)TOP-K (local baseline)ENTROLY (Knapsack)
Avg fragments selected6.06.08.7
Avg module coverage3.03.78.7
Total SAST catches003

Entroly sees 8.7 modules where TOP-K sees 3.7 — it includes auth, payments, AND rate limiting. TOP-K misses the rate limiter. Full methodology, CIs, and reproduce commands →


Research

Entroly includes the following research-oriented implementations. A module's presence does not establish production reliability, mathematical novelty, or independent validation; consult its implementation and evaluation limitations.

AlgorithmWhat it doesImplementation
BIPTByte-level hallucination detection via Kolmogorov-inspired provenance tracingprovenance_tracer.py
NKBENash-KKT multi-agent token budget equilibriumnkbe.rs
Causal Context GraphIntervention-aware fragment feedback learningcausal.rs
Cognitive BusISA event routing with KL-divergence prioritycognitive_bus.rs
Resonance MatrixSupermodular pairwise fragment value learningresonance.rs
System 1 <> 2Dual-process verified-belief bridge (proxy <> vault)coupling.py

Read the full research documentation · Cite Entroly



Integration hub

Use Entroly at the SDK, framework, proxy, MCP, plugin or agent boundary. A listed name is not automatically a claim that hosted subscription inference is intercepted; provider-bound savings exist only when the request traverses an Entroly-controlled route.

Open the complete verified integration and operations hub →


What is Entroly? (in plain English)

AI coding assistants have a memory limit. Hand one your whole codebase and it gets slow, expensive, and distracted — like giving someone a 500-page manual when they only needed page 47.

Entroly finds page 47.

It sits between your code and the AI, reads everything, and passes along only the parts selected for the question. Three properties to evaluate on your task:

💰 Your bill goes downFewer words sent to the AI means a smaller invoice. How much depends on the job — see the real numbers below.
🔍 Recoverable originalsReceipt-backed recovery retains source material locally. Exact recovery requires the referenced store and source bytes to remain available; it does not guarantee answer quality.
🧾 You can check its workEvery decision comes with a receipt: what was kept, what was left out, and why.
Do I have to change my code? No. On hosts with a verified prompt hook,
Entroly runs before the model plans. MCP-only integrations remain callable
tools that an agent may skip; API traffic is intercepted only when it is routed
through the Entroly proxy. Check entroly activation status --json instead of
assuming an installed integration is active.

Do I need to pay for anything to try it? No. The two commands in the Install section below run on your own machine, with no API key, and show you real numbers on your own project before you connect anything paid. (Missing native-engine support is reported without downloading packages — see the note under Install.)


Install

Not sure which one? Pick Python. It's the complete version and what most people use. The others are alternate ways to run the same engine. | Platform | Install | What you get | |---|---|---| | 🐍 Python (pip) — recommended | pip install -U entroly | Everything: the command-line tool, the server your AI editor talks to, and the code library | | 📦 Node / npm | npm install -g entroly | The same engine, nothing Python required | | 🦀 Rust (source build) | cd entroly-core && cargo build --release --bin entroly-rs --features proxy | One self-contained program, no Python or Node needed | | 🍺 Homebrew | brew install juyterman1000/entroly/entroly | The command-line tool on macOS/Linux | | 🐳 Docker | docker pull ghcr.io/juyterman1000/entroly:latest | Runs in a container, nothing installed on your machine |

Prefer a package runner instead of a global install? These commands use the same published artifacts in an isolated tool cache:

bash
# Node / WASM runtime
npx -y entroly@latest --help
pnpm dlx entroly@latest --help
bunx entroly@latest --help

# Complete Python runtime
uvx --from entroly entroly --help
pipx run --spec entroly entroly --help

The Node commands provide the local WASM CLI. The Python commands provide the complete CLI, SDK, MCP, proxy, verification, and native-engine path described above. Entroly's release workflow smoke-tests all five runners against the exact version before a release is considered complete.

Now check that it worked — free, no API key:

bash
cd /your/repo
entroly verify-claims
entroly simulate

Both run locally. Neither one calls an AI or costs anything.

Runtime package repair is off by default. If the native engine is missing, query-conditioned selection is unavailable and reduction figures are labelled unearned. Install it explicitly with python -m pip install -U entroly-core, call entroly.repair() from Python, or set ENTROLY_ENABLE_SELF_HEAL=1 to permit startup repair. This downloads through the configured package index (normally PyPI). ENTROLY_NO_SELF_HEAL=1 and ENTROLY_AIR_GAP=1 override repair consent. See Privacy and recovery-data security.

Extras (entroly[proxy], entroly[native], entroly[full]), the standalone Rust binary, and uninstall steps: Engine & install options.

Contributing from source? Follow the reproducible development setup. Local installation and the normal test suite need no API key; .env.example documents only optional workspace, offline, provider, and proxy settings.


Quickstart — by how you work

Just want it working? pip install -U entroly && entroly go — that's the whole thing. It finds your editor, sets itself up, and shows you a before/after dashboard. The rest of this table is for specific setups. | Your situation | Do this | What it gets you | |---|---|---| | 🟢 "I just want it on." (pip / Python user) | pip install -U entroly && entroly go | Auto-detects your editor, wraps your agent, opens a dashboard showing tokens before and after | | "I use Node, not Python." (npm user) | npm install -g entroly && entroly init | Same engine, nothing Python required | | "I want one binary, no runtime." (Rust user) | cargo build --release --bin entroly-rs --features proxy (from entroly-core/) | A single native program with no dependencies | | "I use Claude Code, Codex, Gemini CLI, or VS Code agent plugins." (plugin user) | Install the Entroly plugin/extension for that host, submit one prompt, then run entroly activation status --json | A trusted prompt hook performs bounded local selection before planning; a receipt proves the hook ran | | "I use Cursor with third-party configs enabled." | entroly activation install --host cursor --project . | Merges a reversible Claude-compatible prompt hook; native Cursor MCP remains advisory | | "I use Kiro IDE 1.x or CLI 3.x." | entroly activation install --host kiro --project . | Installs a reversible project PromptSubmit hook whose stdout is added to agent context | | "I use another MCP host." | entroly attach create --client claude --project . --ttl 4h --install or the client-specific command in the compatibility matrix | Scoped Entroly tools and receipts; the model can still skip MCP unless the host has a verified lifecycle hook | | "I'm building my own app in Python." (SDK user) | from entroly import compress, compress_messages, optimize | Call it straight from your code, anywhere you assemble a prompt |

Cursor MCP users can also use this one-click install link (no marketplace account required): Add Entroly to Cursor. | "I have an API key and my own app." (proxy user) | entroly proxy → point ANTHROPIC_BASE_URL / OPENAI_BASE_URL / GOOGLE_GEMINI_BASE_URL at localhost:9377 | Every request gets optimized on the way past — no code changes on your side |

Runaway-session rescue — automatic on the proxy, callable everywhere else. When a long agent session approaches the provider's context limit, bulky tool output is compacted in flight: no manual /compact, the prompt prefix stays byte-stable so your warm provider cache survives, and every omitted span is recoverable. The proxy does it for you because it sees the outbound request. Anywhere else — pip, SDK, a provider-SDK wrapper, or an MCP host that passes its transcript — hand the conversation over and get the same policy: from entroly import rescue_session. entroly capabilities reports which protections apply to how you are running. See session rescue.

Why bother: less unnecessary context reaches the model (lower bill, less distraction for the model), nothing is silently lost (every drop is recoverable and receipted), and you can prove it — entroly verify-claims and entroly simulate show real numbers on your own repo before you connect a paid key.

python
from entroly import compress, compress_messages, optimize
compressed = compress(api_response, budget=2000)
messages   = compress_messages(messages, budget=30000)
context    = optimize(fragments, budget=8000, query="fix the login bug")
bash
entroly compress response.json --out small.json
entroly recover sha256:0b957c79... --out restored.json

Full setup paths for every agent, IDE, and CI use case: Get started in depth · Command reference.


See it work in 30 seconds

Not mocked recordings — each video is rendered from a checked-in command that verifies its source artifact before printing a number.

Full protocols, sample sizes, and every caveat: docs/BENCHMARKS.md.


Benchmarks

The question that matters: if you send less, does the AI start getting things wrong? These are standard public tests, run with and without Entroly.

How to read this: Retention is how well the AI still answered — 100% means it did just as well on far less text. Token savings is how much less was sent (and therefore paid for). Measured with gpt-4o-mini; intervals are Wilson 95% CIs.

BenchmarkBaselineWith EntrolyRetentionToken savings
NeedleInAHaystack100%100%100%99.5%
LongBench (HotpotQA)64%66%103%85.3%
Berkeley Function Calling100%100%100%79.3%
SQuAD 2.080%72%90%43.8%
GSM8K85%85%100%pass-through*
*pass-through: context already fit the budget, left unchanged. n=20–50 per row. Reproduce: python benchmarks/run_readme_benchmarks.py (needs OPENAI_API_KEY).

Being straight with you: look at the SQuAD 2.0 row — accuracy went down (80% → 72%). Compression is a trade, not magic, and it doesn't win everywhere. That's why entroly simulate exists: run it on your own project and see your own numbers before you commit to anything.

Hallucination detection (WITNESS, local, no API): 84.92% accuracy / 0.7976 AUROC on 20,000 HaluEval-QA decisions — within the reported uncertainty of gpt-4o-mini as an API judge on the same shared sample.

Frozen evidence-selection benchmark (opt-in PRISM-R research prototype, not the default compressor): a disagreement guard kept the answer-bearing passage in 298 of 300 cases while selecting an average of 1.02 of 16 passages (paired exact McNemar p=0.21875 vs. BM25 alone) — this experiment measures retrieval of the known-answer passage, not generated-answer quality. Full protocol: PRISM-R neural evidence frontier.

Recovery, latency, and head-to-head frontier results are in docs/BENCHMARKS.md with raw artifacts linked. None of these numbers are a universal or production-savings guarantee for your workload — reproduce them on your own repo with entroly simulate and entroly value.


Features

  • Picks first, shrinks second — it works out which files actually answer your question, then compresses them.
  • Gives you the original back, exactly — anything left out can be restored character-for-character and checked against a fingerprint.
  • Shows its work — a receipt for every decision: what was kept, what was left out and why, and what risk remains.
  • Fact-checks answers — compares what the AI said against the evidence it was given, on your machine, without paying for a second AI call.
  • Doesn't wreck your caching — keeps the unchanging parts of your prompt stable so your provider's discount for repeated text still applies.
  • Rescues sessions before they crash — when a conversation grows too big, it trims recoverable output instead of letting the provider reject the request mid-task.
  • Can route cheap work to cheap models — optional and fail-closed when uncertain.
  • Cross-agent shared memory — Claude, Codex, Cursor, and Gemini can read and write the same compressed context store with automatic SimHash deduplication and agent provenance tracking.
  • Output token reduction — effort-based routing classifies query complexity and steers model verbosity, reducing output tokens alongside input tokens.
  • Shell hook compression — transparent CLI output compression for git, npm, cargo, docker, pytest, kubectl, and terraform. Preserves errors and warnings, strips progress bars and boilerplate.
  • Image compression — 40-90% reduction on screenshots and diagrams for vision API calls, with optional OCR text extraction.
  • Failure mining — entroly learn --deep mines session data for recurring failure patterns and writes corrections to CLAUDE.md, .cursorrules, and other agent configs.

Runs as a CLI, Python/TypeScript SDK, MCP server, HTTP proxy, or library import. Full surface map: docs/product-surface.md. Architecture and Rust internals: docs/DETAILS.md.


How Entroly compares

Entroly combines budgeted selection, source-span receipts, and optional verification. These are distinct guarantees: a receipt records retained and omitted material; recovery checks source integrity; WITNESS/EICV checks can still produce false positives or false negatives. Solver objectives approximate useful context and do not prove that the chosen context is sufficient for a task.

Compare tools on the same task set, version, model, token budget, and quality criterion. The local TOP-K fixture does not measure any commercial product. We do not provide an independently reproduced cross-product comparison here.


Works with your stack

Install the public Codex plugin from the Entroly repository:

console
codex plugin marketplace add juyterman1000/entroly --ref main
codex plugin add entroly@entroly-public

Restart Codex, review and trust the hook, then run entroly activation status --json after a task. The marketplace installs the local Node/WASM runtime with the plugin; the model does not have to remember to call an MCP tool before Entroly runs. A receipt proves that the hook executed and selected local context or made an explicit no-match decision. It does not prove token or cost savings without a matched provider-bound baseline.

Install the same public repository as a Gemini CLI extension:

console
gemini extensions install https://github.com/juyterman1000/entroly --ref main --consent

Restart Gemini CLI after installation. The repository root contains gemini-extension.json and GEMINI.md, so the command works without navigating into an integration subdirectory.

For VS Code or Kiro, download the entroly-vscode-*.vsix asset from the latest GitHub release, then install it with Extensions: Install from VSIX or code --install-extension. The extension is self-contained and does not require an API key.

JetBrains AI Assistant users can add the same server globally at Settings → Tools → AI Assistant → Model Context Protocol (MCP):

json
{
  "mcpServers": {
    "entroly": {
      "command": "npx",
      "args": ["-y", "entroly-mcp@1.0.84", "serve"],
      "env": {
        "ENTROLY_NO_DOCKER": "1",
        "ENTROLY_MCP_PASSIVE": "1",
        "ENTROLY_MCP_PROFILE": "public",
        "ENTROLY_MAX_FILES": "200"
      }
    }
  }
}

The repository also ships a free, open-source JetBrains plugin that guides this setup from Tools → Configure Entroly for AI Assistant, checks the local runtime on request, and keeps the evidence boundary visible. See extensions/jetbrains.

MCP marketplace and plugin manifests select the compact public profile so agents see the core context, receipt, continuity, recovery, and verification tools first. A direct entroly serve invocation remains backwards compatible and exposes the full tool surface. You can choose either behavior explicitly with ENTROLY_MCP_PROFILE=public or ENTROLY_MCP_PROFILE=full.

The MCP path is provider-neutral: the host can use OpenAI, Anthropic, Google, Mistral, DeepSeek, Kimi, GLM, or a local model. There is no separate plugin marketplace for each model provider; the host's MCP or extension contract is the integration boundary.

Agent / platformPathStatus
Claude CodeBundled UserPromptSubmit hook + scoped MCPDeterministic after plugin enablement
Codex CLI / appBundled UserPromptSubmit hook + scoped MCPDeterministic after hook trust
Gemini CLIBundled BeforeAgent hook + scoped MCPDeterministic after extension enablement
OpenClawContext-engine plugin + scoped MCPNative
CursorClaude-compatible project hook; MCP or proxy fallbackDeterministic only when third-party configs are enabled
Kiro IDE 1.x / CLI 3.xProject PromptSubmit hookDeterministic after project install
VS Code / Copilot agent modeAgent-plugin hook where supported; MCP fallbackHost-version dependent
IntelliJ / JetBrains AIMCP or supported custom endpointAdvisory until a lifecycle hook is verified
GitHub Copilot CLIMCP (subscription) / proxy (BYOK)Supported
Cortex CodeSDK/library boundary onlyNot validated as a wrap target
Aider, OpenCode, and 30+ moreSession-scoped OpenAI-compatible proxyOne command

Hook enforcement belongs to the host, so it is independent of whether that host runs an OpenAI, Anthropic, Gemini, Kimi, DeepSeek, Mistral, or GLM model. Status describes integration depth, not a savings guarantee. Provider-observed savings require requests to traverse an Entroly proxy route. Entroly does not claim interception of GitHub-hosted subscription inference on Copilot's native path. Full compatibility matrix: docs/agent-compatibility.md.

Entroly carries verified metadata for current models from OpenAI, Anthropic, Google, Meta, and others. It auto-discovers local Ollama models. Model-specific details: docs/DETAILS.md.


When to use it · when to skip it

Great fit: large repos where the agent only sees a few files at a time · chatty multi-turn agents · anywhere you want answers checked against evidence · cutting a real, growing AI bill.

Skip it: tiny repos or short prompts that already fit the budget · judgment-heavy tasks where you always want the full flagship model.


More commands

For evidence-led optimization rather than a synthetic savings estimate:

bash
entroly learn --history --json
entroly shrink -- pytest -q
entroly trial --experiment checkout-fix --arm baseline -- codex exec "fix the checkout test"
entroly trial --experiment checkout-fix --arm optimized -- codex exec "fix the checkout test"
entroly trial --report checkout-fix
entroly browser https://example.com --query "billing settings"
entroly response set evidence --scope project

Trials run one explicitly selected arm at a time so a stateful or paid agent task is never repeated implicitly. Response contracts shape agent instructions; they do not truncate responses or count as measured savings. Browser and command reductions keep exact local recovery handles and pass through when their safety gates cannot be met.

For teams that need to say who an agent is and what it was allowed to do:

bash
entroly govern status                          # identity, policies, audit chain
entroly govern policy check write --risk high  # evaluate one authorization
entroly govern audit verify                    # exit non-zero on a broken chain

Authorization is deny-by-default and every denial names the policy and the reason it gave. audit verify checks that recorded entries were not altered after the fact — it does not prove every action was recorded, and govern status reports the state of the local control plane only, not an attestation that each agent action passed through it. Identity tokens are unsigned unless ENTROLY_IDENTITY_KEY is set, and the credential is never printed.

Also available: entroly wrap, entroly unwrap, entroly serve, entroly daemon, entroly dashboard, entroly demo, entroly capabilities, entroly ingest, entroly select, entroly receipt, entroly explain, entroly context-commit, entroly proof, entroly benchmark, entroly cache, entroly ravs, entroly perf, entroly batch, entroly usage. Full description: command reference.


Common questions

Cross-agent shared memory

Content-addressed store with SimHash deduplication and BM25 search. Multiple agents (Claude Code, Codex, Cursor) write and query the same knowledge base with provenance tracking.

python
from entroly import shared_memory_write, shared_memory_search
shared_memory_write("Auth uses JWT with RS256", agent_id="claude-code", tags=["auth"])
results = shared_memory_search("authentication tokens")  # finds it, from any agent

Output token reduction

Three-layer pipeline: effort classification steers verbosity directives, max_tokens budgets cap generation, and post-generation distillation trims filler. A "yes/no" query gets 150 max tokens; a detailed architecture review gets 16,384.

Shell hook compression

Command-specific patterns for git, npm, cargo, docker, pytest, kubectl, and terraform strip progress bars, deprecation warnings, and boilerplate while preserving errors and key results. Full output is recoverable via content-addressed handles.

bash
entroly hook install     # adds transparent compression to your shell
entroly hook status      # shows which shells have the hook

Failure mining

entroly learn --deep mines PRISM feedback, vault beliefs, evolution daemon, and checkpoint data for recurring failure patterns, then generates corrections for agent config files.


Documentation

インストール

TypingMind
{
  "mcpServers": {
    "entroly": {
      "command": "entroly",
      "args": [
        "serve"
      ]
    }
  }
}

利用可能なツール

  • remember_fragment

    Store a context fragment with automatic dedup and entropy scoring.

        Fragments are fingerprinted via SimHash for O(1) duplicate detection.
        Each fragment's information density is scored using Shannon entropy.
        Duplicates are automatically merged with salience boosting.
    
        Args:
            content: The text content to store (code, tool output, etc.)
            source: Origin label (e.g., 'file:utils.py', 'tool:grep')
            token_count: Token count (auto-estimated if 0)
            is_pinned: If True, prioritize exact inclusion within the pinned
                budget reserve; excess pinned content remains a high-priority
                compressed candidate so the total token ceiling stays honest.
    
  • optimize_context

    Select a high-value context subset for a token budget.

        Uses 0/1 Knapsack dynamic programming to maximize relevance within
        the budget. Scores fragments on four dimensions: recency (Ebbinghaus
        decay), access frequency (spaced repetition), semantic similarity
        (SimHash), and information density (Shannon entropy).
    
        QUERY REFINEMENT: Vague queries like "fix the bug" or "add feature"
        are automatically expanded into precise master prompts using the files
        already in memory. This improves context selection accuracy and reduces
        hallucination from selecting wrong files. The response includes
        query_refinement.refined_query so you can see what drove selection.
    
        Output is ordered for optimal LLM attention: pinned/critical first,
        high-dependency foundation files early, then by relevance.
    
        This is the core tool — call it before sending context to the LLM.
    
        Args:
            token_budget: Maximum tok
    
  • entroly_retrieve

    Retrieve exact source content omitted by compressed context.

        Use the retrieval handle attached to a skeleton/reference fragment for
        exact historical recovery. A visible source path also works and lazily
        resolves the latest ingested version. With no argument, lists currently
        materialized CCR entries without returning their content.
    
        Args:
            source_or_handle: Source path or content-addressed ``ccr:...`` handle.
    
  • recall_relevant

    Semantic recall of the most relevant stored fragments.

        Uses BM25 relevance ranking (recall_auto) with a feedback loop
        (fragments that previously led to successful outputs are boosted).
    
        Returns a slim ranked pointer list by default — source, score, and a
        locating snippet — because full fragment bodies overflow the tool
        result cap (a ``top_k=8`` recall is ~90KB). Pass ``full=True`` only
        when you need the complete text of every hit.
    
        Args:
            query: The search query
            top_k: Number of results to return
            full: Return complete fragment bodies instead of the slim view
    
  • record_outcome

    Record whether selected fragments led to a successful output.

        This feeds the reinforcement learning loop: fragments that
        contribute to successful outputs get boosted in future selections,
        while unhelpful fragments get suppressed.
    
        Args:
            fragment_ids: Comma-separated fragment IDs
            success: True if output was good, False if bad
    
        NOTE on RAVS v1: this tool's success flag is also recorded into
        the RAVS event log as an ``agent_self_report`` event with
        ``strength=weak`` and ``include_in_default_training=False``.
        Default labeling rules ignore it. Use the structured
        ``record_test_result`` / ``record_command_exit`` /
        ``record_ci_result`` tools for honest signals you want offline
        evaluation to actually train against.
    
  • record_test_result

    Record that tests RAN and either passed or failed for a request.

        This is a STRONG signal — distinct from record_outcome which is
        the agent's self-report. Call this when actual test execution
        produced a real pass/fail outcome.
    
        Args:
            request_id: the trace_id from the optimize_context call
            passed: True if all tests passed, False if any failed
            suite: optional name of the test suite (e.g. "pytest", "cargo test")
            details: optional short summary of what was tested
    
  • record_command_exit

    Record the exit code of a command that was generated and executed.

        STRONG signal: a real subprocess produced a real exit code.
        Convention: exit_code == 0 → "success", anything else → "failure".
    
        Args:
            request_id: the trace_id from the optimize_context call
            exit_code: subprocess exit code; 0 = success
            command: optional short representation of what was run
    
  • record_ci_result

    Record CI pipeline pass/fail status for a request.

        STRONG signal: CI is independent infrastructure that ran the
        change and produced a verdict. The honest top of the signal
        hierarchy.
    
        Args:
            request_id: the trace_id from the optimize_context call
            passed: True if CI green, False if any required check failed
            pipeline: e.g. "github_actions", "gitlab_ci", "buildkite"
            url: optional link to the CI run
    
  • record_edit_outcome

    Record whether the user accepted, reverted, or retried an AI edit.

        STRONG signal: user behavior directly indicates whether the generated
        code was successful.
    
        Args:
            request_id: the trace_id from the optimize_context call
            outcome: "accepted", "reverted", or "retried"
            files_modified: number of files touched by the edit
    
  • explain_context

    Explain why each fragment was included or excluded in the last optimization.

        Shows per-fragment scoring breakdowns with all dimensions visible:
        recency, frequency, semantic, entropy, feedback multiplier,
        dependency boost, criticality, and composite score.
    
        Also shows context sufficiency (what % of referenced symbols
        have definitions included) and any exploration swaps.
    
        Call this after optimize_context to understand selection decisions.
    
  • create_context_receipt

    Create a Context Receipt from supplied documents.

        ``documents_json`` may be:
        - a JSON object mapping source path to text
        - a JSON array of ``[source_path, text]`` pairs
        - a JSON array of objects with ``source_path``/``text`` or
          ``source``/``content`` keys
    
        The receipt records selected context, omitted relevant context,
        dependency links, fingerprints, token ratio, warnings, and risk
        controls. It does not call an LLM.
    
        Set ``recoverable=True`` to also persist a project-local recovery bundle,
        so any omitted chunk can later be recovered byte-exact and verified via
        ``recover_receipt_omission``.
    
  • create_context_receipt_from_path

    Create a Context Receipt from a local document file or directory.

        Supports text-like documents currently handled by the local receipt
        ingester (.md, .txt, .rst). The result is deterministic and local.
    
  • render_context_receipt

    Render a Context Receipt JSON artifact as a Markdown report.

  • explain_receipt_omission

    Explain why a chunk was omitted from a Context Receipt.

  • recover_receipt_omission

    Recover the full text of context a Context Receipt omitted.

        Receipts explain *what* was dropped; this hands back the exact content,
        byte-for-byte. Works on receipts created with ``recoverable=True`` — the
        recovery bundle is read from the local store. Pass ``chunk_id`` to recover
        one chunk, or leave it empty to recover everything that was omitted.
    
        Each result carries ``verified=true`` only when the returned text is
        provably identical to what was omitted (matched against the chunk's
        recorded fingerprint and a storage-integrity hash) — never a guess.
    
  • prepare_proof_guided_context

    Prepare a durable proof-guided model request from local documents.

        This tool performs only local selection, security checks, exact-recovery
        commitments, and signed auditing. It does not call a model. Send the
        returned ``request`` through the host's configured model route, then
        pass the model text to ``advance_proof_guided_context``. The path must
        remain inside the attached project root.
    
  • advance_proof_guided_context

    Verify one model round and return exact evidence or a final answer.

        The operation is durable and idempotent. A continuation response has
        ``status=awaiting_model`` and a new request whose committed prefix is
        byte-identical. A terminal response returns a locally verified output.
        No provider call is performed by Entroly.
    
  • inspect_proof_guided_context

    Inspect the last durable proof-guided response without advancing it.

  • checkpoint_state

    Save state plus explicit decisions needed for safe continuation.

  • resume_state

    Resume by task relevance; omit query only for latest-checkpoint behavior.

  • prefetch_related

    Predict and pre-load context that will likely be needed next.

        Combines static analysis (imports, callees, test files) with
        learned co-access patterns to predict what the agent will need.
    
        Args:
            file_path: The file currently being accessed
            source_content: The source code content (for static analysis)
            language: Programming language (python, typescript, rust)
    
  • get_stats

    Get comprehensive session statistics.

        Shows token savings, duplicate detection counts, entropy
        distribution, dependency graph stats, checkpoint status,
        and cost estimates.
    
  • entroly_dashboard

    Show the real, live value Entroly is providing to YOUR session right now.

        Pulls from actual engine state — not synthetic data. Shows:
            Money saved: exact $ amounts from token optimization
            Performance: sub-millisecond selection speed vs API latency
            Bloat prevention: context compression ratio and memory footprint
            Selection quality: per-fragment scoring and context sufficiency
            Safety: duplicates caught, stale fragments filtered
    
        Call this anytime to see exactly what Entroly is doing for you.
    
  • scan_for_vulnerabilities

    Scan code content for security vulnerabilities (SAST analysis).

        Uses a 151-rule engine with taint-flow simulation and CVSS-inspired
        scoring. Detects hardcoded secrets, SQL injection, path traversal,
        command injection, insecure cryptography, unsafe deserialization,
        XSS, and authentication misconfigurations.
    
        Args:
            content: The source code to scan.
            source:  File path / identifier (used for language detection
                     and confidence scoring). E.g. "auth/login.py".
    
        Returns JSON with:
            - findings: [{rule_id, cwe, severity, line_number, description,
                          fix, confidence, taint_flow}]
            - risk_score: CVSS-inspired aggregate [0.0, 10.0]
            - critical_count, high_count, medium_count, low_count
            - top_fix: most impactful remediation action
    
  • security_report

    Generate a session-wide security audit across all ingested fragments.

        Scans every fragment in the current session and returns an aggregated
        report showing: which fragments are most vulnerable, overall risk posture,
        finding distribution by category, and the single most important fix.
    
        Returns JSON with:
            - fragments_scanned, fragments_with_findings
            - critical_total, high_total, max_risk_score
            - most_vulnerable_fragment (fragment_id)
            - findings_by_category: {category: count}
            - vulnerable_fragments: sorted list by risk_score
    
  • analyze_codebase_health

    Analyze the health of the ingested codebase.

        Runs 5 analysis passes over all fragments in the current session:
          1. Clone Detection — SimHash pairwise scan for Type-1/2/3 code clones
          2. Dead Symbol Analysis — defined but never referenced symbols
          3. God File Detection — files with > μ+2σ reverse dependencies
          4. Architecture Violation Detection — cross-layer imports
          5. Naming Convention Analysis — Python/Rust/React convention breaks
    
        Returns a JSON HealthReport with:
            - code_health_score [0–100] and health_grade (A/B/C/D/F)
            - Per-dimension scores: duplication, dead_code, coupling, arch, naming
            - clone_pairs, dead_symbols, god_files, arch_violations, naming_issues
            - summary (human-readable) and top_recommendation (most impactful action)
    
  • ingest_diagram

    Ingest an architecture or flow diagram into the context memory.

        Converts Mermaid, PlantUML, DOT/Graphviz, or informal diagram text into
        a structured semantic fragment capturing nodes, edges, and relationships.
        The result is stored as a normal context fragment and is retrievable
        by optimize_context and recall_relevant.
    
        Args:
            diagram_text: Raw diagram source (Mermaid/PlantUML/DOT/text description).
            source:       Identifier (e.g., 'arch_overview.mmd', 'db_schema.puml').
            diagram_type: 'mermaid', 'plantuml', 'dot', 'text', or 'auto' (default).
    
        Returns JSON with ingestion result (same as remember_fragment).
    
  • ingest_voice

    Ingest a voice/meeting transcript into the context memory.

        Converts pre-transcribed text (from Whisper, AssemblyAI, etc.) into a
        structured fragment capturing decisions, action items, open questions,
        technical vocabulary, and key discussion excerpts.
    
        Args:
            transcript: The full transcript text.
            source:     Identifier (e.g., 'design_meeting_2026-03-07.txt').
    
        Returns JSON with ingestion result plus:
            - decisions, actions, open_questions (counts)
            - tech_terms_identified
    
  • ingest_diff

    Ingest a code diff/patch into the context memory.

        Converts a unified diff (git diff output) into a structured change summary:
        intent classification (bug-fix/feature/refactor), symbols changed,
        files modified, and line delta. Particularly useful for understanding
        recent changes and their architectural impact.
    
        Args:
            diff_text:      Raw unified diff text (git diff output).
            source:         Identifier (e.g., 'pr_42_auth_refactor.diff').
            commit_message: Optional commit message for better intent classification.
    
        Returns JSON with ingestion result plus:
            - intent: bug-fix/feature/refactor/test/security/performance
            - files_changed, added_lines, removed_lines
            - symbols_changed: functions/classes modified
    
  • epistemic_route

    Route a query through the CogOps Epistemic Ingress Controller.

        Inspects 4 signals (intent, belief coverage, freshness, risk) and
        selects one of 5 canonical flows:
    
          ① Fast Answer:          Belief → Action (fresh, verified, low-risk)
          ② Verify Before Answer: Belief → Verification → Action (stale/risky)
          ③ Compile On Demand:    Truth → Belief → Verification → Action (no beliefs)
          ④ Change-Driven:        Event → Truth → Belief → ... (PR/commit/incident)
          ⑤ Self-Improvement:     Misses → Evolution → Belief (repeated failures)
    
        Call this BEFORE optimize_context to understand how the system should
        approach your query. Existing tools work exactly as before.
    
        Args:
            query: The user query or event description
            is_event: True if this is a change-driven event (PR, commit, etc.)
            event_type: Type of event (pr, commit, release, incident, scheduled)
    
  • vault_status

    Show the current state of the CogOps Knowledge Vault.

        Initializes the vault directory structure if needed, then returns
        a coverage index: total beliefs, verification status, confidence
        distribution, and routing statistics.
    
        The vault is the persistent Living Exocortex — the system's
        machine-auditable understanding of your codebase.
    
  • vault_write_belief

    Write a belief artifact to the CogOps Knowledge Vault.

        Beliefs are durable system understanding — what Entroly thinks
        the codebase is. Each belief carries machine-auditable frontmatter:
        claim_id, entity, status, confidence, sources, last_checked.
    
        Args:
            entity: The system entity this belief is about (e.g., 'auth::token_rotation')
            title: Human-readable title
            body: The belief content (markdown)
            confidence: Machine-assigned confidence 0.0-1.0 (default: 0.7)
            status: observed|inferred|verified|stale|hypothesis (default: inferred)
            sources: Comma-separated source paths (e.g., 'src/auth.rs:142,src/token.rs:58')
            derived_from: Comma-separated component names that produced this belief
    
  • vault_query

    Query the CogOps Knowledge Vault for existing beliefs.

        Use this to check what the system already knows before compiling
        new understanding. Supports lookup by entity name or listing all.
    
        Args:
            entity: Entity name to look up (fuzzy match)
            list_all: If True, return all beliefs with frontmatter summary
    
  • vault_write_action

    Write a task output or report to the CogOps Knowledge Vault.

        Action artifacts are developer-facing outputs: PR briefs, answers,
        architecture diagrams, slide decks, task reports. They live in
        actions/ and are timestamped for traceability.
    
        Args:
            title: Title of the output
            content: Full markdown content
            action_type: Type tag (report, pr_brief, answer, diagram, context_pack)
    
  • vault_time_travel

    Query the vault's bitemporal belief ledger — memory time travel.

        Every belief write is versioned in an append-only, hash-chained
        ledger. This tool answers questions like "what did the vault know
        last Tuesday?" and "what changed between two dates?".
    
        Args:
            action: One of:
                as_of — snapshot of beliefs visible at `when`
                diff — what changed between `from_when` and `to_when`
                timeline — version history for `entity`
                verify_chain — tamper-check the ledger hash chain
                seed — backfill the ledger from pre-ledger belief files
                redact — erase belief bodies (by `entity` or `claim_id`)
                    via a chained tombstone; content is deleted, the hash
                    chain stays verifiable
            when: ISO-8601 instant for as_of (e.g., '2026-07-14T00:00:00+00:00')
            from_when: ISO-8601 start instant for diff
            to_when: ISO-8601 e
    
  • vault_hygiene_scan

    Scan vault beliefs against each other for knowledge decay.

        Report-only living-context maintenance: pairwise ESG contradiction
        detection between beliefs, near-duplicate merge suggestions,
        staleness flags, and confidence flapping (entities whose recorded
        confidence keeps reversing across ledger versions). Never rewrites
        or deletes a belief — act on the suggestions explicitly.
    
        Args:
            contradiction_threshold: min ESG contradiction_fraction to flag
                a belief pair (default 0.5)
            max_age_days: beliefs unchecked for longer are flagged stale
                (default 30)
    
  • prepare_task_dream

    Prepare an expiring, receipt-backed task skill before agent work.

        The capsule combines safe cross-session MemoryOS recall, optional
        hippocampal long-term memory, current repository fragments, non-stale
        beliefs, and already-promoted skills. Recalled text is evidence rather
        than authority and is prompt-injection scanned. Root AGENTS.md and
        CLAUDE.md files are never modified.
    
        Args:
            task: The concrete task the agent is about to perform.
            agent_id: MemoryOS identity used for scoped recall.
            token_budget: Approximate maximum capsule tokens (256-8000).
            persist: Write SKILL.md and receipt.json under .entroly/task_dreams.
    
  • compile_beliefs

    Compile source code into belief artifacts (Truth → Belief pipeline).

        Scans a directory for source files (.py, .rs, .ts, .js), extracts
        code entities (classes, functions, structs, traits, imports),
        resolves cross-file dependencies, and writes belief artifacts to
        the vault with full frontmatter (claim_id, entity, status,
        confidence, sources, last_checked, derived_from).
    
        Args:
            directory: Path to scan. Defaults to the project root.
            max_files: Maximum files to process (default: 200)
    
  • verify_beliefs

    Run a full verification pass on all beliefs in the vault.

        Checks for:
        - Staleness (beliefs past their freshness window)
        - Contradictions (conflicting claims about the same entity)
        - Confidence divergence between same-entity beliefs
        - Low confidence scores
    
        Writes verification artifacts to vault/verification/.
    
  • blast_radius

    Analyze the blast radius of file changes on existing beliefs.

        Given a list of changed files, determines which beliefs need
        re-verification, which may be invalidated, and the overall risk
        level (low/medium/high).
    
        Args:
            changed_files: Comma-separated list of changed file paths
    
  • process_change

    Process a code change through the Change-Driven pipeline (Flow ④).

        Full pipeline: Diff → ChangeSet → Review → Blast Radius → Vault
    
        Classifies intent (bugfix/feature/refactor/test/security/performance),
        runs code review (hardcoded secrets, TODOs, broad exceptions, unsafe),
        computes belief impact, and returns a structured PR brief.
    
        Args:
            diff_text: Raw unified diff text (git diff output)
            commit_message: Optional commit message for intent classification
            pr_title: Optional PR title
    
  • execute_flow

    Execute a full canonical epistemic flow end-to-end.

        Routes the query through the Epistemic Ingress Controller (4 signals:
        intent, belief coverage, freshness, risk), then chains the appropriate
        pipeline steps automatically:
    
          ① Fast Answer:         Belief → Action
          ② Verify Before Answer: Belief → Verification → Action
          ③ Compile On Demand:   Truth → Belief → Verification → Action
          ④ Change-Driven:       Event → Truth → Belief → Verification → Action
          ⑤ Self-Improvement:    Misses → Verification → Evolution → Belief
    
        Args:
            query: The user query or event description
            diff_text: Raw diff for change-driven flows (Flow ④)
            is_event: True if this is a change-driven event
            event_type: Type of event (pr, commit, release, incident, scheduled)
    
  • create_skill

    Create a new skill from a capability gap (Evolution layer).

        When the system repeatedly fails on a topic, this generates a
        full skill package in vault/evolution/skills/<skill-id>/:
        - SKILL.md — procedure/SOP
        - tool.py — executable Python tool
        - metrics.json — fitness tracking
        - tests/test_cases.json — regression tests
    
        Args:
            entity_key: The entity this skill handles (e.g., 'protobuf_analysis')
            failing_queries: Pipe-separated list of failing queries
            intent: The intent class for this skill
    
  • manage_skills

    Manage the CogOps skill lifecycle (Evolution layer).

        Actions:
        - list: Show all skills with status, fitness, and run counts
        - benchmark: Run test cases and compute fitness score (0.0-1.0)
        - promote: Promote (fitness >= 0.7) or prune (fitness <= 0.3)
    
        Args:
            action: list | benchmark | promote
            skill_id: Required for benchmark/promote actions
    
  • coverage_gaps

    Find source files with no corresponding belief in the vault.

        Scans a directory for source files (.py, .rs, .ts, .js) and checks
        which ones have no belief artifact. Useful for identifying blind
        spots before running compile_beliefs.
    
        Args:
            directory: Path to scan. Defaults to the project root.
    
  • refresh_beliefs

    Mark beliefs as stale after file changes (Flow ④ doc-refresh).

        Given changed files, finds related beliefs and marks their status
        as 'stale' so the next verify_beliefs pass will flag them for
        re-compilation.
    
        Args:
            changed_files: Comma-separated list of changed file paths
    
  • sync_workspace_changes

    Synchronize workspace file changes into the belief and verification layers.

        Detects new, modified, and deleted source files, marks affected beliefs stale,
        recompiles changed files into fresh beliefs, runs a verification pass, and writes
        a sync report into actions/.
    
  • repo_file_map

    Return the canonical Entroly file map across the Python, Rust core, and WASM repos.

        Use this to understand ownership boundaries and where logic currently lives.
        Supported formats: markdown, json.
    
  • start_workspace_listener

    Start a background workspace listener that continuously feeds repo changes into CogOps.

        This is the long-running change-driven bridge from repo activity into Belief CI.
    
  • vault_search

    Full-text search across all belief artifacts in the vault.

        Uses TF-IDF ranking with entity-name boosting (3x) to find the
        most relevant beliefs. Much cheaper than listing all beliefs —
        returns only the top matches with excerpts.
    
        Args:
            query: Natural language search query (e.g., "how does knapsack work?")
            top_k: Maximum number of results to return (default: 5)
    
  • compile_docs

    Compile markdown documentation files into belief artifacts.

        Ingests project-level docs (README.md, ARCHITECTURE.md, docs/,
        CONTRIBUTING.md, etc.) into the vault as documentation beliefs
        with confidence 0.80 (human-authored > machine-inferred code beliefs).
    
        Args:
            directory: Project root to scan. Defaults to the project root.
            max_files: Maximum doc files to process (default: 50)
    
  • export_training_data

    Export vault beliefs as JSONL training data for LLM finetuning.

        Generates instruction-following pairs from compiled beliefs:
        question about entity → belief body as answer. Filters out stale
        and low-confidence beliefs. Output is OpenAI-compatible JSONL.
    
        Uses PRISM scoring dimensions for quality-weighted sampling:
        only beliefs with confidence >= 0.5 and non-stale status are
        included in the training set.
    
        Args:
            output_path: Path to write JSONL file (default: training_data.jsonl)
            format: Output format, currently only 'jsonl' supported
    
  • verify_provenance

    Verify that LLM-generated code is grounded in the provided context.

        Uses BIPT (Byte-level Information Provenance Tracer) to measure how
        much of each identifier in the generated code originates from the
        context. Returns an Identifier Provenance Deficit (IPD) score:
    
          IPD = 0.0  → fully grounded (all identifiers come from context)
          IPD = 1.0  → fully invented (no identifiers match context)
    
        Use this after an LLM generates code to check for hallucinated APIs,
        invented function names, or fabricated imports before accepting output.
    
        Args:
            code: The LLM-generated code to verify
            context: The repository context that was provided to the LLM
    
  • verify_and_repair

    Verify LLM-generated code and suggest repairs for hallucinations.

        Combines BIPT verification with rejection analysis to identify
        hallucinated identifiers and suggest which real APIs/symbols from
        the context should be used instead.
    
        This is a single-shot verification + feedback tool — it does NOT
        call an LLM. For the full repair loop (FORGE), use the Python SDK:
          from entroly.verifiers import forge_loop
    
        Args:
            prompt: The original user request that generated the code
            code: The LLM-generated code to verify
            context: The repository context provided to the LLM
    
  • verify_response

    Verify an AI-generated response for hallucination using the 4-signal fusion cascade.

        Runs the same hallucination detection pipeline as the proxy (WITNESS + ECE + EPR + Spectral)
        but callable directly from any MCP client. Use this after generating a response to check
        for factual claims that aren't grounded in the provided context.
    
        Returns a structured verification report with:
          - fused_risk: Combined hallucination probability [0.0 = safe, 1.0 = hallucinated]
          - verdict: "pass", "warn", or "flag"
          - per-signal scores (entity_coverage_gap, ece_curvature, epr_rate, spectral_consistency)
          - flagged_claims: List of specific claims that may be hallucinated
          - recommendation: Suggested action (accept / review / reject)
    
        All computation is 100% local — zero LLM calls, zero API calls.
    
        Args:
            response: The AI-generated text to verify
            context: The source context that was provided 
    
  • eicv_verify_claim

    Verify a single claim against evidence using the EICV pipeline.

        Returns a structured EICVCertificate with:
          - phi: epistemic support density [0=fully hallucinated, 1=fully grounded]
          - hallucination_score: 1 - phi
          - decision: "supported" | "abstain" | "hallucinated"
          - layer_scores: per-layer breakdown (T(G), NLI, RNR, gamma, H_sem)
          - n_claim_atoms / n_ev_atoms: structural decomposition counts
          - unsupported_fraction: fraction of claim atoms with no support
          - contradiction_fraction: fraction with active contradiction
          - elapsed_ms: per-call latency
    
        Computed locally with no neural model and no LLM calls. Accuracy
        on public benchmarks (FEVER, SQuAD v2, HaluEval-QA) is documented
        in benchmarks/results/. False-positive and false-negative rates are
        non-zero — review those JSONs before relying on the output for
        compliance-sensitive decisions.
    
        Args:
           
    
  • eicv_suppress_hallucinations

    Verify an LLM response and optionally rewrite hallucinated claims.

        Returns the (possibly rewritten) output and per-claim audit trail.
        Computation is fully local — no neural model, no LLM calls.
    
        Modes:
          audit    — analyze only; no rewrite. Use for telemetry/dashboards.
          annotate — keep output; append verification warnings at end.
          strict   — graduated 4-action policy:
                       supported → PASS (no change)
                       abstain   → HEDGE (append "[unverified]")
                       hallucinated → SUPPRESS (remove claim sentence)
    
        Profiles tune the abstain band:
          rag (default) — strict, for retrieval-augmented generation
          qa            — moderate-strict for QA outputs
          summarization — tolerant of paraphrase
          dialogue      — broader abstain band
          fact_check    — hardest (FEVER-like setting)
    
        Returns SuppressionResult with:
          - rewritten_output: 
    
  • smart_read

    Read a file at an automatic or caller-chosen resolution.

        By default SRP selects the optimal resolution per code block from
        query relevance and token budget:
          - Blocks matching the query → FULL (complete source)
          - Related blocks → MEDIUM (signature + docstring)
          - Peripheral blocks → LOW (name only)
          - Irrelevant blocks → SKIP (omitted)
    
        This reduces output by prioritizing query-relevant blocks. Use
        ``resolution="full"`` whenever exact source text is required.
    
        Automatic selection is the right default and cannot be right for every
        question. Measured on this repository, a signature-level view answered
        12/12 questions whose evidence lives in a signature and 0/20 whose
        evidence lives in a function body. Pass `resolution` when you already
        know which kind of question you are asking.
    
        Args:
            file_path: Path to the file to read
            query: What you're looking 
    
  • security_scan

    Scan content for prompt injection attacks and security threats.

        Detects:
          - Direct instruction overrides ("ignore previous instructions")
          - Role reassignment attempts ("you are now a...")
          - Unicode steganography (zero-width chars, directional overrides)
          - Base64-encoded instruction payloads
          - Repetition flooding (context window domination)
          - XML/tag-based role spoofing
    
        Use this to verify untrusted content before including it in prompts.
    
        Args:
            content: The text content to scan
            source: Source identifier for threat location reporting
    
  • work_state

    Inspect persisted shared work state without appending a polling event.

  • work_claim

    Record explicit agent work plus a bounded advisory scope lease.

  • work_resume

    Recover unfinished work and optionally seal a no-handoff proof.

  • work_handoff

    Create a graph-bound handoff receipt and complete continuation proof.

  • work_record_context

    Attach a canonical ContextReceipt to its exact WorkScope.

  • work_compile_context

    Compile verified code context and record its Work Graph receipt.

  • work_context_fault

    Fault exact omitted code from a context token or verified context object.

  • work_record_memory

    Attach provenance-bearing memory without trusting raw model prose.

  • work_record_execution

    Atomically record route, observable execution and exact-head verification.

  • work_session_status

    Report the automatic takeover performed when this server started.

  • work_modifications

    Modifications recorded between observations by the workspace watcher.

        A point-in-time refresh shows what a file looks like now. This shows
        that it changed at 14:02 and again at 14:07, which a refresh cannot.
        Empty when the watcher is disabled.
    
  • work_acknowledge_recovery

    Accept responsibility for recovered work state so acting is allowed.

  • shared_memory_write

    Write to cross-agent shared memory. Deduplicates near-identical entries via SimHash.

  • shared_memory_search

    Search cross-agent shared memory by relevance. Returns entries from all agents.

  • shared_memory_list

    List shared memory entries, optionally filtered by agent or tag.

  • shared_memory_forget

    Remove a shared memory entry by ID.

  • shared_memory_stats

    Get cross-agent shared memory statistics.

  • steer_output

    Classify query effort and return output steering directives + max_tokens budget.

  • compress_shell

    Compress CLI output (git, npm, cargo, pytest, etc.) preserving errors and key info.

  • recover_shell

    Recover full CLI output from a compression handle.

  • compress_image

    Compress an image for vision model input, with optional OCR text extraction.

  • learn_from_failures

    Mine failure patterns from PRISM, vault, and evolution data. Optionally apply corrections.

EntrolyのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Entrolyに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Entrolyをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. EntrolyのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "entroly": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてEntrolyのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. EntrolyのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Entrolyを使ってこのタスクを手伝ってもらえますか?
Entroly
はい、読みました。
Entrolyで調べた結果をお伝えします。

よくある質問

Entroly MCPサーバーは何に使いますか?

Entrolyは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでEntroly MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでEntrolyを利用できます。

TypingMindでEntroly MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Entrolyを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Entroly MCPをTypingMindに接続するにはどうすればよいですか?

EntrolyはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでEntroly MCPのどのようなツールを利用できますか?

Entrolyは81個のMCPツールを提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Entroly MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Entrolyで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

entroly_health_resource

Return a bounded, secret-free Entroly runtime health summary.

entroly_stats_resource

Return bounded aggregate counters without source content or paths.

context_optimization_workflow

Build a safe workflow for selecting the best context for a task.

context_verification_workflow

Build an evidence-first verification workflow for an agent task.

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇