ERINYS
ERINYS — Reflexives Gedächtnis für KI-Agenten
Aus existierenden Erinnerungen erschafft es sogar solche, die es nie gab.
Speichersysteme für KI-Agenten haben schon immer das menschliche Gedächtnis nachgeahmt. Kurzzeit-, Langzeit-, episodisches, semantisches Gedächtnis – Lehrbuchkategorien, die direkt auf Implementierungen übertragen wurden.
Irgendetwas fühlte sich immer falsch an.
Menschen vergessen. Aber bestehende Speichersysteme tun das nicht. Sie wachsen endlos und servieren veraltete Fakten mit demselben Gewicht wie frische. Menschen bemerken: „Moment, hast du vorhin nicht etwas anderes gesagt?“ Aber Speichersysteme überschreiben stillschweigend. Menschen verbinden zwei unabhängige Erfahrungen und denken: „Oh, das kann ich hier verwenden.“ Aber Speichersysteme speichern und rufen nur ab.
Was nachgeahmt werden musste, war nicht die Taxonomie des Gedächtnisses. Es war das Verhalten.
Dieses Unbehagen ist es, das ERINYS heraufbeschworen hat.
ERINYS ist ein Wachhund. Es erinnert sich, vergisst, hinterfragt und beißt.
Was ERINYS anders macht
Vergessen. Die meisten Speichersysteme sammeln nur an. ERINYS lässt Erinnerungen im Laufe der Zeit gemäß der Ebbinghaus-Vergessenskurve verfallen. Altes R
Available Tools
29 toolserinys_backfillErinys BackfillC
Plan or apply bounded historical records with event-ledger idempotency.
Inputs: items (required), run_key (required), mode, expected_plan_digest, +1 more. Returns: object
erinys_backupErinys BackupC
Create a consistent SQLite backup and return backup metadata.
Inputs: path. Returns: object
erinys_batch_saveErinys Batch SaveC
Bulk-add observations with automatic similarity linking.
Inputs: items (required), auto_link. Returns: object
erinys_collideErinys CollideC
Manually collide two observations to generate insight.
Inputs: obs_a_id (required), obs_b_id (required). Returns: object
erinys_conflict_checkErinys Conflict CheckC
Detect contradicting observations.
Inputs: observation_id (required). Returns: object
erinys_contextErinys ContextC
Get recent session context for a project.
Inputs: project (required), limit, intended_use. Returns: object
erinys_deleteErinys DeleteB
Delete an observation and cascade dependent rows via FK rules.
Inputs: id (required). Returns: object
erinys_distillErinys DistillC
Distill observation to higher abstraction level.
Inputs: observation_id (required), level. Returns: object
erinys_dreamErinys DreamC
Run Dream Cycle: batch collision of candidate memory pairs.
Inputs: max_collisions. Returns: object
erinys_evalErinys EvalC
Self-evaluate memory quality (LOCOMO-inspired metrics).
Inputs: project. Returns: object
erinys_exportErinys ExportC
Export observations as markdown payload (Obsidian-compatible [[wikilinks]]).
Inputs: format, project. Returns: object
erinys_forgetErinys ForgetA
VMG Verified Forgetting: 観測とその distilled 派生物を全 DB substrate から 削除し、不在を membership test で実証する。
forgetting は派生物に伝播する: distilled 子孫を含む closure ごと忘れる (子に親の情報が残るのを防ぐ)。closure を leaf-first で単一Txで削除し、 observations/vec/FTS(トリガ)/edges/collisions(CASCADE) を消す。 erinys_delete と違い、子を持つ親も忘れられる(NO ACTION FK を closure で解消)。 dry_run(既定)では削除せず closure と現在の在席のみ返す。
範囲外(正直な明示): Obsidian 書庫は次回 export の orphan 掃除で遅延除去、 .bak バックアップは復元用に設計上保持するため、この DB 検証の対象外。
Inputs: id (required), dry_run. Returns: object
erinys_getErinys GetB
Get a single observation by ID (full content, untruncated).
Inputs: id (required), intended_use. Returns: object
erinys_lineageErinys LineageB
VMG Provenance Visibility: 記憶の出自系譜を祖先方向に辿って返す。
各ノードの provenance.parents(無ければ distilled_from)を辿り、 どの記憶からどう派生したかの lineage-complete な鎖を構成する。
Inputs: id (required), max_depth. Returns: object
erinys_linkErinys LinkC
Create typed edge between observations.
Inputs: relation (required), source_id (required), target_id (required), weight. Returns: object
erinys_pruneErinys PruneC
Prune decayed observations below threshold.
Inputs: dry_run, threshold. Returns: object
erinys_recallErinys RecallC
Recall recent observations for context.
Inputs: limit, project, intended_use. Returns: object
erinys_reinforceErinys ReinforceC
Reinforce an observation by updating access_count and last_accessed.
Inputs: observation_id (required). Returns: object
erinys_saveErinys SaveB
Save a structured observation to ERINYS memory.
principal: この記憶を書いた主体(例 claude-opus-4-8 / codex)。省略時は env ERINYS_PRINCIPAL → "unknown"。VMG provenance に記録される。
P0-7 (opt-in): allowed_projects / allowed_scopes は書き込み許可の access gate。明示引数 > env(ERINYS_ALLOWED_PROJECTS / ERINYS_ALLOWED_SCOPES)> 無効(None)。どれも設定されなければ従来どおり無条件に保存する。許可外の project/scope への書き込みは POLICY_DENIED で拒否する。
Inputs: title (required), content (required), type, scope, +8 more. Returns: object
erinys_save_promptErinys Save PromptC
Save a user prompt to track intent and goals.
Inputs: content (required), project, session_id. Returns: object
erinys_searchErinys SearchC
RRF hybrid search (FTS5 keyword + vector similarity).
P0-7 (opt-in): allowed_projects / allowed_scopes は取得許可の access gate。 明示引数 > env(ERINYS_ALLOWED_PROJECTS / ERINYS_ALLOWED_SCOPES)> 無効 (None)。設定時は、許可外の project/scope の行を結果から除外する(global scope は常に可視)。どれも設定されなければ従来どおり全件返す。
Inputs: query (required), limit, project, principal, +6 more. Returns: object
erinys_session_endErinys Session EndC
End a session with optional summary.
Inputs: id (required), summary. Returns: object
erinys_session_startErinys Session StartC
Start a new session.
Inputs: id (required), project (required), directory. Returns: object
erinys_session_summaryErinys Session SummaryC
Save comprehensive end-of-session summary (Goal/Discoveries/Accomplished).
Inputs: content (required), project (required), session_id. Returns: object
erinys_statsErinys StatsC
Database statistics: observation count, project breakdown, health.
Inputs: project. Returns: object
erinys_supersedeErinys SupersedeC
Supersede an old observation with updated fact.
Inputs: old_id (required), reason (required), new_content (required). Returns: object
erinys_timelineErinys TimelineC
Query facts valid at a specific point in time.
Inputs: query (required), as_of. Returns: object
erinys_traverseErinys TraverseC
Traverse graph from a starting observation.
Inputs: start_id (required), max_depth, relation_filter. Returns: object
erinys_updateErinys UpdateB
Update an existing observation. Only provided fields are changed.
Inputs: id (required), type, scope, title, +3 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 29 tools
Several tools have overlapping memory-access purposes: erinys_recall vs erinys_context vs erinys_search, erinys_save vs erinys_batch_save, erinys_delete vs erinys_forget, and erinys_session_summary vs erinys_session_end. The descriptions clarify nuances, but an agent may still hesitate between near-duplicate operations.
All tools consistently use snake_case with the erinys_ prefix. However, the naming mixes verb-only forms (recall, export, link, prune), noun forms (context, stats, timeline, lineage), and compound forms (batch_save, conflict_check), so the pattern is mostly but not fully predictable.
With 29 tools, the surface is heavy for a memory server and exceeds the typical well-scoped range. Some operations could likely be consolidated or made optional groups, especially the near-duplicate save/read/delete/session variants.
The server covers observation CRUD, search, sessions, graph linking/traversal, temporal/provenance operations, export, backup, stats, and advanced maintenance such as dreaming and forgetting. Minor gaps exist, such as backup without restore/import and link creation without an explicit unlink operation.
Maintenance
Related MCP Connectors
Cloud-hosted MCP server for durable AI memory
Cloudflare Workers MCP server: agent-memory
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Graph-native persistent memory for AI agents — 33 MCP tools, zero-LLM writes.
Related MCP Servers
AlicenseNot gradedqualityAmaintenanceMCP server providing cognitive memory tools (remember, recall, think, etc.) for AI agents, enabling forgetting, consolidation, and contradiction detection.179Apache 2.0- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides AI agents with persistent, multi-layered memory inspired by the human brain, including consolidation, self-reflection, and generative replay.1MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that gives AI agents persistent, forgetting memory with layered decay, semantic search via token overlap, and zero external dependencies.MIT
- AlicenseAqualityBmaintenanceAn MCP server providing long-term memory for AI agents with forgetting curves, consolidation, and graph-based retrieval.1014 npmMIT