ディレクトリに戻る

distill-kura

キュレーション掲載メンテナンス: 活発

lna-lab/distill-kura

「蒸留蔵」— エージェント向け蒸留型長期記憶。意味で想起でき、書き込みはエビデンスによって制限され、エージェントのモードごとに 1 つの蔵を持ちます。DSH プラグインと MCP サーバーの両方で提供されます。

GitHub で見る
$ git clone https://github.com/lna-lab/distill-kura && cd distill-kura

40

スター

5

フォーク

Python

言語

MIT

ライセンス

2026-08-21

作成日

2026-09-03

最終プッシュ

エージェント向けの蒸留型長期記憶:意味で検索し、証拠でゲートする書き込みを行い、エージェントモードごとに 1 つの kura。ベクター DB・埋め込み・フレームワーク不要のネイティブ DeepSeek Harness プラグイン。

DSH 統合

ネイティブ実行

作者による申告

安全性監査

未監査

最終検証日

2026-09-04

ライセンス

MIT

01どんなタスクに使えるのか?

  • Give each DeepSeek Harness agent preset its own persistent memory store

    A separate kura store per agent mode, recalled by meaning, so a preset change switches what the agent remembers

    DSH users running multiple agent presets who want mode-scoped long-term memory

  • Write agent knowledge without poisoning the store

    Memories distilled and poured only after an evidence gate (class, candidate, judge), not blind accumulation

    Builders who want durable, auditable agent memory instead of unchecked assertions

02DeepSeek Harness への導入方法

前提条件

  • Python 3.11+ — no third-party dependencies (`[dev]` adds only pytest)
  • Node.js 20+ — required only for the DSH plugin
  • An OpenAI-compatible model endpoint answering `POST <url>/chat/completions`

インストール手順

  1. 01

    $ git clone https://github.com/lna-lab/distill-kura && cd distill-kura

  2. 02

    pip install -e . # or just run: python3 -m distill_kura.cli

  3. 03

    cp kura.example.toml kura.toml # edit: one model endpoint is enough to start

  4. 04

    kura init main --path ~/kura/main # create an empty store

  5. 05

    kura serve # http://127.0.0.1:8085

導入成功の確認

  • curl -s -X POST localhost:8085/recall -H 'content-type: application/json' \

03DSH 統合と能力の範囲

DSH 統合ネイティブ実行

Loads as a native DeepSeek Harness plugin through `@deepseek-ai/dsh-tools` `defineTool`, exposing `kura_*` tools bound to a preset's memory store.

  • Semantic recall (recognition)

    a question, or a named memorypicked memory slugs plus their [[link]] neighbourhood as context

  • Evidence-gated writing

    a journal of agent eventsnew memories poured only after class → candidate → gate → judge

  • Per-mode memory stores

    an agent preset / modea bound kura store; a preset change switches the active memory

  • Ships as DSH plugin, MCP server, HTTP service, Python library

    any hostthe same engine behind a DSH plugin, MCP, HTTP (:8085) or import

04誰に向いているのか?使うべきでない場面は?

向いている用途

  • DSH users running multiple agent presets who want mode-scoped long-term memory
  • Builders who want durable, auditable agent memory instead of unchecked assertions

不向きな用途

  • Requires an OpenAI-compatible `POST <url>/chat/completions` model endpoint; the API key is read from an environment variable you name, never stored in config.

05互換性・メンテナンス・セキュリティ上の注意

  • The DSH plugin needs Node.js 20+; the core engine is Python 3.11+ with no third-party dependencies.
  • Requires an OpenAI-compatible `POST <url>/chat/completions` model endpoint; the API key is read from an environment variable you name, never stored in config.
  • Standard library only — no vector database, no embeddings, no framework; recognition uses a small local model over the whole index in one prompt.
2026-08-212026-09-03作者は未記載

Active repo (master), MIT licensed, no tagged release as of 2026-09-03.

06よくある質問

distill-kura を DeepSeek Harness に接続するには?

`@deepseek-ai/dsh-tools` の `defineTool` を通じてネイティブ DSH プラグインとして読み込まれ、プリセットのストアに束縛された `kura_*` ツールを公開する。プリセットでストアを指定すれば、プリセット切り替えで記憶全体が切り替わる。

埋め込みなしで検索はどう実現される?

インデックス全体(記憶 1 件につき 1 行)を 1 プロンプトに入れ、小モデルが質問に関係する記憶を認識する。名前付き記憶は決定的ヒット。README によれば約 500 件のインデックスは約 6k トークン。

メモリ書き込みは安全か?

書き込みは証拠でゲートされる:ジャーナルを分類・候補生成・GATE 通過、その後作成・草稿・判定を経てから初めて注がれる。素の断言がそのまま事実として記録されることはない。

実行に必要な環境は?

Python 3.11+ でサードパーティ依存なし、DSH プラグインのみ Node.js 20+ が必要、および `POST <url>/chat/completions` に準拠する OpenAI 互換モデルエンドポイント。

08データと出典

  • 作者による申告github.com63743c3ebde7…

    Ships as a [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) plugin,

  • 作者による申告github.com63743c3ebde7…

    DSH switches **persona and tools** by agent preset. distill-kura switches **memory** by

このページは、プロジェクトの公開ドキュメント、リポジトリのメタデータ、および DSH Plugins の構造化解析に基づいて生成されています。最終検証日:2026-09-04。誤りを見つけた場合は、修正を送信してください。

🏆

dsh プラグイン おすすめ

最初に入れたい 12 のプラグイン。全カタログ・全カテゴリから厳選しました。

DSH Plugins は DeepSeek Harness プラグインの独立したコミュニティ ディレクトリです。DeepSeek との提携・公認はありません。サードパーティ製プラグインはセキュリティ監査を受けていません。インストール前にソースコードをご確認ください。

DeepSeek Harnessの新着プラグインを毎週お届け。スパムはありません。