Skip to content

detect_communities

Discover natural communities in the knowledge graph using label propagation on edge connections. Read-only — shows which memories cluster together based on graph structure.

ParameterTypeRequiredDescription
projectstringNoFilter by project

Returns groups of memories that form natural communities based on their edge connections.

{
"project": "my-project"
}
  • Uses graph edges, not semantic similarity (unlike find_clusters)
  • Read-only — doesn’t modify any memories
  • Useful for understanding the graph’s natural structure
  • Results can inform organize calls
  • find_clusters — Similarity-based grouping
  • organize — Act on discovered communities
  • graph — View individual memory neighborhoods