Bain defines AI memory broadly as data in any format, including code, algorithms, hardware, and changes that affect them. He argues that graph memory can preserve causal links between pieces of information, which he sees as useful for reducing hallucinations and improving hypothesis generation.
Memory Masterclass: Make Your AI Agents Remember What They Do!
Speakers
Mark Bain of AIUS presents an AI memory workshop at AI Engineer with demos from Vasilia of Cogni, Alex of Neo4j, and Daniel of Graphiti and Zep.
Vasilia demonstrates Cogni building a semantic graph from GitHub repository data so agents can compare two developers against hiring benchmarks. The graph updates as data is ingested, and the demo’s final report recommends hiring Laszlo, citing his graph expertise and benchmark results.
Daniel argues that memory should reflect a product’s business domain. In a media-player example, facts about a user’s dog can pollute music recommendations when retrieval relies on semantic similarity alone. His Zep demo uses developer-defined entities, fields, and rules, such as financial goals, debts, and income sources, to make retrieval more specific.
Bain describes a GraphRAG Chat Arena prototype for comparing memory systems, including Mem0, Graphiti, Cognee, and a Neo4j MCP server, against one Neo4j graph. He also shows a human-language shell concept that uses temporal history across terminals, machines, and sessions to provide context for commands and potential security monitoring.
In Q&A, Bain suggests that noisy, weakly connected memories may be less reliable, while relationships and redundancy can help reduce noise. Panelists add that developers can use temporal weighting and custom rules to track relevance over time; for access control, the discussion mentions Neo4j role-based controls and separate graphs for individual users.
Takeaways
- Preserve relationships between memories when causal context matters.
- Define memory entities and retrieval rules around the product’s business domain.
- Use temporal history to give agents context across commands and sessions.
- Assess memory relevance over time with domain-specific rules and weighting.
- Consider role-based access controls or separate user graphs for sensitive data.
Mentioned in this talk
Search inside this talk
What was claimed 15
- foundedDaniel Chalef founded
Zep“My team and I built Graphiti”
1:11inCitation Needed: Provenance for LLM-Built Knowledge GraphsYouTube Verified5 sources· Talk, Web· archived
- foundedWojciech Zaremba founded
OpenAICo-founder“Wojciech Zaremba, the co-founder of OpenAI”
YouTube Verified3 sources· Talk, Web· archived
- works atAlex Gilmore works at
Neo4j
Senior AI Solutions Architect“I'm an AI architect at Neo4j”
YouTube Verified2 sources· Talk, Web· archived
- foundedVasilia Marovitz founded
Cognee
“I'm building a memory tool on top of graph and vector databases.”
YouTube Verified4 sources· Talk, Web· archived
- feature
Cognee: Ingests data, turns it into a semantic graph, and supports searching it
“adding data, turning it into a semantic graph, and then searching it”
YouTube Unverified1 source· Talk
- integrates with
Neo4j Cypher MCP Server integrates with Claude
“we're going to do this via Claude Desktop”
YouTube Unverified1 source· Talk
- uses
“Neo4j is a graph-native database that we'll use to store the knowledge graph”
YouTube Unverified1 source· Talk
- feature
Neo4j Cypher MCP Server: Stores entities, observations, and relationships and recalls memories across interactions“at each interaction, it tries to recall memories ... At the end ... it creates new entities and relationships”
YouTube Unverified1 source· Talk









