Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Everyone builds agent memory for store-and-search. I built the other half: write and delete.

Описание и применение

memgovern добавляет в память агента операции записи, удаления и разрешения конфликтов, обеспечивая экспоненциальный спад важности, обратимые пометки удаления и ручное разрешение конфликтов.

Задача

Agent memory systems focus on storing and retrieving embeddings but ignore how memories should be written, deleted, and reconciled when conflicting.

Результат

memgovern adds write, delete, and conflict handling to agent memory, enabling decay, reversible deletions, and manual conflict resolution.

Рабочий процесс

  • Initialize MemoryStore with conflict_policy=MANUAL
  • Write a memory with importance
  • Write a conflicting memory on same key
  • Resolve conflict by choosing winner
  • Delete a memory with a reason
  • Audit a key to view history

Доказательства

memgovern treats these as first-class operations. Zero dependencies, SQLite under the hood:

Источник

Decay: memories carry importance + TTL; queries rank by exponential-decay score, not recency alone.

Источник

Tombstones: deletes are tombstones, not erasures — reversible, with a reason attached, full audit trail.

Источник

Conflict arbitration: a contradictory write on the same key is quarantined as PENDING. You pick the winner (new / old / both / human decides) instead of silently clobbering.

Источник

  • Дата записи: 2026-10-01T18:56:06.020Z