ENGRAM

Memory Has Geometry.

What if you could step inside an AI’s memory—and investigate what happened there?

Imagine an AI agent helping a team manage software deployments. It remembers that a safety check can be skipped. That memory is retrieved, and a decision is recorded.

Later, the team discovers that the source behind the memory was compromised.

The question is no longer just, “Is this sentence true?”

Where did the memory come from? Who created or reinforced it? What was the agent shown? Which recorded decisions depended on it? What else might have been exposed? And what would the same query have returned if that memory had not been available?

These questions are connected, but they are rarely easy to hold in view at once.

I built ENGRAM to give them a place.

ENGRAM is an open-source investigation environment for computational memory: a seated, hands-first WebXR observatory, accompanied by a 2D canvas, where an investigator can explore the history, relationships, authority, and possible consequences surrounding memories used by AI systems.

The experience is live, and the source is open:

The guided scenario uses synthetic data. Reading and exploring are available without signing in; certain privileged operations require the demo operator account documented in the repository.

A memory is more than a sentence

When we say an AI “remembers” something, we often see the final text and little else. But a memory in an agentic system can have a history: it was created by someone or something, reinforced, contradicted, superseded, retrieved, or used in a recorded decision.

That history matters when something goes wrong.

In ENGRAM’s observatory, memories have a visible presence. The investigator can select one, inspect its custody history, follow relationships, and examine its status. The guided investigation reveals the field through a sequence of questions, while free exploration lets the investigator move through the available evidence.

The visual distinctions carry meaning. A memory affected by the quarantine of an actor is not presented as identical to one quarantined on direct evidence. A superseded memory remains part of the history. A possible relationship is distinguished from a recorded dependency.

That distinction is central to the investigation: a problem with a memory’s custody is a reason to examine it; it is not proof that its content is false.

Why bring this into space?

An investigation is rarely a single record opened in isolation. It is a set of relationships that must be understood together: an origin, a chain of events, an actor’s authority, a decision, and the possible effects of changing what the system can retrieve.

ENGRAM uses the spatial environment to give those elements distinct positions and forms. The investigator can approach a memory, inspect its history, follow its connections, and turn toward a separate chamber to examine a hypothetical comparison.

The 2D canvas and the observatory read from the same MNEME-backed field. The canvas offers a familiar investigation surface; the observatory explores how spatial organization and hand interaction can make a complex field of evidence navigable.

I am not claiming that VR is always the better interface. I am exploring what becomes possible when an investigator can move through this material, preserve its distinctions, and interact with it directly.

Two views of one question

One of ENGRAM’s central experiences is the counterfactual chamber.

Suppose the investigator asks: What would change if this memory were excluded from a particular query?

MNEME evaluates a bounded comparison between the recorded baseline and a sealed hypothetical. ENGRAM presents the resulting differences in a spatially separate area: which memories were removed, which entered, and which changed position in the result, when reported by MNEME.

The hypothetical is not an action taken in the factual field. It is not merged into the record, and it does not claim to predict everything that could happen elsewhere. It answers a defined question within the scope of the comparison.

That boundary is part of what makes the experience meaningful. The investigator can explore an alternative without confusing it with history.

Hands can express intent. Authority must still be earned.

ENGRAM is designed around seated, hands-first interaction.

A short pinch selects. A held pinch carries an object. A drop can stage a preview. When an investigator chooses to contain a compromised actor, the experience first shows what the operation would affect. Committing the quarantine requires an explicit action by an authorized operator.

The gesture is therefore the beginning of an operation, not its authorization.

Behind the interface, MNEME checks the actor’s capabilities and performs the custody transition. ENGRAM’s adapter exposes a deliberately narrow mutation path, including a check against a stale field version. The current experience supports actor quarantine; it does not give the visual interface unrestricted power over memory.

The architecture beneath the observatory

ENGRAM is built on Meta’s Immersive Web SDK and WebXR, with a FastAPI adapter connecting the spatial experience and 2D canvas to MNEME, a separate computational-memory engine I created.

Each part has a distinct responsibility:

  • ENGRAM turns the investigation into an interactive spatial and browser experience.
  • The adapter connects those interfaces to a defined set of MNEME operations.
  • MNEME maintains the underlying memory field, custody, authorization, impact analysis, counterfactual rules, and evidence export.

MNEME gives each memory a hash-linked custody history. It records authority separately from integrity: knowing that an event is present in a chain is a different question from knowing whether the actor was allowed to cause it.

Its impact analysis distinguishes recorded, derived, and possible relationships. Its counterfactual operation compares the results of a defined query under different conditions. Its offline verifier checks exported evidence independently of the process that produced it.

In ENGRAM, an investigator can export an evidence bundle and see the result returned by that separate verifier. A successful integrity check establishes what the verifier checked about the bundle; it does not establish the truth of every statement inside it.

For the technical details, implementation boundaries, and reproducible setup:

https://github.com/annatchijova/engram/blob/main/README_TECHNICAL.md

Open source is part of the point

I chose to release both ENGRAM and MNEME under the Apache License 2.0.

ENGRAM asks people to examine the history and authority behind a system’s memory. I wanted the system itself to invite examination too: researchers, developers, students, and auditors can read the code, run it, question its assumptions, modify it, and build on it under the terms of the license.

This project is an invitation to investigate how an interface can make computational memory more understandable—and how an underlying system can preserve the evidence needed to challenge what that interface shows.

ENGRAM — Apache 2.0: https://github.com/annatchijova/engram
MNEME — Apache 2.0: https://github.com/annatchijova/mneme

How I built it

ENGRAM is an experiment in building an ambitious interface around a dense technical idea.

I developed it through an AI-assisted, multi-agent workflow, using several models and tools, including Meta’s MUSE, OpenAI Codex, Kimi, and Anthropic Claude. I shaped the project’s direction and key decisions while the models contributed to design and implementation.

Using MUSE was an intentional part of exploring the broader Meta ecosystem while building an experience for its VR platform. The models assisted the development process; the running investigation relies on the implemented ENGRAM and MNEME systems rather than a model’s narrative being treated as evidence.

The repository includes technical documentation and reports covering the guided experience, free exploration, adapter checks, and security tests. The documented XR interaction tests were conducted in an emulated environment; physical Quest validation and user studies remain future work.

What comes next

I want to continue developing ENGRAM as a research instrument:

  • Validate interaction, comfort, and legibility on physical Meta Quest hardware.
  • Work with researchers investigating AI memory to understand which spatial representations help them reason about evidence.
  • Expand the available investigation surfaces and safely bounded queries.
  • Improve persistence, identity, and multi-operator behavior beyond the current demo deployment.
  • Extend the ways investigators can exchange and independently examine evidence.

AI systems are gaining the ability to retain information and use it later. That makes memory a place where decisions acquire a history—and where errors, uncertainty, and compromised sources can travel.

ENGRAM begins with a simple invitation:

Step inside. Follow the evidence. Ask what changed.

Built With

Share this project:

Updates

Submission history