Agent skill

Neo4j Agent Memory Skill

by neo4j-contrib in neo4j-contrib/neo4j-skills

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.

MITAuto-check passedAgent Workflows

Install Neo4j Agent Memory Skill

skills CLI
$ npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skill -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install neo4j-contrib/neo4j-skills neo4j-agent-memory-skill --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/neo4j-contrib/neo4j-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/neo4j-agent-memory-skill .claude/skills/neo4j-agent-memory-skill && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
neo4j-agent-memory-skill
GitHub stars
114
Token cost
~5.8k tokens
SKILL.md length
2,013 words
Files
2
Skills in repo
28
Repo updated
First seen
Licence
MIT

At a glance

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.

  • Works in 3 steps: spaCy — fast statistical NER, cheapest,… → GLiNER — zero-shot entity extraction… → LLM fallback — most accurate, most…
  • The user mentions neo4j-agent-memory
  • SKILL.md covers When to Use, When NOT to Use, Project at a Glance and What It Is (One Sentence), plus 10 more sections
  • Calls pip, uvx and claude; reaches github.com and memory.neo4jlabs.com; needs OPENAI_API_KEY

What it does

Neo4j Agent Memory Skill is an agent skill from neo4j-contrib/neo4j-skills. 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…

Its SKILL.md is about 5.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `README.md`).

It sits in Agent Workflows, covering Agent memory and Building AI agents. It works with Neo4j, Model Context Protocol, Python and CrewAI. The repository describes itself as: Neo4j Skills for Coding and other Agents including Cypher. The licence is MIT.

When your agent uses it

  • The user mentions neo4j-agent-memory
  • Agent memory with Neo4j
  • The POLE+O model
  • MemoryClient/MemorySettings

Example prompts

  • “/neo4j-agent-memory-skill”

Requirements

  • Python 3
  • Docker
  • A credential in OPENAI_API_KEY

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. spaCy — fast statistical NER, cheapest, broad but imprecise coverage
  2. GLiNER — zero-shot entity extraction with typed schemas; GLiREL for relationships
  3. LLM fallback — most accurate, most expensive; used when structure is rich or ambiguous

What it can do on your machine

Read from SKILL.md and the folder at commit bb30e1f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pip
    • uvx
    • claude

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com
    • memory.neo4jlabs.com
    • pypi.org

    Also links to:

    • neo4j.com
    • create-context-graph.dev
    • community.neo4j.com
    • learn.microsoft.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OPENAI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Neo4j Agent Memory Skill loads about 5.8k tokens when it runs. Until then it costs about 242 tokens; SKILL.md has 2,013 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~242
When it runs · the whole SKILL.md, loaded when a task matches
~5.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from neo4j-contrib/neo4j-skills at commit bb30e1f, republished under its MIT licence (© neo4j-contrib). 2,013 words, ~5,776 tokens.

Download SKILL.mdSave it as .claude/skills/neo4j-agent-memory-skill/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
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.7

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

FieldValue
Packageneo4j-agent-memory
PyPIhttps://pypi.org/project/neo4j-agent-memory/
GitHubhttps://github.com/neo4j-labs/agent-memory
Canonical docshttps://neo4j.com/labs/agent-memory/
Hosted servicehttps://memory.neo4jlabs.com (NAMS — early-access, not yet documented on official project pages)
Hosted MCP endpointhttps://memory.neo4jlabs.com/mcp (Streamable HTTP, bearer auth)
LicenseApache-2.0
Python3.10+
Neo4j5.20+ (required for vector indexes)
StatusExperimental (Neo4j Labs, community-supported)
Current version (at time of writing)0.6.0 — 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.

