Skip to main content
Mem[v] automatically builds knowledge graphs from your content, connecting entities through relationships and enabling graph-aware semantic search for AI agents.

What is a Knowledge Graph?

A knowledge graph is a network of entities and relationships automatically extracted from memories: From memories:
  • “Sarah Chen is the CTO at Acme Corp”
  • “Acme Corp uses Kubernetes for deployments”
Graph representation:

Triplet structure

Knowledge is stored as Subject → Predicate → Object:

Automatic entity extraction

Mem[v] identifies and extracts:
  • People: Names, roles, relationships
  • Organizations: Companies, teams, departments
  • Technologies: Tools, frameworks, platforms
  • Locations: Cities, offices, regions
  • Topics: Concepts, subjects, categories
When you search, results include connected entities: Query: “Sarah Chen” Returns:
  • Direct memories about Sarah
  • Her role (CTO)
  • Company (Acme Corp)
  • Technologies she uses (Kubernetes)
  • Teams she manages
  • Projects she leads

Common use cases

Team knowledge

Product dependencies

Map system architecture:

Customer insights

Understand customer relationships:

Automatic graph building

Graphs build automatically as you add memories:

Query the graph

Cross-content graphs

Graphs connect information across all content types: Video: “Sarah is leading the Kubernetes migration” → Sarah Chen → leads → Kubernetes Migration PDF: “Kubernetes migration depends on new infrastructure” → Kubernetes Migration → depends_on → New Infrastructure Chat: “New infrastructure will use AWS EKS” → New Infrastructure → uses → AWS EKS Combined graph:

Relationship types

Automatically detected relationships:
  • Professional: works_at, reports_to, manages, collaborates_with
  • Technical: uses, depends_on, integrates_with, built_with
  • Conceptual: related_to, part_of, category_of, type_of
  • Temporal: preceded_by, followed_by, during, after
  • Preference: prefers, likes, requires

Best practices

  • Include rich context in memories for better entity extraction
  • Use consistent entity names across content
  • Add structured metadata for clearer relationships
  • Leverage graph queries to enrich AI context

Privacy and isolation

Knowledge graphs respect Space boundaries:
  • Each Space has an independent graph
  • Entities never connect across spaces
  • Ensures data privacy and separation

Next steps

Memories

Add memories to build graphs

Search

Graph-aware semantic search

SDK: Graph

Query knowledge graphs