Agent Skills › rohitg00/agentmemory › agentmemory-architecture

agentmemory-architecture

GitHub

agentmemory 是面向编码代理的本地记忆服务器,基于 iii 引擎构建。支持混合检索(BM25、向量及图扩展)、自动生命周期管理及 REST/MCP 接口。适用于理解底层架构、系统扩展或查询记忆存储与获取机制。

plugin/skills/agentmemory-architecture/SKILL.md rohitg00/agentmemory

触发场景

推理记忆端到端存储与检索机制 扩展 agentmemory 系统功能 解答 agentmemory 内部工作原理

安装

npx skills add rohitg00/agentmemory --skill agentmemory-architecture -g -y
更多选项

非标准路径

npx skills add https://github.com/rohitg00/agentmemory/tree/main/plugin/skills/agentmemory-architecture -g -y

不安装直接使用

npx skills use rohitg00/agentmemory@agentmemory-architecture

指定 Agent (Claude Code)

npx skills add rohitg00/agentmemory --skill agentmemory-architecture -a claude-code -g -y

安装 repo 全部 skill

npx skills add rohitg00/agentmemory --all -g -y

预览 repo 内 skill

npx skills add rohitg00/agentmemory --list

SKILL.md

Frontmatter
{
    "name": "agentmemory-architecture",
    "description": "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.",
    "user-invocable": false
}

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.

版本历史

  • a8e7d19 当前 2026-07-24 11:38

同 Skill 集合

plugin/skills/agentmemory-config/SKILL.md
plugin/skills/agentmemory-hooks/SKILL.md
plugin/skills/agentmemory-mcp-tools/SKILL.md
plugin/skills/agentmemory-rest-api/SKILL.md
plugin/skills/commit-context/SKILL.md
plugin/skills/commit-history/SKILL.md
plugin/skills/forget/SKILL.md
plugin/skills/handoff/SKILL.md
plugin/skills/lesson/SKILL.md
plugin/skills/memory-discipline/SKILL.md
plugin/skills/recall/SKILL.md
plugin/skills/recap/SKILL.md
plugin/skills/remember/SKILL.md
plugin/skills/session-history/SKILL.md
plugin/skills/write-agentmemory-skill/SKILL.md
plugin/skills/agentmemory-agents/SKILL.md

元信息

文件数
0
版本
bcf4f0d
Hash
e0ef13c1
收录时间
2026-07-24 11:38

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-14 10:18
浙ICP备14020137号-1