Creator · neo4j-contrib
Last updated · Sep 1, 2026
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, contex
Creator · neo4j-contrib
Last updated · Sep 1, 2026
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, contex
Creator · neo4j-contrib
Last updated · Sep 1, 2026
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, contex
Creator · neo4j-contrib
Last updated · Sep 1, 2026
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, contex
Do not auto-install
Install targets
Codex install prompt
Install the "neo4j-agent-memory-skill" agent skill from https://github.com/neo4j-contrib/neo4j-skills/tree/main/neo4j-agent-memory-skill. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: 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. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"neo4j-contrib-neo4j-agent-memory-skill","task":"Install neo4j-agent-memory-skill","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Design assets, images, video, audio, multimodal media, presentation, and creative production skills.
Scenario
RAG and knowledge
I need my agent to build a RAG workflow over documents and retrieve reliable context.
Agent fit
Claude Code + OpenAI Agents + Cursor
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skill
Maintenance
fresh
16d since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
101
66/100 Quality · 64/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Do not auto-installTrust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Choose a stronger alternative or inspect the source manually before any install attempt.
Stars
101 GitHub stars
Repo activity
101 stars, 35 forks
Maintenance
16d since push
License
MIT
Install
npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skill
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skillDo not use when
Alternative
174.2K Stars
npx skills add anthropics/skills --skill frontend-design
Alternative
84.4K Stars
npx skills add Leonxlnx/taste-skill --skill design-taste-frontend
Alternative
174.2K Stars
npx skills add anthropics/skills --skill canvas-design
Alternative
174.2K Stars
npx skills add anthropics/skills --skill brand-guidelines
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill may drive a browser or interact with web pages.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20neo4j-agent-memory-skill%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20neo4j-agent-memory-skill%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/neo4j-contrib-neo4j-agent-memory-skill/install
Agent should check
Copy prompt
Task: Use neo4j-agent-memory-skill in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20neo4j-agent-memory-skill%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/neo4j-contrib-neo4j-agent-memory-skill/install
Install command: npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skill
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/neo4j-contrib-neo4j-agent-memory-skill/install
LLM text format
/api/skills/neo4j-contrib-neo4j-agent-memory-skill/install?format=text
Find alternatives
/api/skills/search?q=neo4j-agent-memory-skill&limit=3
Agent prompt
Use neo4j-agent-memory-skill for this task. Review https://www.openagentskill.com/api/skills/neo4j-contrib-neo4j-agent-memory-skill/install, then install with: npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skillRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/neo4j-contrib-neo4j-agent-memory-skill
LLM text
/api/registry/manifest/neo4j-contrib-neo4j-agent-memory-skill?format=text
Install alias
/api/registry/install/neo4j-contrib-neo4j-agent-memory-skill
Recommend
/api/registry/recommend?task=Use%20neo4j-agent-memory-skill%20in%20an%20agent%20workflow&limit=3
Agent fit
RAG and knowledge
Use-case tags
Platforms
Claude Code, OpenAI Agents, Cursor, LangChain, LlamaIndex, Browser agents
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
RAG and knowledge
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Trust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
GitHub adoption
INFO101 GitHub stars
Stars/forks activity
CHECK101 stars, 35 forks; issue activity unavailable in current metadata
Recent maintenance
PASS16d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Choose a stronger alternative or inspect the source manually before any install attempt.
Quality profile
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Search private knowledge
I need my agent to build a RAG workflow over documents and retrieve reliable context.
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Workflow fit
Ingest, retrieve, and cite
A workflow for document-heavy agents that ingest files, create searchable knowledge, retrieve relevant context, and answer with grounded sources.
Scrape, clean, and reuse web data
A practical workflow for agents that crawl public pages, extract clean content, normalize data, and hand it to downstream research or RAG workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
--- name: neo4j-agent-memory-skill description: 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. version: 1.0.6 ---
# 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
- Building AI agents that need persistent memory (short-term, long-term, reasoning traces) backed by Neo4j - Using the `neo4j-agent-memory` Python package or the hosted NAMS service at memory.neo4jlabs.com - Integrating agent memory with LangChain, PydanticAI, CrewAI, AWS Strands, Google ADK, OpenAI Agents, LlamaIndex, or Microsoft Agent Framework - Writing documentation, tutorials, or positioning content about graph-native agent memory - Comparing graph-native memory against vector-only approaches
## When NOT to Use
- **Plain Neo4j driver connections** (no memory layer needed) → use `neo4j-driver-python-skill` - **Writing or optimizing Cypher queries** → use `neo4j-cypher-skill` - **GraphRAG retrieval pipelines** → use `neo4j-graphrag-skill`
---
## Project at a Glance
| Field | Value | |-------|-------| | Package | `neo4j-agent-memory` | | PyPI | https://pypi.org/project/neo4j-agent-memory/ | | GitHub | https://github.com/neo4j-labs/agent-memory | | Canonical docs | https://neo4j.com/labs/agent-memory/ | | Hosted service | https://memory.neo4jlabs.com (NAMS — early-access, not yet documented on official project pages) | | Hosted MCP endpoint | https://memory.neo4jlabs.com/mcp (SSE, bearer auth) | | License | Apache-2.0 | | Python | 3.10+ | | Neo4j | 5.20+ (required for vector indexes) | | Status | Experimental (Neo4j Labs, community-supported) | | Current version (at time of writing) | **0.1.1** — **always verify PyPI before citing** |
## What It Is (One Sentence)
A graph-native memory system for AI agents that stores conversations, builds knowledge graphs, and records agent reasoning — all as connected nodes in a single Neo4j database.
## Consumption Models
`neo4j-agent-memory` ships in two consumption models. They are the same underlying project — the differences are how you run it, how you authenticate, and what's managed for you.
| Option | What It Is | When to Choose | |--------|------------|----------------| | **Self-hosted library** | `pip install neo4j-agent-memory` + your own Neo4j (local / Docker / Aura). Full Python API, local MCP server, and framework integrations run in your process. | Dev, on-prem data, custom extraction pipelines, full control, bringing your own embeddings / LLMs. | | **Hosted (NAMS)** | Managed service at `https://memory.neo4jlabs.com`. Per-workspace isolated Neo4j Aura database, REST API, remote MCP endpoint, web console. | Zero-infra trials, sharing memory across agents / machines, demos, teams that don't want to run Neo4j. |
> ⚠️ **NAMS is reachable but not yet referenced in the GitHub README or `neo4j.com/labs/agent-memory/`.** Treat it as early-access / soft-launched. Do not assert SLAs, pricing, or GA status in published content. See the **Hosted Service (NAMS)** section below for details.
## The Three Memory Types
The defining architectural feature. Every piece of content describing the project should lead with this trinity.
| Memory Type | Stores | Color Convention | |-------------|--------|------------------| | **Short-Term** | Conversation messages, session history, sequential message chains, metadata-filtered search, LLM-powered summaries | Green (`#B2F2BB` / `#2F9E44`) | | **Long-Term** | Entities (people, places, orgs), preferences, facts, and the relationships between them — built automatically from conversations via the POLE+O model | Orange/Yellow (`#FFEC99` / `#F08C00`) | | **Reasoning** | Decision traces, tool call provenance, thought-action-outcome chains — so the agent can learn from its own past reasoning patterns | Purple (`#D0BFFF` / `#9C36B5`) |
**Reasoning memory is the primary competitive differentiator.** Most competing systems cover short-term and long-term but treat reasoning as an afterthought or omit it entirely. Lead with this when positioning.
## The POLE+O Model
Long-term memory uses the POLE+O entity framework — the canonical entity classification for this project:
- **P**erson - **O**rganization - **L**ocation - **E**vent - **+O** Object (anything that doesn't fit the core four — products, concepts, projects, etc.)
When diagramming the data model, use ellipses for entity nodes and labeled arrows (UPPER_SNAKE_CASE) for relationships, consistent with Neo4j Browser conventions.
## Installation
Core install plus extras. The extras pattern is `pip install neo4j-agent-memory[<extra>]`.
```bash pip install neo4j-agent-memory # Core pip install neo4j-agent-memory[openai] # + OpenAI embeddings pip install neo4j-agent-memory[mcp] # + MCP server pip install neo4j-agent-memory[langchain] # + LangChain pip install neo4j-agent-memory[all] # Everything ```
**Full extras list** (subject to change — verify PyPI): `all`, `anthropic`, `aws`, `bedrock`, `cli`, `crewai`, `extraction`, `full`, `fuzzy`, `gliner`, `google`, `google-adk`, `langchain`, `llamaindex`, `mcp`, `microsoft-agent`, `observability`, `openai`, `openai-agents`, `opentelemetry`, `opik`, `pydantic-ai`, `sentence-transformers`, `spacy`, `strands`, `vertex-ai`.
## Python API (Quickstart)
Canonical import pattern and basic usage. This is the shape to reproduce in tutorials and examples.
```python import asyncio from neo4j_agent_memory import MemoryClient, MemorySettings
async def main(): settings = MemorySettings( neo4j={"uri": "bolt://localhost:7687", "password": "your-password"} )
async with MemoryClient(settings) as memory: # Short-term: store a conversation message await memory.short_term.add_message( session_id="user-123", role="user", content="Hi, I'm John and I love Italian food!" )
# Long-term: build the knowledge graph await memory.long_term.add_entity("John", "PERSON") await memory.long_term.add_preference( category="food", preference="Loves Italian cuisine" )
# Get combined context for an LLM prompt context = await memory.get_context( "What restaurant should I recommend?", session_id="user-123" ) print(context)
asyncio.run(main()) ```
**Note the async context manager pattern** (`async with MemoryClient(settings) as memory:`) — this is the canonical form.
## MCP Server
Exposes memory as tools for MCP-compatible AI assistants (Claude Desktop, Claude Code, Cursor, VS Code Copilot).
### Invocation
The authoritative one-liner (no install needed):
```bash uvx "neo4j-agent-memory[mcp]" mcp serve --password <neo4j-password> ```
Install-local alternative:
```bash neo4j-agent-memory mcp serve --password <pw> ```
### Transports and Profiles
```bash # stdio (default — Claude Desktop, Claude Code) neo4j-agent-memory mcp serve --password <pw>
# SSE (network deployment) neo4j-agent-memory mcp serve --transport sse --port 8080 --password <pw>
# Core profile — fewer tools, less context overhead neo4j-agent-memory mcp serve --profile core --password <pw>
# Session continuity across conversations neo4j-agent-memory mcp serve \ --session-strategy per_day \ --user-id alice \ --password <pw> ```
### Tool Profiles
| Profile | Tools | Contents | |---------|-------|----------| | **core** | 6 | `memory_search`, `memory_get_context`, `memory_store_message`, `memory_add_entity`, `memory_add_preference`, `memory_add_fact` | | **extended** (default) | 16 | Core + conversation history, entity details, graph export, relationship creation, reasoning traces, observations, read-only Cypher |
As of v0.1.1, `memory_add_fact` accepts a `metadata` parameter, bringing it to parity with `memory_add_entity`.
### Claude Code Registration
```bash claude mcp add neo4j-agent-memory -- \ uvx "neo4j-agent-memory[mcp]" mcp serve --password <neo4j-password> ```
### Claude Desktop Config
```json { "mcpServers": { "neo4j-agent-memory": { "command": "uvx", "args": ["neo4j-agent-memory[mcp]", "mcp", "serve", "--password", "your-password"], "env": { "OPENAI_API_KEY": "sk-..." } } } } ```
> For the **hosted** MCP endpoint at `memory.neo4jlabs.com/mcp`, see the **Hosted Service (NAMS)** section below — it uses SSE transport and bearer-token auth, not a local `uvx` invocation.
## Hosted Service (NAMS)
**NAMS** — Neo4j Agent Memory Service — is the managed deployment of `neo4j-agent-memory` at `https://memory.neo4jlabs.com`. It bundles the REST API, the MCP server, a web console, and per-workspace Neo4j Aura databases.
> ⚠️ **Verify against the live service before citing.** NAMS is not documented on the GitHub README or `neo4j.com/labs/agent-memory/`. Endpoint shapes, tool counts, auth flows, and limits can change without a release note. Before publishing anything NAMS-specific, re-check the live site and the OpenAPI spec at `/openapi.json`.
### Surface
- **Base URL:** `https://memory.neo4jlabs.com` - **Web console:** root URL — workspace management, memory browsing, entity visualization - **REST API:** `https://memory.neo4jlabs.com/v1/` — OpenAPI spec at `/openapi.json`; covers conversations, entities, observations, reasoning traces, and read-only Cypher - **MCP endpoint:** `https://memory.neo4jlabs.com/mcp` — SSE transport, exposes the hosted tool set, bearer-token auth
### Auth
- **API keys**, prefixed `nams_`, created and rotated from the web console — used as a bearer token for REST and MCP - **Auth0 OAuth2 (PKCE)** + scoped JWTs for interactive user flows
Don't mix these with the self-hosted library's `--password` Neo4j credential — they serve different sides of the stack.
### Storage Model
Each workspace is backed by an **isolated Neo4j Aura database**, provisioned on demand. Bring-your-own-Neo4j is supported as an alternative, configured per workspace.
### Rate Limits
Usage counters are tracked per API key / workspace. Exact limits are not publicly documented — check the console or re-verify against the service before committing customers to numbers.
### Claude Code Registration (Hosted MCP)
```bash claude mcp add --transport sse neo4j-agent-memory-hosted \ https://memory.neo4jlabs.com/mcp \ --header "Authorization: Bearer <nams_api_key>" ```
### Claude Desktop Config (Hosted MCP)
```json { "mcpServers": { "neo4j-agent-memory-hosted": { "url":
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for neo4j-agent-memory-skill, ready for a manual X post.
neo4j-agent-memory-skill: Authoritative reference for the neo4j-agent-memory Python package — a graph-native memory sys... 101 stars https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill?ref=x
Listing + install path for neo4j-agent-memory-skill: https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill?ref=x Install: npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skill
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to neo4j-contrib but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill/audit)
[](https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)neo4j-contrib
@neo4j-contrib
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Do not auto-install
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
174.2K StarsTaste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
84.4K StarsCanvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
174.2K StarsAnthropic Brand Guidelines
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
174.2K StarsDo not auto-install
Install targets
Codex install prompt
Install the "neo4j-agent-memory-skill" agent skill from https://github.com/neo4j-contrib/neo4j-skills/tree/main/neo4j-agent-memory-skill. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: 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. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"neo4j-contrib-neo4j-agent-memory-skill","task":"Install neo4j-agent-memory-skill","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Design assets, images, video, audio, multimodal media, presentation, and creative production skills.
Scenario
RAG and knowledge
I need my agent to build a RAG workflow over documents and retrieve reliable context.
Agent fit
Claude Code + OpenAI Agents + Cursor
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skill
Maintenance
fresh
16d since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
101
66/100 Quality · 64/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Do not auto-installTrust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Choose a stronger alternative or inspect the source manually before any install attempt.
Stars
101 GitHub stars
Repo activity
101 stars, 35 forks
Maintenance
16d since push
License
MIT
Install
npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skill
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skillDo not use when
Alternative
174.2K Stars
npx skills add anthropics/skills --skill frontend-design
Alternative
84.4K Stars
npx skills add Leonxlnx/taste-skill --skill design-taste-frontend
Alternative
174.2K Stars
npx skills add anthropics/skills --skill canvas-design
Alternative
174.2K Stars
npx skills add anthropics/skills --skill brand-guidelines
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill may drive a browser or interact with web pages.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20neo4j-agent-memory-skill%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20neo4j-agent-memory-skill%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/neo4j-contrib-neo4j-agent-memory-skill/install
Agent should check
Copy prompt
Task: Use neo4j-agent-memory-skill in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20neo4j-agent-memory-skill%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/neo4j-contrib-neo4j-agent-memory-skill/install
Install command: npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skill
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/neo4j-contrib-neo4j-agent-memory-skill/install
LLM text format
/api/skills/neo4j-contrib-neo4j-agent-memory-skill/install?format=text
Find alternatives
/api/skills/search?q=neo4j-agent-memory-skill&limit=3
Agent prompt
Use neo4j-agent-memory-skill for this task. Review https://www.openagentskill.com/api/skills/neo4j-contrib-neo4j-agent-memory-skill/install, then install with: npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skillRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/neo4j-contrib-neo4j-agent-memory-skill
LLM text
/api/registry/manifest/neo4j-contrib-neo4j-agent-memory-skill?format=text
Install alias
/api/registry/install/neo4j-contrib-neo4j-agent-memory-skill
Recommend
/api/registry/recommend?task=Use%20neo4j-agent-memory-skill%20in%20an%20agent%20workflow&limit=3
Agent fit
RAG and knowledge
Use-case tags
Platforms
Claude Code, OpenAI Agents, Cursor, LangChain, LlamaIndex, Browser agents
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
RAG and knowledge
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Trust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
GitHub adoption
INFO101 GitHub stars
Stars/forks activity
CHECK101 stars, 35 forks; issue activity unavailable in current metadata
Recent maintenance
PASS16d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Choose a stronger alternative or inspect the source manually before any install attempt.
Quality profile
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Search private knowledge
I need my agent to build a RAG workflow over documents and retrieve reliable context.
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Workflow fit
Ingest, retrieve, and cite
A workflow for document-heavy agents that ingest files, create searchable knowledge, retrieve relevant context, and answer with grounded sources.
Scrape, clean, and reuse web data
A practical workflow for agents that crawl public pages, extract clean content, normalize data, and hand it to downstream research or RAG workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
--- name: neo4j-agent-memory-skill description: 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. version: 1.0.6 ---
# 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
- Building AI agents that need persistent memory (short-term, long-term, reasoning traces) backed by Neo4j - Using the `neo4j-agent-memory` Python package or the hosted NAMS service at memory.neo4jlabs.com - Integrating agent memory with LangChain, PydanticAI, CrewAI, AWS Strands, Google ADK, OpenAI Agents, LlamaIndex, or Microsoft Agent Framework - Writing documentation, tutorials, or positioning content about graph-native agent memory - Comparing graph-native memory against vector-only approaches
## When NOT to Use
- **Plain Neo4j driver connections** (no memory layer needed) → use `neo4j-driver-python-skill` - **Writing or optimizing Cypher queries** → use `neo4j-cypher-skill` - **GraphRAG retrieval pipelines** → use `neo4j-graphrag-skill`
---
## Project at a Glance
| Field | Value | |-------|-------| | Package | `neo4j-agent-memory` | | PyPI | https://pypi.org/project/neo4j-agent-memory/ | | GitHub | https://github.com/neo4j-labs/agent-memory | | Canonical docs | https://neo4j.com/labs/agent-memory/ | | Hosted service | https://memory.neo4jlabs.com (NAMS — early-access, not yet documented on official project pages) | | Hosted MCP endpoint | https://memory.neo4jlabs.com/mcp (SSE, bearer auth) | | License | Apache-2.0 | | Python | 3.10+ | | Neo4j | 5.20+ (required for vector indexes) | | Status | Experimental (Neo4j Labs, community-supported) | | Current version (at time of writing) | **0.1.1** — **always verify PyPI before citing** |
## What It Is (One Sentence)
A graph-native memory system for AI agents that stores conversations, builds knowledge graphs, and records agent reasoning — all as connected nodes in a single Neo4j database.
## Consumption Models
`neo4j-agent-memory` ships in two consumption models. They are the same underlying project — the differences are how you run it, how you authenticate, and what's managed for you.
| Option | What It Is | When to Choose | |--------|------------|----------------| | **Self-hosted library** | `pip install neo4j-agent-memory` + your own Neo4j (local / Docker / Aura). Full Python API, local MCP server, and framework integrations run in your process. | Dev, on-prem data, custom extraction pipelines, full control, bringing your own embeddings / LLMs. | | **Hosted (NAMS)** | Managed service at `https://memory.neo4jlabs.com`. Per-workspace isolated Neo4j Aura database, REST API, remote MCP endpoint, web console. | Zero-infra trials, sharing memory across agents / machines, demos, teams that don't want to run Neo4j. |
> ⚠️ **NAMS is reachable but not yet referenced in the GitHub README or `neo4j.com/labs/agent-memory/`.** Treat it as early-access / soft-launched. Do not assert SLAs, pricing, or GA status in published content. See the **Hosted Service (NAMS)** section below for details.
## The Three Memory Types
The defining architectural feature. Every piece of content describing the project should lead with this trinity.
| Memory Type | Stores | Color Convention | |-------------|--------|------------------| | **Short-Term** | Conversation messages, session history, sequential message chains, metadata-filtered search, LLM-powered summaries | Green (`#B2F2BB` / `#2F9E44`) | | **Long-Term** | Entities (people, places, orgs), preferences, facts, and the relationships between them — built automatically from conversations via the POLE+O model | Orange/Yellow (`#FFEC99` / `#F08C00`) | | **Reasoning** | Decision traces, tool call provenance, thought-action-outcome chains — so the agent can learn from its own past reasoning patterns | Purple (`#D0BFFF` / `#9C36B5`) |
**Reasoning memory is the primary competitive differentiator.** Most competing systems cover short-term and long-term but treat reasoning as an afterthought or omit it entirely. Lead with this when positioning.
## The POLE+O Model
Long-term memory uses the POLE+O entity framework — the canonical entity classification for this project:
- **P**erson - **O**rganization - **L**ocation - **E**vent - **+O** Object (anything that doesn't fit the core four — products, concepts, projects, etc.)
When diagramming the data model, use ellipses for entity nodes and labeled arrows (UPPER_SNAKE_CASE) for relationships, consistent with Neo4j Browser conventions.
## Installation
Core install plus extras. The extras pattern is `pip install neo4j-agent-memory[<extra>]`.
```bash pip install neo4j-agent-memory # Core pip install neo4j-agent-memory[openai] # + OpenAI embeddings pip install neo4j-agent-memory[mcp] # + MCP server pip install neo4j-agent-memory[langchain] # + LangChain pip install neo4j-agent-memory[all] # Everything ```
**Full extras list** (subject to change — verify PyPI): `all`, `anthropic`, `aws`, `bedrock`, `cli`, `crewai`, `extraction`, `full`, `fuzzy`, `gliner`, `google`, `google-adk`, `langchain`, `llamaindex`, `mcp`, `microsoft-agent`, `observability`, `openai`, `openai-agents`, `opentelemetry`, `opik`, `pydantic-ai`, `sentence-transformers`, `spacy`, `strands`, `vertex-ai`.
## Python API (Quickstart)
Canonical import pattern and basic usage. This is the shape to reproduce in tutorials and examples.
```python import asyncio from neo4j_agent_memory import MemoryClient, MemorySettings
async def main(): settings = MemorySettings( neo4j={"uri": "bolt://localhost:7687", "password": "your-password"} )
async with MemoryClient(settings) as memory: # Short-term: store a conversation message await memory.short_term.add_message( session_id="user-123", role="user", content="Hi, I'm John and I love Italian food!" )
# Long-term: build the knowledge graph await memory.long_term.add_entity("John", "PERSON") await memory.long_term.add_preference( category="food", preference="Loves Italian cuisine" )
# Get combined context for an LLM prompt context = await memory.get_context( "What restaurant should I recommend?", session_id="user-123" ) print(context)
asyncio.run(main()) ```
**Note the async context manager pattern** (`async with MemoryClient(settings) as memory:`) — this is the canonical form.
## MCP Server
Exposes memory as tools for MCP-compatible AI assistants (Claude Desktop, Claude Code, Cursor, VS Code Copilot).
### Invocation
The authoritative one-liner (no install needed):
```bash uvx "neo4j-agent-memory[mcp]" mcp serve --password <neo4j-password> ```
Install-local alternative:
```bash neo4j-agent-memory mcp serve --password <pw> ```
### Transports and Profiles
```bash # stdio (default — Claude Desktop, Claude Code) neo4j-agent-memory mcp serve --password <pw>
# SSE (network deployment) neo4j-agent-memory mcp serve --transport sse --port 8080 --password <pw>
# Core profile — fewer tools, less context overhead neo4j-agent-memory mcp serve --profile core --password <pw>
# Session continuity across conversations neo4j-agent-memory mcp serve \ --session-strategy per_day \ --user-id alice \ --password <pw> ```
### Tool Profiles
| Profile | Tools | Contents | |---------|-------|----------| | **core** | 6 | `memory_search`, `memory_get_context`, `memory_store_message`, `memory_add_entity`, `memory_add_preference`, `memory_add_fact` | | **extended** (default) | 16 | Core + conversation history, entity details, graph export, relationship creation, reasoning traces, observations, read-only Cypher |
As of v0.1.1, `memory_add_fact` accepts a `metadata` parameter, bringing it to parity with `memory_add_entity`.
### Claude Code Registration
```bash claude mcp add neo4j-agent-memory -- \ uvx "neo4j-agent-memory[mcp]" mcp serve --password <neo4j-password> ```
### Claude Desktop Config
```json { "mcpServers": { "neo4j-agent-memory": { "command": "uvx", "args": ["neo4j-agent-memory[mcp]", "mcp", "serve", "--password", "your-password"], "env": { "OPENAI_API_KEY": "sk-..." } } } } ```
> For the **hosted** MCP endpoint at `memory.neo4jlabs.com/mcp`, see the **Hosted Service (NAMS)** section below — it uses SSE transport and bearer-token auth, not a local `uvx` invocation.
## Hosted Service (NAMS)
**NAMS** — Neo4j Agent Memory Service — is the managed deployment of `neo4j-agent-memory` at `https://memory.neo4jlabs.com`. It bundles the REST API, the MCP server, a web console, and per-workspace Neo4j Aura databases.
> ⚠️ **Verify against the live service before citing.** NAMS is not documented on the GitHub README or `neo4j.com/labs/agent-memory/`. Endpoint shapes, tool counts, auth flows, and limits can change without a release note. Before publishing anything NAMS-specific, re-check the live site and the OpenAPI spec at `/openapi.json`.
### Surface
- **Base URL:** `https://memory.neo4jlabs.com` - **Web console:** root URL — workspace management, memory browsing, entity visualization - **REST API:** `https://memory.neo4jlabs.com/v1/` — OpenAPI spec at `/openapi.json`; covers conversations, entities, observations, reasoning traces, and read-only Cypher - **MCP endpoint:** `https://memory.neo4jlabs.com/mcp` — SSE transport, exposes the hosted tool set, bearer-token auth
### Auth
- **API keys**, prefixed `nams_`, created and rotated from the web console — used as a bearer token for REST and MCP - **Auth0 OAuth2 (PKCE)** + scoped JWTs for interactive user flows
Don't mix these with the self-hosted library's `--password` Neo4j credential — they serve different sides of the stack.
### Storage Model
Each workspace is backed by an **isolated Neo4j Aura database**, provisioned on demand. Bring-your-own-Neo4j is supported as an alternative, configured per workspace.
### Rate Limits
Usage counters are tracked per API key / workspace. Exact limits are not publicly documented — check the console or re-verify against the service before committing customers to numbers.
### Claude Code Registration (Hosted MCP)
```bash claude mcp add --transport sse neo4j-agent-memory-hosted \ https://memory.neo4jlabs.com/mcp \ --header "Authorization: Bearer <nams_api_key>" ```
### Claude Desktop Config (Hosted MCP)
```json { "mcpServers": { "neo4j-agent-memory-hosted": { "url":
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for neo4j-agent-memory-skill, ready for a manual X post.
neo4j-agent-memory-skill: Authoritative reference for the neo4j-agent-memory Python package — a graph-native memory sys... 101 stars https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill?ref=x
Listing + install path for neo4j-agent-memory-skill: https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill?ref=x Install: npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skill
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to neo4j-contrib but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill/audit)
[](https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)neo4j-contrib
@neo4j-contrib
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Do not auto-install
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
174.2K StarsTaste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
84.4K StarsCanvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
174.2K StarsAnthropic Brand Guidelines
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
174.2K StarsDo not auto-install
Install targets
Codex install prompt
Install the "neo4j-agent-memory-skill" agent skill from https://github.com/neo4j-contrib/neo4j-skills/tree/main/neo4j-agent-memory-skill. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: 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. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"neo4j-contrib-neo4j-agent-memory-skill","task":"Install neo4j-agent-memory-skill","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Design assets, images, video, audio, multimodal media, presentation, and creative production skills.
Scenario
RAG and knowledge
I need my agent to build a RAG workflow over documents and retrieve reliable context.
Agent fit
Claude Code + OpenAI Agents + Cursor
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skill
Maintenance
fresh
16d since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
101
66/100 Quality · 64/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Do not auto-installTrust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Choose a stronger alternative or inspect the source manually before any install attempt.
Stars
101 GitHub stars
Repo activity
101 stars, 35 forks
Maintenance
16d since push
License
MIT
Install
npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skill
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skillDo not use when
Alternative
174.2K Stars
npx skills add anthropics/skills --skill frontend-design
Alternative
84.4K Stars
npx skills add Leonxlnx/taste-skill --skill design-taste-frontend
Alternative
174.2K Stars
npx skills add anthropics/skills --skill canvas-design
Alternative
174.2K Stars
npx skills add anthropics/skills --skill brand-guidelines
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill may drive a browser or interact with web pages.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20neo4j-agent-memory-skill%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20neo4j-agent-memory-skill%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/neo4j-contrib-neo4j-agent-memory-skill/install
Agent should check
Copy prompt
Task: Use neo4j-agent-memory-skill in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20neo4j-agent-memory-skill%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/neo4j-contrib-neo4j-agent-memory-skill/install
Install command: npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skill
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/neo4j-contrib-neo4j-agent-memory-skill/install
LLM text format
/api/skills/neo4j-contrib-neo4j-agent-memory-skill/install?format=text
Find alternatives
/api/skills/search?q=neo4j-agent-memory-skill&limit=3
Agent prompt
Use neo4j-agent-memory-skill for this task. Review https://www.openagentskill.com/api/skills/neo4j-contrib-neo4j-agent-memory-skill/install, then install with: npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skillRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/neo4j-contrib-neo4j-agent-memory-skill
LLM text
/api/registry/manifest/neo4j-contrib-neo4j-agent-memory-skill?format=text
Install alias
/api/registry/install/neo4j-contrib-neo4j-agent-memory-skill
Recommend
/api/registry/recommend?task=Use%20neo4j-agent-memory-skill%20in%20an%20agent%20workflow&limit=3
Agent fit
RAG and knowledge
Use-case tags
Platforms
Claude Code, OpenAI Agents, Cursor, LangChain, LlamaIndex, Browser agents
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
RAG and knowledge
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Trust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
GitHub adoption
INFO101 GitHub stars
Stars/forks activity
CHECK101 stars, 35 forks; issue activity unavailable in current metadata
Recent maintenance
PASS16d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Choose a stronger alternative or inspect the source manually before any install attempt.
Quality profile
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Search private knowledge
I need my agent to build a RAG workflow over documents and retrieve reliable context.
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Workflow fit
Ingest, retrieve, and cite
A workflow for document-heavy agents that ingest files, create searchable knowledge, retrieve relevant context, and answer with grounded sources.
Scrape, clean, and reuse web data
A practical workflow for agents that crawl public pages, extract clean content, normalize data, and hand it to downstream research or RAG workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
--- name: neo4j-agent-memory-skill description: 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. version: 1.0.6 ---
# 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
- Building AI agents that need persistent memory (short-term, long-term, reasoning traces) backed by Neo4j - Using the `neo4j-agent-memory` Python package or the hosted NAMS service at memory.neo4jlabs.com - Integrating agent memory with LangChain, PydanticAI, CrewAI, AWS Strands, Google ADK, OpenAI Agents, LlamaIndex, or Microsoft Agent Framework - Writing documentation, tutorials, or positioning content about graph-native agent memory - Comparing graph-native memory against vector-only approaches
## When NOT to Use
- **Plain Neo4j driver connections** (no memory layer needed) → use `neo4j-driver-python-skill` - **Writing or optimizing Cypher queries** → use `neo4j-cypher-skill` - **GraphRAG retrieval pipelines** → use `neo4j-graphrag-skill`
---
## Project at a Glance
| Field | Value | |-------|-------| | Package | `neo4j-agent-memory` | | PyPI | https://pypi.org/project/neo4j-agent-memory/ | | GitHub | https://github.com/neo4j-labs/agent-memory | | Canonical docs | https://neo4j.com/labs/agent-memory/ | | Hosted service | https://memory.neo4jlabs.com (NAMS — early-access, not yet documented on official project pages) | | Hosted MCP endpoint | https://memory.neo4jlabs.com/mcp (SSE, bearer auth) | | License | Apache-2.0 | | Python | 3.10+ | | Neo4j | 5.20+ (required for vector indexes) | | Status | Experimental (Neo4j Labs, community-supported) | | Current version (at time of writing) | **0.1.1** — **always verify PyPI before citing** |
## What It Is (One Sentence)
A graph-native memory system for AI agents that stores conversations, builds knowledge graphs, and records agent reasoning — all as connected nodes in a single Neo4j database.
## Consumption Models
`neo4j-agent-memory` ships in two consumption models. They are the same underlying project — the differences are how you run it, how you authenticate, and what's managed for you.
| Option | What It Is | When to Choose | |--------|------------|----------------| | **Self-hosted library** | `pip install neo4j-agent-memory` + your own Neo4j (local / Docker / Aura). Full Python API, local MCP server, and framework integrations run in your process. | Dev, on-prem data, custom extraction pipelines, full control, bringing your own embeddings / LLMs. | | **Hosted (NAMS)** | Managed service at `https://memory.neo4jlabs.com`. Per-workspace isolated Neo4j Aura database, REST API, remote MCP endpoint, web console. | Zero-infra trials, sharing memory across agents / machines, demos, teams that don't want to run Neo4j. |
> ⚠️ **NAMS is reachable but not yet referenced in the GitHub README or `neo4j.com/labs/agent-memory/`.** Treat it as early-access / soft-launched. Do not assert SLAs, pricing, or GA status in published content. See the **Hosted Service (NAMS)** section below for details.
## The Three Memory Types
The defining architectural feature. Every piece of content describing the project should lead with this trinity.
| Memory Type | Stores | Color Convention | |-------------|--------|------------------| | **Short-Term** | Conversation messages, session history, sequential message chains, metadata-filtered search, LLM-powered summaries | Green (`#B2F2BB` / `#2F9E44`) | | **Long-Term** | Entities (people, places, orgs), preferences, facts, and the relationships between them — built automatically from conversations via the POLE+O model | Orange/Yellow (`#FFEC99` / `#F08C00`) | | **Reasoning** | Decision traces, tool call provenance, thought-action-outcome chains — so the agent can learn from its own past reasoning patterns | Purple (`#D0BFFF` / `#9C36B5`) |
**Reasoning memory is the primary competitive differentiator.** Most competing systems cover short-term and long-term but treat reasoning as an afterthought or omit it entirely. Lead with this when positioning.
## The POLE+O Model
Long-term memory uses the POLE+O entity framework — the canonical entity classification for this project:
- **P**erson - **O**rganization - **L**ocation - **E**vent - **+O** Object (anything that doesn't fit the core four — products, concepts, projects, etc.)
When diagramming the data model, use ellipses for entity nodes and labeled arrows (UPPER_SNAKE_CASE) for relationships, consistent with Neo4j Browser conventions.
## Installation
Core install plus extras. The extras pattern is `pip install neo4j-agent-memory[<extra>]`.
```bash pip install neo4j-agent-memory # Core pip install neo4j-agent-memory[openai] # + OpenAI embeddings pip install neo4j-agent-memory[mcp] # + MCP server pip install neo4j-agent-memory[langchain] # + LangChain pip install neo4j-agent-memory[all] # Everything ```
**Full extras list** (subject to change — verify PyPI): `all`, `anthropic`, `aws`, `bedrock`, `cli`, `crewai`, `extraction`, `full`, `fuzzy`, `gliner`, `google`, `google-adk`, `langchain`, `llamaindex`, `mcp`, `microsoft-agent`, `observability`, `openai`, `openai-agents`, `opentelemetry`, `opik`, `pydantic-ai`, `sentence-transformers`, `spacy`, `strands`, `vertex-ai`.
## Python API (Quickstart)
Canonical import pattern and basic usage. This is the shape to reproduce in tutorials and examples.
```python import asyncio from neo4j_agent_memory import MemoryClient, MemorySettings
async def main(): settings = MemorySettings( neo4j={"uri": "bolt://localhost:7687", "password": "your-password"} )
async with MemoryClient(settings) as memory: # Short-term: store a conversation message await memory.short_term.add_message( session_id="user-123", role="user", content="Hi, I'm John and I love Italian food!" )
# Long-term: build the knowledge graph await memory.long_term.add_entity("John", "PERSON") await memory.long_term.add_preference( category="food", preference="Loves Italian cuisine" )
# Get combined context for an LLM prompt context = await memory.get_context( "What restaurant should I recommend?", session_id="user-123" ) print(context)
asyncio.run(main()) ```
**Note the async context manager pattern** (`async with MemoryClient(settings) as memory:`) — this is the canonical form.
## MCP Server
Exposes memory as tools for MCP-compatible AI assistants (Claude Desktop, Claude Code, Cursor, VS Code Copilot).
### Invocation
The authoritative one-liner (no install needed):
```bash uvx "neo4j-agent-memory[mcp]" mcp serve --password <neo4j-password> ```
Install-local alternative:
```bash neo4j-agent-memory mcp serve --password <pw> ```
### Transports and Profiles
```bash # stdio (default — Claude Desktop, Claude Code) neo4j-agent-memory mcp serve --password <pw>
# SSE (network deployment) neo4j-agent-memory mcp serve --transport sse --port 8080 --password <pw>
# Core profile — fewer tools, less context overhead neo4j-agent-memory mcp serve --profile core --password <pw>
# Session continuity across conversations neo4j-agent-memory mcp serve \ --session-strategy per_day \ --user-id alice \ --password <pw> ```
### Tool Profiles
| Profile | Tools | Contents | |---------|-------|----------| | **core** | 6 | `memory_search`, `memory_get_context`, `memory_store_message`, `memory_add_entity`, `memory_add_preference`, `memory_add_fact` | | **extended** (default) | 16 | Core + conversation history, entity details, graph export, relationship creation, reasoning traces, observations, read-only Cypher |
As of v0.1.1, `memory_add_fact` accepts a `metadata` parameter, bringing it to parity with `memory_add_entity`.
### Claude Code Registration
```bash claude mcp add neo4j-agent-memory -- \ uvx "neo4j-agent-memory[mcp]" mcp serve --password <neo4j-password> ```
### Claude Desktop Config
```json { "mcpServers": { "neo4j-agent-memory": { "command": "uvx", "args": ["neo4j-agent-memory[mcp]", "mcp", "serve", "--password", "your-password"], "env": { "OPENAI_API_KEY": "sk-..." } } } } ```
> For the **hosted** MCP endpoint at `memory.neo4jlabs.com/mcp`, see the **Hosted Service (NAMS)** section below — it uses SSE transport and bearer-token auth, not a local `uvx` invocation.
## Hosted Service (NAMS)
**NAMS** — Neo4j Agent Memory Service — is the managed deployment of `neo4j-agent-memory` at `https://memory.neo4jlabs.com`. It bundles the REST API, the MCP server, a web console, and per-workspace Neo4j Aura databases.
> ⚠️ **Verify against the live service before citing.** NAMS is not documented on the GitHub README or `neo4j.com/labs/agent-memory/`. Endpoint shapes, tool counts, auth flows, and limits can change without a release note. Before publishing anything NAMS-specific, re-check the live site and the OpenAPI spec at `/openapi.json`.
### Surface
- **Base URL:** `https://memory.neo4jlabs.com` - **Web console:** root URL — workspace management, memory browsing, entity visualization - **REST API:** `https://memory.neo4jlabs.com/v1/` — OpenAPI spec at `/openapi.json`; covers conversations, entities, observations, reasoning traces, and read-only Cypher - **MCP endpoint:** `https://memory.neo4jlabs.com/mcp` — SSE transport, exposes the hosted tool set, bearer-token auth
### Auth
- **API keys**, prefixed `nams_`, created and rotated from the web console — used as a bearer token for REST and MCP - **Auth0 OAuth2 (PKCE)** + scoped JWTs for interactive user flows
Don't mix these with the self-hosted library's `--password` Neo4j credential — they serve different sides of the stack.
### Storage Model
Each workspace is backed by an **isolated Neo4j Aura database**, provisioned on demand. Bring-your-own-Neo4j is supported as an alternative, configured per workspace.
### Rate Limits
Usage counters are tracked per API key / workspace. Exact limits are not publicly documented — check the console or re-verify against the service before committing customers to numbers.
### Claude Code Registration (Hosted MCP)
```bash claude mcp add --transport sse neo4j-agent-memory-hosted \ https://memory.neo4jlabs.com/mcp \ --header "Authorization: Bearer <nams_api_key>" ```
### Claude Desktop Config (Hosted MCP)
```json { "mcpServers": { "neo4j-agent-memory-hosted": { "url":
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for neo4j-agent-memory-skill, ready for a manual X post.
neo4j-agent-memory-skill: Authoritative reference for the neo4j-agent-memory Python package — a graph-native memory sys... 101 stars https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill?ref=x
Listing + install path for neo4j-agent-memory-skill: https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill?ref=x Install: npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skill
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to neo4j-contrib but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill/audit)
[](https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)neo4j-contrib
@neo4j-contrib
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Do not auto-install
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
174.2K StarsTaste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
84.4K StarsCanvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
174.2K StarsAnthropic Brand Guidelines
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
174.2K StarsDo not auto-install
Install targets
Codex install prompt
Install the "neo4j-agent-memory-skill" agent skill from https://github.com/neo4j-contrib/neo4j-skills/tree/main/neo4j-agent-memory-skill. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: 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. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"neo4j-contrib-neo4j-agent-memory-skill","task":"Install neo4j-agent-memory-skill","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Design assets, images, video, audio, multimodal media, presentation, and creative production skills.
Scenario
RAG and knowledge
I need my agent to build a RAG workflow over documents and retrieve reliable context.
Agent fit
Claude Code + OpenAI Agents + Cursor
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skill
Maintenance
fresh
16d since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
101
66/100 Quality · 64/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Do not auto-installTrust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Choose a stronger alternative or inspect the source manually before any install attempt.
Stars
101 GitHub stars
Repo activity
101 stars, 35 forks
Maintenance
16d since push
License
MIT
Install
npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skill
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skillDo not use when
Alternative
174.2K Stars
npx skills add anthropics/skills --skill frontend-design
Alternative
84.4K Stars
npx skills add Leonxlnx/taste-skill --skill design-taste-frontend
Alternative
174.2K Stars
npx skills add anthropics/skills --skill canvas-design
Alternative
174.2K Stars
npx skills add anthropics/skills --skill brand-guidelines
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill may drive a browser or interact with web pages.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20neo4j-agent-memory-skill%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20neo4j-agent-memory-skill%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/neo4j-contrib-neo4j-agent-memory-skill/install
Agent should check
Copy prompt
Task: Use neo4j-agent-memory-skill in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20neo4j-agent-memory-skill%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/neo4j-contrib-neo4j-agent-memory-skill/install
Install command: npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skill
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/neo4j-contrib-neo4j-agent-memory-skill/install
LLM text format
/api/skills/neo4j-contrib-neo4j-agent-memory-skill/install?format=text
Find alternatives
/api/skills/search?q=neo4j-agent-memory-skill&limit=3
Agent prompt
Use neo4j-agent-memory-skill for this task. Review https://www.openagentskill.com/api/skills/neo4j-contrib-neo4j-agent-memory-skill/install, then install with: npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skillRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/neo4j-contrib-neo4j-agent-memory-skill
LLM text
/api/registry/manifest/neo4j-contrib-neo4j-agent-memory-skill?format=text
Install alias
/api/registry/install/neo4j-contrib-neo4j-agent-memory-skill
Recommend
/api/registry/recommend?task=Use%20neo4j-agent-memory-skill%20in%20an%20agent%20workflow&limit=3
Agent fit
RAG and knowledge
Use-case tags
Platforms
Claude Code, OpenAI Agents, Cursor, LangChain, LlamaIndex, Browser agents
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
RAG and knowledge
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Trust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
GitHub adoption
INFO101 GitHub stars
Stars/forks activity
CHECK101 stars, 35 forks; issue activity unavailable in current metadata
Recent maintenance
PASS16d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Choose a stronger alternative or inspect the source manually before any install attempt.
Quality profile
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Search private knowledge
I need my agent to build a RAG workflow over documents and retrieve reliable context.
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Workflow fit
Ingest, retrieve, and cite
A workflow for document-heavy agents that ingest files, create searchable knowledge, retrieve relevant context, and answer with grounded sources.
Scrape, clean, and reuse web data
A practical workflow for agents that crawl public pages, extract clean content, normalize data, and hand it to downstream research or RAG workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
--- name: neo4j-agent-memory-skill description: 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. version: 1.0.6 ---
# 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
- Building AI agents that need persistent memory (short-term, long-term, reasoning traces) backed by Neo4j - Using the `neo4j-agent-memory` Python package or the hosted NAMS service at memory.neo4jlabs.com - Integrating agent memory with LangChain, PydanticAI, CrewAI, AWS Strands, Google ADK, OpenAI Agents, LlamaIndex, or Microsoft Agent Framework - Writing documentation, tutorials, or positioning content about graph-native agent memory - Comparing graph-native memory against vector-only approaches
## When NOT to Use
- **Plain Neo4j driver connections** (no memory layer needed) → use `neo4j-driver-python-skill` - **Writing or optimizing Cypher queries** → use `neo4j-cypher-skill` - **GraphRAG retrieval pipelines** → use `neo4j-graphrag-skill`
---
## Project at a Glance
| Field | Value | |-------|-------| | Package | `neo4j-agent-memory` | | PyPI | https://pypi.org/project/neo4j-agent-memory/ | | GitHub | https://github.com/neo4j-labs/agent-memory | | Canonical docs | https://neo4j.com/labs/agent-memory/ | | Hosted service | https://memory.neo4jlabs.com (NAMS — early-access, not yet documented on official project pages) | | Hosted MCP endpoint | https://memory.neo4jlabs.com/mcp (SSE, bearer auth) | | License | Apache-2.0 | | Python | 3.10+ | | Neo4j | 5.20+ (required for vector indexes) | | Status | Experimental (Neo4j Labs, community-supported) | | Current version (at time of writing) | **0.1.1** — **always verify PyPI before citing** |
## What It Is (One Sentence)
A graph-native memory system for AI agents that stores conversations, builds knowledge graphs, and records agent reasoning — all as connected nodes in a single Neo4j database.
## Consumption Models
`neo4j-agent-memory` ships in two consumption models. They are the same underlying project — the differences are how you run it, how you authenticate, and what's managed for you.
| Option | What It Is | When to Choose | |--------|------------|----------------| | **Self-hosted library** | `pip install neo4j-agent-memory` + your own Neo4j (local / Docker / Aura). Full Python API, local MCP server, and framework integrations run in your process. | Dev, on-prem data, custom extraction pipelines, full control, bringing your own embeddings / LLMs. | | **Hosted (NAMS)** | Managed service at `https://memory.neo4jlabs.com`. Per-workspace isolated Neo4j Aura database, REST API, remote MCP endpoint, web console. | Zero-infra trials, sharing memory across agents / machines, demos, teams that don't want to run Neo4j. |
> ⚠️ **NAMS is reachable but not yet referenced in the GitHub README or `neo4j.com/labs/agent-memory/`.** Treat it as early-access / soft-launched. Do not assert SLAs, pricing, or GA status in published content. See the **Hosted Service (NAMS)** section below for details.
## The Three Memory Types
The defining architectural feature. Every piece of content describing the project should lead with this trinity.
| Memory Type | Stores | Color Convention | |-------------|--------|------------------| | **Short-Term** | Conversation messages, session history, sequential message chains, metadata-filtered search, LLM-powered summaries | Green (`#B2F2BB` / `#2F9E44`) | | **Long-Term** | Entities (people, places, orgs), preferences, facts, and the relationships between them — built automatically from conversations via the POLE+O model | Orange/Yellow (`#FFEC99` / `#F08C00`) | | **Reasoning** | Decision traces, tool call provenance, thought-action-outcome chains — so the agent can learn from its own past reasoning patterns | Purple (`#D0BFFF` / `#9C36B5`) |
**Reasoning memory is the primary competitive differentiator.** Most competing systems cover short-term and long-term but treat reasoning as an afterthought or omit it entirely. Lead with this when positioning.
## The POLE+O Model
Long-term memory uses the POLE+O entity framework — the canonical entity classification for this project:
- **P**erson - **O**rganization - **L**ocation - **E**vent - **+O** Object (anything that doesn't fit the core four — products, concepts, projects, etc.)
When diagramming the data model, use ellipses for entity nodes and labeled arrows (UPPER_SNAKE_CASE) for relationships, consistent with Neo4j Browser conventions.
## Installation
Core install plus extras. The extras pattern is `pip install neo4j-agent-memory[<extra>]`.
```bash pip install neo4j-agent-memory # Core pip install neo4j-agent-memory[openai] # + OpenAI embeddings pip install neo4j-agent-memory[mcp] # + MCP server pip install neo4j-agent-memory[langchain] # + LangChain pip install neo4j-agent-memory[all] # Everything ```
**Full extras list** (subject to change — verify PyPI): `all`, `anthropic`, `aws`, `bedrock`, `cli`, `crewai`, `extraction`, `full`, `fuzzy`, `gliner`, `google`, `google-adk`, `langchain`, `llamaindex`, `mcp`, `microsoft-agent`, `observability`, `openai`, `openai-agents`, `opentelemetry`, `opik`, `pydantic-ai`, `sentence-transformers`, `spacy`, `strands`, `vertex-ai`.
## Python API (Quickstart)
Canonical import pattern and basic usage. This is the shape to reproduce in tutorials and examples.
```python import asyncio from neo4j_agent_memory import MemoryClient, MemorySettings
async def main(): settings = MemorySettings( neo4j={"uri": "bolt://localhost:7687", "password": "your-password"} )
async with MemoryClient(settings) as memory: # Short-term: store a conversation message await memory.short_term.add_message( session_id="user-123", role="user", content="Hi, I'm John and I love Italian food!" )
# Long-term: build the knowledge graph await memory.long_term.add_entity("John", "PERSON") await memory.long_term.add_preference( category="food", preference="Loves Italian cuisine" )
# Get combined context for an LLM prompt context = await memory.get_context( "What restaurant should I recommend?", session_id="user-123" ) print(context)
asyncio.run(main()) ```
**Note the async context manager pattern** (`async with MemoryClient(settings) as memory:`) — this is the canonical form.
## MCP Server
Exposes memory as tools for MCP-compatible AI assistants (Claude Desktop, Claude Code, Cursor, VS Code Copilot).
### Invocation
The authoritative one-liner (no install needed):
```bash uvx "neo4j-agent-memory[mcp]" mcp serve --password <neo4j-password> ```
Install-local alternative:
```bash neo4j-agent-memory mcp serve --password <pw> ```
### Transports and Profiles
```bash # stdio (default — Claude Desktop, Claude Code) neo4j-agent-memory mcp serve --password <pw>
# SSE (network deployment) neo4j-agent-memory mcp serve --transport sse --port 8080 --password <pw>
# Core profile — fewer tools, less context overhead neo4j-agent-memory mcp serve --profile core --password <pw>
# Session continuity across conversations neo4j-agent-memory mcp serve \ --session-strategy per_day \ --user-id alice \ --password <pw> ```
### Tool Profiles
| Profile | Tools | Contents | |---------|-------|----------| | **core** | 6 | `memory_search`, `memory_get_context`, `memory_store_message`, `memory_add_entity`, `memory_add_preference`, `memory_add_fact` | | **extended** (default) | 16 | Core + conversation history, entity details, graph export, relationship creation, reasoning traces, observations, read-only Cypher |
As of v0.1.1, `memory_add_fact` accepts a `metadata` parameter, bringing it to parity with `memory_add_entity`.
### Claude Code Registration
```bash claude mcp add neo4j-agent-memory -- \ uvx "neo4j-agent-memory[mcp]" mcp serve --password <neo4j-password> ```
### Claude Desktop Config
```json { "mcpServers": { "neo4j-agent-memory": { "command": "uvx", "args": ["neo4j-agent-memory[mcp]", "mcp", "serve", "--password", "your-password"], "env": { "OPENAI_API_KEY": "sk-..." } } } } ```
> For the **hosted** MCP endpoint at `memory.neo4jlabs.com/mcp`, see the **Hosted Service (NAMS)** section below — it uses SSE transport and bearer-token auth, not a local `uvx` invocation.
## Hosted Service (NAMS)
**NAMS** — Neo4j Agent Memory Service — is the managed deployment of `neo4j-agent-memory` at `https://memory.neo4jlabs.com`. It bundles the REST API, the MCP server, a web console, and per-workspace Neo4j Aura databases.
> ⚠️ **Verify against the live service before citing.** NAMS is not documented on the GitHub README or `neo4j.com/labs/agent-memory/`. Endpoint shapes, tool counts, auth flows, and limits can change without a release note. Before publishing anything NAMS-specific, re-check the live site and the OpenAPI spec at `/openapi.json`.
### Surface
- **Base URL:** `https://memory.neo4jlabs.com` - **Web console:** root URL — workspace management, memory browsing, entity visualization - **REST API:** `https://memory.neo4jlabs.com/v1/` — OpenAPI spec at `/openapi.json`; covers conversations, entities, observations, reasoning traces, and read-only Cypher - **MCP endpoint:** `https://memory.neo4jlabs.com/mcp` — SSE transport, exposes the hosted tool set, bearer-token auth
### Auth
- **API keys**, prefixed `nams_`, created and rotated from the web console — used as a bearer token for REST and MCP - **Auth0 OAuth2 (PKCE)** + scoped JWTs for interactive user flows
Don't mix these with the self-hosted library's `--password` Neo4j credential — they serve different sides of the stack.
### Storage Model
Each workspace is backed by an **isolated Neo4j Aura database**, provisioned on demand. Bring-your-own-Neo4j is supported as an alternative, configured per workspace.
### Rate Limits
Usage counters are tracked per API key / workspace. Exact limits are not publicly documented — check the console or re-verify against the service before committing customers to numbers.
### Claude Code Registration (Hosted MCP)
```bash claude mcp add --transport sse neo4j-agent-memory-hosted \ https://memory.neo4jlabs.com/mcp \ --header "Authorization: Bearer <nams_api_key>" ```
### Claude Desktop Config (Hosted MCP)
```json { "mcpServers": { "neo4j-agent-memory-hosted": { "url":
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for neo4j-agent-memory-skill, ready for a manual X post.
neo4j-agent-memory-skill: Authoritative reference for the neo4j-agent-memory Python package — a graph-native memory sys... 101 stars https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill?ref=x
Listing + install path for neo4j-agent-memory-skill: https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill?ref=x Install: npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skill
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to neo4j-contrib but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill/audit)
[](https://www.openagentskill.com/skills/neo4j-contrib-neo4j-agent-memory-skill?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)neo4j-contrib
@neo4j-contrib
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Do not auto-install
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
174.2K StarsTaste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
84.4K StarsCanvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
174.2K StarsAnthropic Brand Guidelines
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
174.2K StarsPermission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness