Videos & Podcasts

Eat Your Vegetables First: What It Actually Takes to Build Trustworthy AI Memory

September 4, 2026
5
Vishakha Gupta
Vishakha Gupta
Eat Your Vegetables First: What It Actually Takes to Build Trustworthy AI Memory

Notes from Episode 1 of The Cognitive Layer, with Himanshu Singh

Listen or watch the full conversation: Spotify · YouTube

Everyone building agents or AI forward versions of their product is racing right now to give their AI, memory. Only a few people are asking the harder question first: what is that memory actually built on?

That question is the spine of the first episode of The Cognitive Layer. My guest was Himanshu Singh, whose career has been spent turning scattered, low-quality information into connected, trustworthy data assets, at eBay, at Microsoft, and today as an engineering manager at Netflix, where he leads engineering on their entertainment knowledge graph.

We opened with a simple icebreaker: coffee, cocktail, or dessert. Himanshu picked dessert, then used it to hand me the thesis for the entire conversation before I asked a real question.

"Memory is the dessert that everyone is trying to reach for right now, and the whole message is that to have that dessert, you have to eat your vegetables first, and those vegetables are the data foundation. If you skip them, the dessert will make you sick."

Data Quality at Ingestion: A Merging Error, During an Election

Himanshu's conviction on this isn't theoretical. Early in his career, working on Bing's Knowledge Graph, he owned the politics segment, ingesting voting records, opinions, and quotes for public figures. During an election, data for one particularly prominent, trending politician turned out to be sparse, thin on the metadata needed to distinguish it clearly from other entities. When that data got merged with information from other sources, two different politicians with similar names collapsed into one entity, producing a view of the record that simply wasn't true.

Caught before it caused real damage, but barely, and squarely during the period when it would have mattered most.

"If the bad data fails quietly, it never stays put. The impact will compound downstream. You validate at the point of ingestion, and that is the cheapest place on earth to do it. After that, if you do it, you really end up paying a lot of costs."

Graph Model vs. Graph Database vs. Knowledge Graph vs. Context Graph

Before a team writes a line of code, Himanshu argues the first question isn't how to build the system. It's whether they need a graph at all: are relationships the actual product of the system? Are there evolving multi-hop connections? Is the same entity being resolved across many sources? Only once those answers point toward "yes" does the graph conversation actually start, and even then, most teams blur four distinct layers together.

A graph model is a modeling choice, nothing more. What are the entities, how are relationships between them defined. It doesn't require any particular technology underneath it.

A graph database is a storage engine tuned for efficient traversal. Useful, but in Himanshu's view, often a skippable question in early stages. A graph model can run on infrastructure a team already has.

A knowledge graph is where governance actually enters the picture: the ontology, how entities are merged and resolved, how a "canonical entity" gets defined so that meaning from multiple sources becomes something shared and standardized across different users and use cases.

A context graph is a knowledge graph put to work, specifically as the grounding and memory layer for AI: real-time context that agents read from and write into as they operate. It's the same layer we've written about as the missing piece between human judgment and machine agency, and it maps closely to what we call Knowledge, Memory, and Context in our own framework.

"These are essentially a stack, and not a menu. Everyone wants to start at the top, the memory layer. But if you're not thinking about the layers underneath it, entities, how they're resolved, how they're governed, you're just decorating the top without building the foundation."

Entity Resolution Is a Systems Problem, Not a Prompt

Multi-agent systems raise the stakes on all of this considerably. In a single dashboard, a bad entity match is an embarrassing number. In a system where dozens of agents are reading, writing, and reasoning off the same shared layer simultaneously, one bad match cascades: every agent that touches it inherits the error, and they hallucinate in sync, agreeing confidently with each other on something false.

Himanshu's position is direct: don't hand entity resolution to an LLM at runtime. That approach is non-deterministic, unauditable, and prone to drifting from one run to the next, none of which builds the confidence a system needs to pass downstream.

Instead, he described a tiered architecture: offline algorithms doing the bulk of merging and deduplication, so even a system that needs to operate online can fall back on an audit trail that's mostly deterministic. The process begins with blocking and pruning to narrow millions of candidate entities down to a manageable set. Deterministic rules and machine learning models earn their place in that pipeline, while a human reviewer serves as the final tier for the entities that matter most from a business standpoint. All of this sits behind a shared entity-resolution service, effectively an intelligent router, that decides which tier a given entity needs.

The output of that whole system is a canonical identity, the contract that keeps a fleet of agents from confidently agreeing on the wrong thing. It's the same pattern our own audit of 20+ memory frameworks found missing almost everywhere: governance and consolidation are treated as afterthoughts rather than architecture. More on what that study found in our landscape deep dive.

Provenance and Explainability: Every Fact Needs a Receipt

The second half of that trust problem is explainability. Every fact, in Himanshu's framing, should carry its provenance: where it came from, which tier of the resolution system decided to merge it, the confidence score, a timestamp, and whatever other metadata a system would need to reason about whether to trust it. Not just for a human debugging the system later, but for the agents themselves. A well-built agent encountering a fact from a low-confidence source should go looking for a second one.

One distinction he was emphatic about: ground truth has to stay separate from agent-generated facts. A fact an agent observed and a fact an agent inferred are not the same category, and an inferred fact shouldn't get promoted to the same status as an observed one without the same quality bar.

"Provenance and lineage is what's stopping you from laundering fiction into facts, and then stopping agents from merging fiction with facts."

Centralized or Federated? The Open Question in Enterprise AI Memory

We closed on something Himanshu was candid about not having a settled answer to: should enterprise memory be one shared, horizontal substrate, or should every domain own its own vertical implementation?

A pure horizontal system, he argued, tends to fail the way horizontal infrastructure always fails, too generic to serve any one domain's real needs around freshness, schema, or latency. A pure vertical approach means every team re-implements entity resolution, provenance, and governance from scratch, and the system loses any ability to reason across domains.

His bet lands in the middle: centralize the hard, universal primitives, identity and entity resolution, how provenance and lineage flow through the system, access control, a shared semantic registry, retrieval APIs, observability, and federate the actual business context and domain memory out to the teams who own it. He drew the comparison to human memory directly: the mechanics of how a neuron fires are the same across every person, but what gets stored, and what it means, is entirely individual. A well-designed horizontal layer, in his view, doesn't just hold the shared substrate. It also defines clean hooks so each vertical can write into it without friction (this philosophy aligns very closely with Aperture Nexus).

The Biggest Mistake in Building AI Agent Memory

Asked what he'd want an engineering leader building agent memory today to hold onto above everything else, Himanshu didn't hedge:

"The number one mistake is building the memory and agent layer before you know your data foundation is trustworthy. If your entities aren't resolved, if your facts don't have that explainability receipt, adding memory on top just automates the confusion faster, and makes you more efficient at being wrong."

His advice: resist buying a vector database, calling it memory, and moving on. Earn a small, governed slice of truth first. Define what the canonical identities are, what provenance means for your system, what memory actually is for your use case, how it expires, how you know the facts inside it are still current rather than silently stale. Understand all of that before the system exists. Then prove it works, to yourself and to another human, because if a person can't explain why the data coming out of a system is trustworthy, the agents consuming it won't do any better.

It's the same conclusion we landed on building Aperture Nexus: lineage, permissions, and trust in the reasoning itself all have to hold up together, or none of them mean much on their own.

This is the first episode of The Cognitive Layer. Full conversation available on Spotify and YouTube.

Related Blogs