OptionWhat It IsWhen to Choose
Self-hosted librarypip 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 TypeStoresColor Convention
Short-TermConversation messages, session history, sequential message chains, metadata-filtered search, LLM-powered summariesGreen (#B2F2BB / #2F9E44)
Long-TermEntities (people, places, orgs), preferences, facts, and the relationships between them — built automatically from conversations via the POLE+O modelOrange/Yellow (#FFEC99 / #F08C00)
ReasoningDecision traces, tool call provenance, thought-action-outcome chains — so the agent can learn from its own past reasoning patternsPurple (#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:

  • Person
  • Organization
  • Location
  • Event
  • +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, instructor, langchain, langchain-agents, litellm, llamaindex, mcp, microsoft-agent, nams, 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>

# Streamable HTTP (network; endpoint /mcp/). `--transport sse` deprecated — serves Streamable HTTP with warning
neo4j-agent-memory mcp serve --transport http --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
ProfileToolsContents
core6memory_search, memory_get_context, memory_store_message, memory_add_entity, memory_add_preference, memory_add_fact
extended (default)16Core + 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 Streamable HTTP 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 — Streamable HTTP 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 http 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": "https://memory.neo4jlabs.com/mcp",
      "type": "http",
      "headers": {
        "Authorization": "Bearer nams_..."
      }
    }
  }
}

Framework Integrations

All integrations live under neo4j_agent_memory.integrations.<framework>. Install the matching extra.

FrameworkInstall ExtraImport
LangChain[langchain]from neo4j_agent_memory.integrations.langchain import Neo4jAgentMemory
Pydantic AI[pydantic-ai]from neo4j_agent_memory.integrations.pydantic_ai import MemoryDependency
Google ADK[google-adk]from neo4j_agent_memory.integrations.google_adk import Neo4jMemoryService
AWS Strands[strands]from neo4j_agent_memory.integrations.strands import context_graph_tools
CrewAI[crewai]from neo4j_agent_memory.integrations.crewai import Neo4jCrewMemory
LlamaIndex[llamaindex]from neo4j_agent_memory.integrations.llamaindex import Neo4jLlamaIndexMemory
OpenAI Agents[openai-agents]from neo4j_agent_memory.integrations.openai_agents import ...
Microsoft Agent Framework[microsoft-agent]from neo4j_agent_memory.integrations.microsoft_agent import Neo4jMicrosoftMemory

Entity Extraction Pipeline

Multi-stage extraction (cost/quality tradeoff from fastest → most accurate):

  1. spaCy — fast statistical NER, cheapest, broad but imprecise coverage
  2. GLiNER — zero-shot entity extraction with typed schemas; GLiREL for relationships
  3. LLM fallback — most accurate, most expensive; used when structure is rich or ambiguous

Enrichment is a separate background stage: Wikipedia and Diffbot can hydrate extracted entities with additional context.

Deduplication (v0.1.1+) auto-merges duplicate facts and preferences using subject/predicate matching plus embedding similarity (threshold ~0.95), and updates confidence rather than creating new nodes. Tuned via DeduplicationConfig.

Configuration objects to know: ExtractionConfig, DeduplicationConfig, MemoryIntegration, SessionStrategy.

Positioning Language

These phrasings are load-bearing. Use them verbatim when possible.

Core Taglines
  • "Graph handles understanding; vector handles similarity."
  • "Vector stores give you recall. The graph gives you understanding."
  • "Three memory types, one knowledge graph."
Show full SKILL.md (819 more words)Show less
Category Framing
  • Anchor to the Foundation Capital "AI's Trillion-Dollar Opportunity: Context Graphs" thesis when the forum warrants it.
  • neo4j-agent-memory is positioned as the complete implementation of the context graph category — it covers all three memory layers, not just two.
  • The context graph coexists with domain data in the same Neo4j instance (not a bolted-on external system). This is a key conceptual/visual point for architecture diagrams.
Do Say
  • "graph-native memory"
  • "context graph"
  • "three distinct memory layers"
  • "reasoning traces as first-class graph nodes"
  • "learn from past reasoning"
  • "build knowledge graphs automatically from conversations"
  • "Neo4j Labs project" / "experimental" / "community-supported"
Don't Say
  • Don't name specific competitors (Mem0, Zep, Letta, Cognee, Supermemory) in published content. Reframe comparisons around capabilities, not product names.
  • Don't call it "production-ready" (it's a Labs project — see the neo4j-labs-brand skill for the full voice guide).
  • Don't say "officially supported" or imply SLAs.

Common Corrections to Watch For

