Skip to content

memorylayer.ai

Open-source, API-first memory infrastructure for LLM-powered agents. Store, recall, and synthesize memories with cognitive memory types, hybrid retrieval, an entity registry, and a rich relationship graph.

Open source, top to bottom

MemoryLayer

The memory engine: hybrid retrieval, knowledge graph, entities, reflection, and a zero-config SQLite backend. Apache-2.0.

MemoryLayer Enterprise

The production edition on PostgreSQL, with document ingestion, datasets, data connectors, multi-tenancy, and an admin dashboard. AGPL-3.0.

MemoryLayer Storage

Content-addressed dedup and compression behind an object API, an S3-compatible gateway, and a POSIX filesystem. AGPL-3.0.

The client SDKs (Python, TypeScript, Go), MCP server, and agent plugins are Apache-2.0 and work with every edition.

Quick Install

Terminal window
# Server
pip install memorylayer-server
# Python SDK
pip install memorylayer-client
# TypeScript SDK
npm install @scitrera/memorylayer-sdk
# Go SDK
go get github.com/scitrera/memorylayer/memorylayer-sdk-go
# MCP Server (for Claude, etc.)
npm install @scitrera/memorylayer-mcp-server