Skip to content

Dashboard

MemLayer includes a web-based dashboard for monitoring the state of your memory system. It is the landing page of the frontend application, accessible at the root URL (/).

The dashboard is organized into four sections:

A real-time indicator in the top-right corner shows whether the MemLayer API is reachable. It refreshes every 30 seconds and displays either Healthy (green) or Unhealthy (red).

Four cards at the top provide a snapshot of your instance:

CardDescription
Total MemoriesCount of all stored memories across every layer
Vector CountNumber of embeddings in the Proximum vector database
FactsCount of memories classified in the Fact layer
EpisodesCount of memories classified in the Episode layer

A breakdown of memories by semantic layer, showing the count and percentage for each:

  • Domain — broad topic areas
  • Concept — abstract ideas within a domain
  • Fact — specific, atomic pieces of knowledge
  • Episode — time-bound events or interactions

Each layer is displayed as a color-coded progress bar so you can see at a glance how your knowledge graph is balanced.

Monitors data integrity between the memory store (Datahike) and the vector store (Proximum). It reports two metrics:

  • Missing Vectors — memories that do not have a corresponding embedding in Proximum.
  • Orphan Vectors — embeddings in Proximum that no longer correspond to a memory.

When inconsistencies are detected, the panel highlights with a yellow border and suggests running a cleanup.

The dashboard sidebar provides navigation to the rest of the frontend:

PagePathPurpose
Dashboard/System overview (this page)
Browser/browserSearch and browse stored memories
Playground/playgroundTest retain and recall operations interactively
Graph/graphVisualize memory relationships as an interactive graph

The dashboard consumes these backend endpoints:

GET /health — Returns health status when the API and its database connections are operational. Polled every 30 seconds.

GET /api/v1/stats/memories — Returns memory counts and layer distribution. Polled every 10 seconds.

GET /api/v1/stats/consistency — Returns consistency check results between Datahike and Proximum (missing vectors, orphan vectors).

Start the dashboard locally:

Terminal window
bb dashboard-dev # start dev server (port 3000)
bb dashboard-css # in another terminal: watch Tailwind CSS

The dashboard is then available at localhost:3000.