SH

stephenschoettler/hermes-lcm

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

1335 stars 品質 71 トレンド 23MIT

Hermes Agent用のロスレスコンテキスト管理プラグイン — メッセージを一度も失わないDAGベースのコンテキストエンジン

概要

限られた文脈、無限の記憶。何も失われない。 hermes-LCMは、ワンショットのアクティブコンテキスト圧縮をSQLite支援のDAGベースのコンテキストエンジンに置き換えます。ライブプロンプトに境界を付け、生メッセージを保持し、圧縮後に正確な詳細を復元するツールをエージェントに提供します。 EhrlichとBlackmanによるLCM論文(Voltropy PBC, 2026年2月)に基づいています。OpenClawのロスレスクローに触発されました。LCMのアイデアのインタラクティブな可視化については losslesscontext.ai を参照してください。 Hermes Agentの内蔵コンプレッサーは実用的な連続性レイヤーです。プロンプトが設定済みの閾値を超えると、古いツールの結果を剪定し、補助モデルに中間・古い会話を要約させ、その要約と保護された最近のテイルからアクティブなプロンプトを再構築します。元のセッション行は依然としてHermesの状態に残ることができます。

概要(AI 翻訳)

Hermes Agent用のLossless Context Management プラグイン。

限られた文脈、無限の記憶。何も失われない。

hermes-lcm はワンショットのアクティブコンテキスト圧縮をSQLite支援の圧縮に置き換えます。 DAGベースのコンテキストエンジンです。ライブプロンプトを境界に保ち、生のままにします 圧縮後に正確な詳細を復元するためのツールをエージェントに提供します。

Ehrlich & BlackmanによるLCM論文に基づく (Voltropy PBC、2026年2月)インスピレーションを受けました ロスレスクロー OpenClaw。LCMのアイデアのインタラクティブな可視化については、 losslesscontext.ai。

目次

  • 何をするか
  • LCMと内蔵圧縮の比較
  • クイックスタート
  • コマンドとツール
  • リコールスキルと方針
  • 構成
  • リトリーバル契約
  • OpenClaw/ロスレスクローインポート
  • トラブルシューティング
  • 建築
  • 仕組み
  • 文書化
  • 開発
  • 貢献
  • ライセンス

それが何をするのか

Hermes Agentの内蔵コンプレッサーは実用的な連続層です:当 プロンプトが設定済みの閾値を超え、古いツールの結果を剪定し、 中間・古い会話を要約し、 その要約からのアクティブプロンプトと保護された最近のテイル。オリジナル

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Lossless Context Management plugin for Hermes Agent.

Bounded context, unbounded memory. Nothing is ever lost.

hermes-lcm replaces one-shot active-context compression with a SQLite-backed, DAG-based context engine. It keeps the live prompt bounded, preserves raw messages, and gives the agent tools to recover exact detail after compaction.

Based on the LCM paper by Ehrlich & Blackman (Voltropy PBC, Feb 2026). Inspired by lossless-claw for OpenClaw. For an interactive visualization of the LCM idea, see losslesscontext.ai.

Table of contents

What it does

Hermes Agent’s built-in compressor is a practical continuity layer: when the prompt crosses its configured threshold, it prunes older tool results, asks an auxiliary model to summarize the middle/older conversation, and rebuilds the active prompt from that summary plus a protected recent tail. The original session rows can still live in Hermes state.db and remain searchable through host tools such as session_search, but the model’s active context no longer contains the compacted turns verbatim or a structured drill-down path back to them.

hermes-lcm instead:

  1. Persists messages in a plugin-local SQLite store with FTS metadata.
  2. Compacts older context into depth-aware summary nodes.
  3. Condenses summaries into a hierarchical DAG as they accumulate.
  4. Assembles active context from system prompt, highest-value summaries, and the protected fresh tail.
  5. Provides recall tools so agents can search, inspect, and expand compacted
GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add stephenschoettler/hermes-lcm
MCP 初心者?mcpskill.org のガイドから始めましょう →