Docs
Sign in

Knowledge Graph

The Knowledge graph is a picture of what Cortex knows. It shows your memories, the entities found in them (people, organisations and similar) and KPI entities, joined by lines that show how they relate.

Screenshot to add: The Knowledge graph page with the search box, layer chips and the canvas showing three clusters.

The page is titled Knowledge graph and lives at /memory/graph. Under the title, a summary line reads like "200 memories · 150 of 2,340 entities · 480 edges shown". While the first load is running it says "Loading…". At the top right are two buttons.

ButtonWhat it does
Entities listOpens the Entities page
RefreshReloads the data for the layers that are on

Layers

The graph has three layers. Each has its own colour and its own shape, so you can tell them apart without relying on colour.

LayerShapeWhat a node isWhere its links come from
MemoriesCircleOne memoryLinks between memories
EntitiesSquareOne entity, such as an organisationRelationships between entities
KPI entitiesTriangleAn entity that has KPI metricsMetrics Cortex has extracted

Each layer sits in its own cluster on the canvas. Memories are at the upper left, entities at the upper right and KPI entities at the bottom centre. Each cluster has a dashed ring and a label.

The layout is fixed, not animated. The same data always draws the same way.

Extra lines also join an entity to the memories it came from, when those memories are on the canvas.

The toolbar

ControlWhat it does
Find an entity or memoryA search box. Nodes whose name does not match fade out instead of vanishing, so the shape of the graph stays clear
Memories, Entities, KPI entitiesOne chip per layer. Click to turn a layer on or off. A number on the chip is how many nodes that layer shows. A dash means it is still loading or failed (shown in red when failed)
SuggestionsAppears only when Cortex has proposed links. Click to show or hide them. The number is how many there are

Hover over a layer chip to see where its data comes from. The layers, search and open panel are kept in the page address, so you can share the link.

All three layers are on by default. If you turn all of them off, the page says "No layers on" and "Turn on a layer above to explore the graph."

The canvas

Screenshot to add: The canvas with the legend at the top right and the zoom buttons at the bottom left.
ActionHow
PanClick and drag the background
ZoomUse the mouse wheel, or the Zoom in and Zoom out buttons. Zoom goes from 20% to 500%
Reset the viewClick Fit to view
Open a nodeClick it, or focus it with the keyboard and press Enter or Space

Lines are faint until you hover over or open a node. Then the lines touching it light up. Hovering also shows a small label with the node name (long names are cut at 32 characters).

Node size has a meaning. Memory circles grow with importance. Entity squares grow with the number of source memories. KPI triangles grow with the number of metrics.

The legend

The legend at the top right lists the layers that are on.

ItemMeaning
Circle, square, triangleMemory, Entity, KPI entity
Entity with KPIsA square with an outline, shown when both Entities and KPI entities are on
structuralA solid line
semanticA dashed line
causalA thicker solid line
Suggested badge = proposalA suggested link. Always dashed amber. Never a confirmed relationship

Status notices

Small notices appear at the top left of the canvas.

NoticeWhen
"Loading memories…" (or entities, KPI entities)That layer is still loading
"Memories failed to load", with the reason and RetryThat layer failed. This is shown separately from an empty layer
"No memories yet"That layer loaded but has nothing
"Relationships failed to load; entity edges are missing", with RetryEntities loaded but their links did not
"Showing first 200 of 2,340 entities"A layer hit its limit

Page states

SituationWhat you see
First loadA grey pulsing block
Every visible layer failed"Couldn’t load the graph", naming the layers, with a retry
Nothing to show"Nothing on the visible layers yet" and "Turn on another layer, or ingest some memories first."

The KPI layer is not retried automatically, because older deployments may not provide it. It shows its error instead.

Details panels

Opening a node shows a side panel. Which one depends on the layer.

Memory node

Opens the standard memory details panel, the same one used for memory citations elsewhere in Cortex.

Entity node

Screenshot to add: The entity side panel with its fields, source memories and relationships.

The title is the entity name. Tags show its type and "N source memories".

FieldWhat it shows
IDThe entity ID
Canonical nameThe main name
TypeThe entity type
AliasesOther names, comma separated, or a dash
First seen and Last seenDates, or a dash
Source memoriesLinks to the memories it came from. Shows the first 25, then "First 25 of N"

The Relationships section lists each link involving this entity. Incoming links read like works for (from). Click a name to open that entity. Each row can show a Suggested badge, the kind (Causal, Semantic or Structural), a confidence percentage and a memory count.

Only relationships loaded on this graph are listed. With none, it says "None among the N relationships loaded on this graph." If entities are switched off it says "Turn on the Entities layer to load relationships." If loading failed it says "Relationships failed to load."

The buttons at the bottom are:

ButtonWhat it does
Focus herePuts the entity name in the search box and closes the panel
Open memoriesOpens the Memory Explorer searched for this entity

If the entity cannot be loaded you see "Couldn’t load this entity" with a retry.

KPI entity node

The title is the entity name. Tags show KPI entity, "N rows" and "N distinct metrics".

FieldWhat it shows
Entity nameThe name
Metric countHow many metric rows were extracted
Distinct metricsHow many different metrics
Last valueThe latest value, or a dash
Last extracted atDate and time of the last extraction
Observation windowFirst and last observation dates, shown as first date → last date
Linked entityA link to the matching entity, "No matching entity row", or "Lookup failed"

If no summary is available, the panel says "No aggregation data". The entity may be outside the first page of results, or the deployment may not offer this data.