When editing or reviewing content about this project, check for:

  1. Outdated version numbers — anyone writing "v0.1.0" today may be working from stale notes; verify PyPI.
  2. Wrong canonical docs URL — it's neo4j.com/labs/agent-memory, not a Vercel preview URL.
  3. Inferred API surface — if code samples weren't run, flag them; prefer patterns from the GitHub README or official examples.
  4. Missing "Labs" framing — experimental/community-supported should be clear.
  5. Conflating with other Neo4j MCP servers — there are several (mcp-neo4j-cypher, mcp-neo4j-memory — the old knowledge graph memory server, etc.). neo4j-agent-memory's MCP server is distinct and ships as part of the package under the [mcp] extra.
  6. Confusing NAMS with the self-hosted library — same underlying project, different consumption models. Connection strings, auth, and tool sets differ: self-hosted uses a local uvx invocation and a Neo4j --password; NAMS uses a Streamable HTTP MCP URL and a nams_-prefixed bearer token. Don't mix them.
  7. Over-promising NAMS availability — the hosted service is not yet referenced in the GitHub README or neo4j.com/labs/agent-memory/. Avoid "officially supported," SLAs, pricing claims, or "production-ready" framing. Treat it as early-access.

Mentions of these are frequent; recognize them and use the correct names.

ProjectWhat It Is
create-context-graphCLI scaffolder (uvx create-context-graph) that generates full-stack context graph apps pre-wired with neo4j-agent-memory. Canonical docs: create-context-graph.dev.
Lenny's Podcast Memory ExplorerFlagship demo — 299 podcast episodes, knowledge graph, geospatial maps, Wikipedia enrichment. PydanticAI-based. Source: https://github.com/neo4j-labs/agent-memory/tree/main/examples/lennys-memory
neo4j-agent-integrationsBroader umbrella of framework integrations, many of which are packaged back into neo4j-agent-memory under [<framework>] extras.
agent-memory-tckTechnology Compliance Kit — behavioral specifications for multi-language/multi-framework interoperability (polyglot).
Microsoft Learn integrationOfficial Microsoft Agent Framework docs reference neo4j-agent-memory as the Neo4j Memory Provider.

Canonical Examples (from the neo4j-labs/agent-memory Repo)

Point users to the upstream examples rather than inventing examples. All items below live under the examples/ directory at https://github.com/neo4j-labs/agent-memory/tree/main/examples :

Diagram Conventions (Cross-Reference)

