Skip to Content
Introduction

Introduction

Memorer is a knowledge graph memory layer for AI applications. It lets your AI remember users, learn from conversations, and build structured knowledge over time.

What is Memorer?

Most AI applications are stateless — they forget everything between sessions. Memorer changes that by providing:

  • Persistent memory — Store and recall information across conversations
  • Knowledge graphs — Automatically extract entities and relationships from text
  • Semantic search — Find relevant memories using natural language queries
  • Conversation tracking — Maintain context within and across sessions
  • Memory consolidation — Automatically organize and deduplicate knowledge

How it works

from memorer import Memorer client = Memorer(api_key="mem_sk_...") user = client.for_user("user-123") # Store a memory — returns IngestResponse with extraction counts user.remember("The user prefers dark mode and uses VS Code") # Recall relevant memories — returns QueryResponse with context string results = user.recall("What editor does the user prefer?") print(results.context) # "The user prefers dark mode and uses VS Code"

The SDK is synchronous — no await needed.

Key concepts

ConceptDescription
MemoriesIndividual pieces of stored knowledge (direct, derived, or inferred)
EntitiesNamed things extracted from memories (people, places, preferences)
RelationshipsConnections between entities in the knowledge graph
ConversationsSessions that combine short-term context with long-term memory
ConsolidationAutomatic cleanup that merges duplicates and removes stale data

Next steps

Last updated on