Same Door. Very Different Walk In.
Blogs
Same Door. Very Different Walk In.
Introducing Aperture Nexus: An Open Source Memory and Cognition Layer for AI Agents
Read More
Watch Now
Product
AI Memory & Cognition Landscape: The Architect’s Playbook
Blogs
AI Memory & Cognition Landscape: The Architect’s Playbook
This is Part 2c of our four-part Deep Dive on AI Memory and Cognition landscape. It synthesizes the findings into a playbook for architects choosing the cognitive infrastructure for their organization.
Read More
Watch Now
Industry Experts
AI Memory & Cognition Landscape: Deep Dive
Blogs
AI Memory & Cognition Landscape: Deep Dive
In Part 1 of this series, we explored the "Human Blueprint" for AI memory in the context of organizations, the idea that for agents to truly reason, they must mimic the way the human brain balances knowledge, learning, and experience. In Part 2a, we introduced the KMC (Knowledge-Memory-Context) Blueprint to help define the three distinct layers required for an AI to “find”, “learn”, and "understand" so it could “think” like a colleague. Now, we move from theory to the technical landscape.
Read More
Watch Now
Industry Experts
The Spectrum of Machine Cognition: Evaluating Frameworks from Coding Agents to the Enterprise Memory
Blogs
The Spectrum of Machine Cognition: Evaluating Frameworks from Coding Agents to the Enterprise Memory
In this blog, we outline what AI cognition means, establish standard metrics, and introduce the frameworks / tools we have have included in our study. This forms the baseline to understand what’s out there as it’s a rapidly growing market to address a need for Agentic cognition and reasoning.
Read More
Watch Now
Industry Experts
Building Real World RAG-based Applications with ApertureDB
Blogs
Building Real World RAG-based Applications with ApertureDB
Combining different AI technologies, such as LLMs, embedding models, and a database like ApertureDB that is purpose-built for multimodal AI, can significantly enhance the ability to retrieve and generate relevant content.
Read More
Managing Visual Data for Machine Learning and Data Science. Painlessly.
Blogs
Managing Visual Data for Machine Learning and Data Science. Painlessly.
Visual data or image/video data is growing fast. ApertureDB is a unique database...
Read More
What’s in Your Visual Dataset?
Blogs
What’s in Your Visual Dataset?
CV/ML users need to find, analyze, pre-process as needed; and to visualize their images and videos along with any metadata easily...
Read More
Transforming Retail and Ecommerce with Multimodal AI
Blogs
Transforming Retail and Ecommerce with Multimodal AI
Multimodal AI can boost retail sales by enabling better user experience at lower cost but needs the right infrastructure...
Read More
Vector Databases and Beyond for Multimodal AI: A Beginner's Guide Part 1
Blogs
Vector Databases and Beyond for Multimodal AI: A Beginner's Guide Part 1
Multimodal AI, vector databases, large language models (LLMs)...
Read More
How a Purpose-Built Database for Multimodal AI Can Save You Time and Money
Blogs
How a Purpose-Built Database for Multimodal AI Can Save You Time and Money
With extensive data systems needed for modern applications, costs...
Read More
Minute-Made Data Preparation with ApertureDB
Blogs
Minute-Made Data Preparation with ApertureDB
Working with visual data (images, videos) and its metadata is no picnic...
Read More
Why Do We Need A Purpose-Built Database For Multimodal Data?
Blogs
Why Do We Need A Purpose-Built Database For Multimodal Data?
Recently, data engineering and management has grown difficult for companies building modern applications...
Read More
Building a Specialized Database for Analytics on Images and Videos
Blogs
Building a Specialized Database for Analytics on Images and Videos
ApertureDB is a database for visual data such as images, videos, embeddings and associated metadata like annotations, purpose-built for...
Read More
Vector Databases and Beyond for Multimodal AI: A Beginner's Guide Part 2
Blogs
Vector Databases and Beyond for Multimodal AI: A Beginner's Guide Part 2
Multimodal AI, vector databases, large language models (LLMs)...
Read More
Challenges and Triumphs: Multimodal AI in Life Sciences
Blogs
Challenges and Triumphs: Multimodal AI in Life Sciences
AI presents a new and unparalleled transformational opportunity for the life sciences sector...
Read More
Your Multimodal Data Is Constantly Evolving - How Bad Can It Get?
Blogs
Your Multimodal Data Is Constantly Evolving - How Bad Can It Get?
The data landscape has dramatically changed in the last two decades...
Read More
Can A RAG Chatbot Really Improve Content?
Blogs
Can A RAG Chatbot Really Improve Content?
We asked our chatbot questions like "Can ApertureDB store pdfs?" and the answer it gave..
Read More
ApertureDB Now Available on DockerHub
Blogs
ApertureDB Now Available on DockerHub
Getting started with ApertureDB has never been easier or safer...
Read More
Are Vector Databases Enough for Visual Data Use Cases?
Blogs
Are Vector Databases Enough for Visual Data Use Cases?
ApertureDB vector search and classification functionality is offered as part of our unified API defined to...
Read More
Accelerate Industrial and Visual Inspection with Multimodal AI
Blogs
Accelerate Industrial and Visual Inspection with Multimodal AI
From worker safety to detecting product defects to overall quality control, industrial and visual inspection plays a crucial role...
Read More
ApertureDB 2.0: Redefining Visual Data Management for AI
Blogs
ApertureDB 2.0: Redefining Visual Data Management for AI
A key to solving Visual AI challenges is to bring together the key learnings of...
Read More

Start Your Multimodal AI Journey Today

Try ApertureDB free for 30 days or schedule a demo to get started.

Stay Connected:
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
ApertureData Featured on the DesignRush list of AI Productivity Tools