WhoBuilt

Turning Agent Memory Into Skills That Work

Oct 8, 2026· 19 min· 6.9K views·Watch on YouTube

Speaker

Will Lyon, a product manager at Neo4j, presents at the AI Engineer conference on turning agent memory into grounded, reusable skills.

Why retrieval is not enough

Lyon describes agents that complete tasks but forget what they learned. Embedding and retrieving similar text can help, but it does not provide a canonical representation of entities or make recalled information actionable.

Build connected memory with decision traces

Neo4j’s approach combines short-term, long-term, and reasoning memory in a context graph. Messages are processed into typed entities and relationships, with entity resolution and a shared ontology helping establish canonical representations. Decision traces record the agent’s reasoning, evidence, policies, tool calls, results, timing, and token use so other agents can learn from past runs.

Represent skills as executable graphs

Lyon describes skills as reusable packages with metadata and progressively loaded references, while noting that prose can make steps hard to verify. Neo4j research’s APE protocol represents skills as typed execution graphs with schema-governed steps. Lyon says the paper’s SkillsBench benchmark found more tasks were completed when APE was applied to human-curated skills.

Distill and govern skills from memory

The proposed process turns a workspace or project context graph into skills grounded in observed data, with procedural steps represented in a graph. Grounding, coverage, and coherence help assess the result, including whether mixed topics should become separate skills. A governed registry can flag skills as stale when underlying data changes, disappears, or conflicts; the pipeline is mostly deterministic, with an LLM used for some claim synthesis and description text.

See the workflow in NAMS

Lyon presents Neo4j Agent Memory Service, a Neo4j Labs project with REST API and MCP tools for working with short-term, long-term, and reasoning memory. In a healthcare example, he selects a patient intake conversation as the scope, then shows a generated skill whose steps are grounded in tool calls and entities. The result includes a SKILL.md file and supporting references.

Takeaways

  • Resolve entities into canonical, typed records before relying on memory retrieval.
  • Capture decision traces with evidence and tool results so agents can reuse more than conversation text.
  • Represent procedural skills as typed steps with explicit schemas to make them easier to inspect and execute.
  • Ground each skill component in source data and track changes that could make the skill stale.
  • Use scope and topic coherence to decide what experience belongs in a skill and when to split it.

Mentioned in this talk

Search inside this talk

What was claimed 7

  • works at
    Will Lyon works at Neo4j
    Senior Product Manager
    “I'm a product manager at Neo4j.”
    YouTube
    Verified4 sources· Talk, Web, GitHub· archived
  • metric
    APE: The paper's SkillsBench benchmark found a significant increase in tasks successfully completed when applying APE to human-curated skills.
    “found a significant increase in tasks successfully completed when applying the APE protocol to human-curated skills”
    YouTube
    Unverified1 source· Talk
  • feature
    APE: Represents skills as typed execution graphs with schema-governed steps.
    “We have steps modeled as nodes and a strict schema that governs how we describe those steps as actionable.”
    YouTube
    Unverified1 source· Talk
  • feature
    Neo4j Agent Memory Service: Workspace-scoped context graph with short-term, long-term, and reasoning memory; background skill distillation and curation for governance and staleness.
    “we have a workspace-scoped context graph with three types of agent memory”
    YouTube
    Unverified1 source· Talk
  • built
    “We've implemented this in the Neo4j Agent Memory Service”
    YouTube
    Unverified1 source· Talk
  • metric
    Neo4j Agent Memory Service: Free to use at the time of the talk.
    “It's currently free; anyone can sign in and try it out.”
    YouTube
    Unverified1 source· Talk
  • feature
    Neo4j Agent Memory Service: REST API and MCP tools for ingesting, retrieving, and working with memory.
    “REST API and MCP tools we can expose to our agents for ingesting, retrieving, and working with”
    YouTube
    Unverified1 source· Talk

Related talks