neo4j-agent-memory-skill
为需要图形化持久记忆的智能代理提供成熟的图数据库实现。
使用托管服务或写入图可能上传敏感上下文到第三方。
基于 Neo4j 的 agent 记忆库,提供短期/长期/推理层级记忆。
把 Neo4j 当作 AI agent 的记忆库,提供短期、长期和推理级别三层记忆,核心包是 neo4j-agent-memory,另有托管服务 NAMS(memory.neo4jlabs.com)。适合需要持久上下文、记忆检索或把记忆图接入 LangChain、LlamaIndex 等框架的场景。特别之处是把多种记忆层以图结构统一保存,便于聚合与推理。
▸ 展开 SKILL.md 英文原文
Authoritative reference for the neo4j-agent-memory Python package — a graph-native memory system for AI agents built on Neo4j — and for the hosted service (NAMS) at memory.neo4jlabs.com. Use this skill whenever the user mentions neo4j-agent-memory, agent memory with Neo4j, context graphs, the POLE+O model, MemoryClient/MemorySettings, the memory MCP server, or any of the framework integrations (LangChain, PydanticAI, CrewAI, AWS Strands, Google ADK, Microsoft Agent Framework, OpenAI Agents, LlamaIndex). Also use when the user mentions the hosted service at memory.neo4jlabs.com, NAMS, the Neo4j Agent Memory Service, the `nams_` API key prefix, or the hosted MCP endpoint. Also use when writing documentation, blog posts, tutorials, PRDs, or code samples for the project, when comparing agent memory approaches, or when positioning graph-native memory against vector-only approaches — even if the user doesn't explicitly name the package.
帮我安装这个 skill:https://raw.githubusercontent.com/neo4j-contrib/neo4j-skills/main/neo4j-agent-memory-skill/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/neo4j-contrib/neo4j-skills/main/neo4j-agent-memory-skill/SKILL.md"# neo4j-agent-memory Authoritative reference for the `neo4j-agent-memory` Python package — a Neo4j Labs project that gives AI agents three distinct memory layers (short-term, long-term, reasoning) in a single knowledge graph. > ⚠️ **Verify authoritative state before writing.** Version numbers, extras, tool counts, and API surface change between releases. The values in this skill reflect a specific point in time. Before publishing anything version-sensitive, confirm against **PyPI** (`https://pypi.org/project/neo4j-agent-memory/`) and the **GitHub README** (`https://github.com/neo4j-labs/agent-memory`). PyPI is the authoritative source for version numbers — never infer. ## When to Use - B