When building diagrams for this project, combine this skill with:

  • excalidraw skill — JSON format and the project's diagram management script
  • neo4j-styleguide skill — Cypher code style and Neo4j brand colors
  • neo4j-labs-brand skill — Labs purple (#6366F1), status badges, disclaimer language

Memory-type colors (use consistently across all diagrams):

Short-Term:  #B2F2BB fill / #2F9E44 stroke  (green)
Long-Term:   #FFEC99 fill / #F08C00 stroke  (orange/yellow)
Reasoning:   #D0BFFF fill / #9C36B5 stroke  (purple)
Neo4j/Store: #A5D8FF fill / #1971C2 stroke  (blue)
Labs accent: #6366F1 (purple, for Labs branding elements)

Documentation Structure (Cross-Reference)

The canonical docs at neo4j.com/labs/agent-memory follow the Diataxis framework (see the diataxis skill in this project for details):

  • Tutorials — build your first memory-enabled agent
  • How-To Guides — entity extraction, deduplication, enrichment, integrations
  • Reference — configuration, CLI, MCP tools, API
  • Explanation — POLE+O model, memory types, extraction pipeline

When adding new content, place it in the right quadrant.

Quick Authoritative-Facts Checklist

Before publishing any content about this project, verify:

  • Version number is current per PyPI (not inferred from notes)
  • Canonical docs link points to neo4j.com/labs/agent-memory
  • Three memory types named correctly (short-term, long-term, reasoning)
  • POLE+O model named consistently (not POLEO, not POLE-O)
  • Python ≥ 3.10 and Neo4j ≥ 5.20 requirements are stated if relevant
  • Labs disclaimer present for README/landing content
  • No competitor names in published positioning
  • Reasoning memory is called out as the differentiator
  • Import paths use neo4j_agent_memory.integrations.<framework> (underscore, snake_case)
  • If NAMS is referenced, distinguish clearly from the self-hosted library and re-verify endpoints against the live service (not yet mirrored in the README)

Resources


Checklist

  • Version: check PyPI before citing
  • Consumption model: self-hosted vs NAMS
  • Correct extras installed (neo4j-agent-memory[<extra>])
  • MemoryClient as async context manager
  • Three types named: short-term / long-term / reasoning
  • POLE+O consistent (not POLEO or POLE-O)
  • NAMS: early-access framing; no SLAs/pricing
  • Credentials not hardcoded; NAMS bearer token separate from Neo4j --password

© neo4j-contrib, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in neo4j-agent-memory-skill of neo4j-contrib/neo4j-skills.

  • SKILL.md
  • README.md

Open the folder on GitHubat commit bb30e1f

Compare with similar skills

Neo4j Agent Memory Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Neo4j Agent Memory Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Neo4j Agent Memory Skill this skillneo4j-contrib/neo4j-skills114—~5.8kAutomated safety check: PassMIT
Mem0 Platform SDKmem0ai/mem067k1 repos~2.2kAutomated safety check: PassApache-2.0
Cloudbase Agent PythonTencentCloudBase/CloudBase-AI-Toolkit1.1k2 repos~2.9kAutomated safety check: NotesMIT
Deep Agents Corelangchain-ai/langchain-skills1.3k—~3.1kAutomated safety check: PassMIT
Omnigent Framework Detectionomnigent-ai/omnigent11k—~610Automated safety check: PassApache-2.0
Dive Into LangGraphluochang212/dive-into-langgraph457—~837Automated safety check: NotesCustom licence

Similar skills

  • Adds persistent memory to AI apps with the Mem0 Python and TypeScript SDKs: store, search, update and delete user memories, with framework integrations.

    67k GitHub starsUsed in 1 repo~2.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Cloudbase Agent Python

    TencentCloudBase/CloudBase-AI-Toolkit

    Build production-ready AI agent backends using the CloudBase Agent Python SDK — create agents with LangGraph/CrewAI/LlamaIndex, serve them via FastAPI with AG-UI protocol streaming +…

    1.1k GitHub starsUsed in 2 repos~2.9k tokens
    AI & LLM EngineeringAuto-check: notes
  • Deep Agents Core

    langchain-ai/langchain-skills

    Official

    Explains how to build agents with the Deep Agents framework: create_deep_agent, the built-in middleware, the harness, SKILL.md format and configuration options.

    1.3k GitHub stars~3.1k tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed
  • Omnigent Framework Detection

    omnigent-ai/omnigent

    Scans Python agent code for framework imports and recommends the matching Omnigent executor type, or says when the framework is not natively supported yet.

    11k GitHub stars~610 tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Dive Into LangGraph

    luochang212/dive-into-langgraph

    A Chinese-language guide and reference for building agents with LangGraph 1.0, from a first ReAct agent through middleware, memory, MCP, RAG and web search.

    457 GitHub stars~837 tokensUpdated 29 days ago
    AI & LLM EngineeringAuto-check: notes
  • Upgrade Stripe

    kanchengw/cnllm

    Guide for upgrading Stripe API versions and SDKs. An agent skill from kanchengw/cnllm.

    173 GitHub starsUsed in 3 repos~1.4k tokens
    AI & LLM EngineeringAuto-check passed

More from neo4j-contrib/neo4j-skills

All 28 skills in this repo
  • Neo4j Aura Agent Skill

    neo4j-contrib/neo4j-skills

    Manages Neo4j Aura Agents via the v2beta1 REST API — create, list, get, update, delete, and invoke Aura agents backed by an AuraDB instance.

    114 GitHub stars~4.4k tokensUpdated yesterday
    Auto-check: notes
  • Neo4j Cypher Skill

    neo4j-contrib/neo4j-skills

    Generates, optimizes, and validates Cypher 25 queries for Neo4j 2025.x and 2026.x.

    114 GitHub starsUsed in 1 repo~6.1k tokens
    Auto-check passed
  • Neo4j Aura Graph Analytics Skill

    neo4j-contrib/neo4j-skills

    Serverless Aura Graph Analytics (AGA) GDS Sessions — covers GdsSessions, AuraGraphDataScience, AuraAPICredentials, DbmsConnectionInfo, SessionMemory, getorcreate, remote graph projection with…

    114 GitHub stars~4.6k tokensUpdated yesterday
    Auto-check: notes
  • Neo4j Getting Started Skill

    neo4j-contrib/neo4j-skills

    Orchestrates zero-to-running-app in 8 stages — prerequisites → context → provision → model → load → explore → query → build.

    114 GitHub stars~4.3k tokensUpdated yesterday
    Auto-check: warnings
  • Neo4j Aura Provisioning Skill

    neo4j-contrib/neo4j-skills

    Provisions and manages Neo4j Aura instances via CLI (aura-cli v1.7+) or REST API.

    114 GitHub stars~3.7k tokensUpdated yesterday
    Auto-check: notes
  • Neo4j Driver Dotnet Skill

    neo4j-contrib/neo4j-skills

    Neo4j .NET Driver v6 — IDriver lifecycle, DI registration (singleton), ExecutableQuery fluent API, ExecuteReadAsync/ExecuteWriteAsync managed transactions, IResultCursor (FetchAsync/ ToListAsync)…

    114 GitHub stars~4.5k tokensUpdated yesterday
    Auto-check: notes

Questions about Neo4j Agent Memory Skill

What does Neo4j Agent Memory Skill do?

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. Neo4j Agent Memory Skill is an agent skill from neo4j-contrib/neo4j-skills.com.

When should I use Neo4j Agent Memory Skill?

Neo4j Agent Memory Skill fits situations like: the user mentions neo4j-agent-memory; agent memory with Neo4j; the POLE+O model; memoryClient/MemorySettings.

How do I install Neo4j Agent Memory Skill in Claude Code?

Run `npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skill -a claude-code`. Or copy the skill folder (neo4j-agent-memory-skill in neo4j-contrib/neo4j-skills) into .claude/skills/neo4j-agent-memory-skill in your project. Claude Code loads it when a task matches its description.

How do I install Neo4j Agent Memory Skill in Codex?

Run `npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skill -a codex`. Or copy the skill folder (neo4j-agent-memory-skill in neo4j-contrib/neo4j-skills) into .agents/skills/neo4j-agent-memory-skill in your project. Codex loads it when a task matches its description.

Can I use Neo4j Agent Memory Skill in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add neo4j-contrib/neo4j-skills --skill neo4j-agent-memory-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/neo4j-agent-memory-skill, .gemini/skills/neo4j-agent-memory-skill, .github/skills/neo4j-agent-memory-skill and .opencode/skills/neo4j-agent-memory-skill in your project.

What does Neo4j Agent Memory Skill need to run?

Going by SKILL.md and its folder, Neo4j Agent Memory Skill needs the command-line tools its instructions call (pip, uvx and claude) and credentials named OPENAI_API_KEY. Our summary lists: Python 3; Docker; A credential in OPENAI_API_KEY.

Does Neo4j Agent Memory Skill access the network?

SKILL.md names 7 domains. In commands or code: github.com, memory.neo4jlabs.com and pypi.org; the agent is likely to contact these when it follows the instructions. As links in the text: neo4j.com, create-context-graph.dev, community.neo4j.com and learn.microsoft.com. This is read from the text; nothing was executed.

Is Neo4j Agent Memory Skill safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Neo4j Agent Memory Skill use?

Neo4j Agent Memory Skill is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Neo4j Agent Memory Skill use?

About 5.8k tokens (SKILL.md is roughly 23k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Neo4j Agent Memory Skill?

Skills that share tags, products or a category with Neo4j Agent Memory Skill: Mem0 Platform SDK (mem0ai/mem0, 67k stars), Cloudbase Agent Python (TencentCloudBase/CloudBase-AI-Toolkit, 1.1k stars), Deep Agents Core (langchain-ai/langchain-skills, 1.3k stars) and Omnigent Framework Detection (omnigent-ai/omnigent, 11k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Neo4j Agent Memory Skill?

neo4j-contrib (a GitHub organization) maintains it in neo4j-contrib/neo4j-skills, which has 114 GitHub stars. The repository holds 28 skills in this directory. The repository was last updated on October 9, 2026.

Source: neo4j-contrib/neo4j-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.