Memory

World-Model Graph Memory

Memory store structured as a typed entity-relation graph used as the agent's authoritative world model for planning — not only for retrieval.

Problem

Knowledge-graph-memory used as retrieval surface alone misses the planning value of the structure. Plans that span entities and relations cannot be expressed if the graph is only queried by similarity. Differs from knowledge-graph-memory by being the agent's *planning substrate*, not just a retrieval index.

Solution

Graph schema includes typed entities, typed relations, and entity properties suitable for planning queries (preconditions, effects, capabilities). Agent plans by querying the graph: 'what's the path from current state to goal state?' is a graph traversal, not an LLM hallucination. Pair with knowledge-graph-memory, graphrag, mental-model-in-the-loop-simulator, semantic-memory, episodic-memory.

When to use

  • Domain naturally maps to typed entities and relations.
  • Planning queries benefit from structural traversal.
  • Engineering team can author and maintain the graph schema.

Open the full interactive page

Diagram, neighbourhood map, code examples, related patterns and full provenance.

Related