Skip to main content

Kiokuko for Hermes Agent

Hermes専用の記憶pluginです。compact時と会話終了時に、プロジェクト内のファイル・設定で確認できた項目を記憶として保存します。検証済みの記憶はプロジェクト内で優先して再利用し、kioku-curationで選んだ項目をGlobalへ共有できます。本人・会話ごとの分離は維持します。

通常のモデル提案は承認待ちです。自動採用は実ファイルと照合できる設定値・記載内容に限り、推論や教訓を「事実」として自動確定しません。

Python 3.11–3.13、SQLite、Hermes 0.21系列を対象にしています。統合テストの固定コミットと検証範囲は検証記録を参照してください。

導入

Hermesと同じPython環境で、このcheckoutからインストールします。

python -m pip install .
python -m hermes_kiokuko setup
hermes kiokuko doctor

setupは対象Hermes profileで一般pluginを有効にし、nativeのMEMORY.mdとUSER.mdを両方無効にします。既存ファイルは変更・削除・自動importしません。設定後はagentを再起動してください。

保存と承認

通常のCLI会話、または本人を確認できるDMで、メッセージ全体を次の形式にすると原文を保存します。本文は600文字までです。

@kiokuko remember --scope principal
返答は日本語にする。

モデルの提案や自由な自然文の「覚えて」は承認待ちになります。

hermes kiokuko pending
hermes kiokuko approve CANDIDATE_ID

承認画面でclaim・scope・根拠・更新対象revisionを確認します。表示後に内容が変わった場合は承認を拒否します。

@kiokuko correct mem_ID --expected-revision 1
返答は英語にする。
@kiokuko forget mem_ID --expected-revision 2

訂正・撤回はcontinueなどの短い入力でも再提示します。過去のHermes履歴を書き換える機能ではありません。

運用

プロジェクトのディレクトリで実行すると、検証済み記憶を再確認して選べます。

kioku-curation
# または hermes kioku-curation

番号でチェックを切り替え、sで共有内容を確認、shareで確定します。Globalは現在のHermes profileの全利用者・全プロジェクトへの共有です。元のプロジェクト記憶は残ります。

検証できる内容、compact後の処理時点、操作例は記憶の検証とcurationを参照してください。

hermes kiokuko status
hermes kiokuko show ENTRY_ID
hermes kiokuko backup /path/to/new-backup-directory
hermes kiokuko purge ENTRY_ID

purgeは対象確認後に、稼働DB内の本文・根拠・候補・検索データを削除します。履歴の訂正に必要な最小metadataは残ります。Hermes履歴、既存backup/export、ディスクの物理消去は対象外です。

運用・境界 · 実装仕様 · テストの実行

Metadata

Release files for hermes-kiokuko 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hermes-kiokuko 0.1.0
File Size Uploaded Provenance Actions
hermes_kiokuko-0.1.0.tar.gz 100.4 kB Without provenance Details for hermes_kiokuko-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hermes-kiokuko 0.1.0
File Interpreter ABI Platform Actions
hermes_kiokuko-0.1.0-py3-none-any.whl Python 3 none any Details for hermes_kiokuko-0.1.0-py3-none-any.whl

Total release size: 158.0 kB

Release files / hermes_kiokuko-0.1.0.tar.gz

Download URL hermes_kiokuko-0.1.0.tar.gz
Size 100.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9f15f327df66d5af1eb7bd395cac2a8d68dd3a8a11639b85a25e8f5ced4c529a
BLAKE2b-256 checksum
How to use checksums
42245b9a6a93f01e63cbc1f6e53bdd6e52fb4065a8ca94baf3bc1b46fe64ca83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / hermes_kiokuko-0.1.0-py3-none-any.whl

Download URL hermes_kiokuko-0.1.0-py3-none-any.whl
Size 57.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e8ea40433fc5d31641960248c8223859804f47789dbb3748f28e1543fe69290
BLAKE2b-256 checksum
How to use checksums
a04560e08327a24a762cb33a333613efecaaa412526c57fea2068b197d1079e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for hermes-kiokuko 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page