Agentmemory Architecture

rohitg00/agentmemory/plugin/skills/agentmemory-architecture

作者 rohitg00007a1a7fe864無授權條款29K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新

How agentmemory is built, the iii engine primitives it runs on, its storage model, ports, and the viewer. Use when reasoning about how memory is stored or retrieved end to end, when extending the system, or when answering how agentmemory works under the hood.

僅含說明AI & Agents
AI 產生的概覽

說明 agentmemory 的內部架構,涵蓋其 iii 引擎原語、檢索模型、儲存生命週期、連接埠與檢視器。

功能
此技能提供關於 agentmemory 建構方式的參考文件,說明其 iii 引擎原語、混合檢索模型、儲存與生命週期、連接埠指派以及即時檢視器。它解釋記憶如何被擷取、建立索引並端到端地提供。它是知識文件,而非產生檔案或執行程式的工具。
適用情境
在需要端到端推論記憶如何儲存或檢索時、擴充該系統時,或回答 agentmemory 底層運作方式時使用。
執行需求
除代理外無需其他條件;僅為說明性指示,不附帶任何指令碼。

agentmemory is a memory server for coding agents. It runs locally, captures observations, indexes them for hybrid retrieval, and serves them back over REST and MCP. It is built on the iii engine.

iii primitives

Everything is a function, a trigger, or worker state on the iii engine. There is no separate plugin system; the worker registers functions (mem::*) and HTTP triggers (api::*) and the engine routes calls. agentmemory does not bypass iii; new capability is a new function plus a trigger.

Retrieval model

Recall is hybrid: BM25 keyword search plus vector similarity plus graph expansion over linked concepts. The default install needs no API key because embeddings run on-device and BM25 needs none. An LLM provider only adds richer summaries and auto-injection, both opt-in.

Storage and lifecycle

Memories carry content, concepts, files, importance, and timestamps, grouped into sessions and optionally linked to commits. A lifecycle of capture, compress, consolidate, and forget keeps the store useful over time rather than letting it grow unbounded.

Ports

REST is the anchor at 3111. Streams = N+1 (3112), viewer = N+2 (3113), engine = N+46023 (49134). --instance N shifts the whole block by N*100.

Viewer

A real-time web viewer at http://localhost:3113 shows memory building as sessions run. Useful for demos and for confirming capture is working.

See also

  • agentmemory-mcp-tools and agentmemory-rest-api for the surfaces.
  • agentmemory-hooks for automatic capture.
  • agentmemory-config for ports and feature flags.

來源與署名

來源:rohitg00/agentmemory位於plugin/skills/agentmemory-architecture提交007a1a7

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架