Skip to content

MemoryLayer Enterprise

MemoryLayer Enterprise is the open-source (AGPL-3.0) production edition of MemoryLayer. It extends the Apache-2.0 MemoryLayer core server with PostgreSQL-backed storage, a full document and dataset pipeline, background workers, hot/cold memory tiering, external data connectors, multi-tenant administration, and a web admin dashboard. You deploy and operate it yourself.

Source: github.com/scitrera/memorylayer-enterprise


What Enterprise Adds

Enterprise is a set of plugins layered on top of the core server. It keeps the core REST API and adds or replaces the following:

AreaWhat Enterprise provides
StoragePostgreSQL with pgvector (vector search), Apache AGE (graph analysis and graph queries), and pg_textsearch (BM25 full-text). Schema is managed with Alembic migrations.
Memory serviceEnterprise recall with hot/cold tiering, an agentic recall mode (iterative EXPAND / RE_QUERY / STOP loop), and recall trajectories for observability.
DocumentsAn enterprise document pipeline that replaces the core /v1/documents router: page rendering, Office conversion (LibreOffice), OCR/transcription cascade, figure captions, page embeddings and multivectors, visual tokens, document chat, and periodic verification.
DatasetsTabular dataset management — upload, profiling, DuckDB slicing, and memory extraction.
CollectionsA vector-indexed collections store for reusable items such as prompts and tool definitions.
Entities and knowledgeGLiNER2 typed named-entity extraction (with regex fallback), a canonical entity registry with embedding-based fuzzy resolution, and an enterprise knowledge base that adds entity articles.
Data connectorsA separate data connectors service with a VFS catalog and connectors for S3, Google Drive, Dropbox, Slack, Discord, Teams, GitHub, web pages, local files, and manual upload.
AdministrationUsers, applications, API tokens, and cross-workspace admin endpoints, plus the web admin dashboard.
OperationsBackground worker (memorylayer-worker) for ingestion and reconcilers, PostgreSQL audit log, Prometheus metrics, OpenTelemetry tracing, Redis-compatible cache, and Aether-backed rate limiting, authentication, and authorization.

Architecture

A MemoryLayer Enterprise deployment is made of these parts:

ComponentRole
Enterprise server (memorylayer-enterprise serve)The REST API. Same client-facing protocol as the core server, with the enterprise plugins registered.
Worker (memorylayer-worker start)Executes background tasks (document render/transcribe/embed, dataset profiling, tiering archival, KB refresh, blob GC, and more) delivered through Aether. Ships in the same image as the server.
Data connectors service (data-connectors)Syncs external sources into a VFS catalog and enqueues document ingestion work through Aether. Separate image.
Embedding extensionsPlugins for the core memorylayer-embed-server: a visual tokenizer (/v1/visual-tokenize) and GLiNER2 named-entity extraction. Installed from source; no separate image.
Admin dashboardNext.js web UI for workspaces, memories, sessions, documents, datasets, jobs, tokens, audit logs, trajectories, entities, and tiering. Built from source.
PostgreSQL imagePostgreSQL 17 with pgvector, Apache AGE, and pg_textsearch preinstalled, in a standard and a CloudNativePG variant.
MemoryLayer StorageOptional blob gateway (blobgw) and filesystem services with content-addressed dedup. Released separately (AGPL-3.0 services, Apache-2.0 Python client).
AetherMessaging, task delivery, and authentication. Clients reach the server through the Aether auth proxy, which validates API keys and forwards verified identity to MemoryLayer.

Enterprise also runs per tenant inside the open-source Scitrera Platform, where each tenant gets its own Aether instance, MemoryLayer Enterprise, and data connectors service.


Same Clients as the Core

Enterprise speaks the same REST API as the core server, so the existing clients work unchanged:

Point the client’s base URL at your deployment’s API endpoint and supply an API key. See Connecting clients.


License

The Scitrera extensions in MemoryLayer Enterprise are licensed under the GNU Affero General Public License, version 3 only (AGPL-3.0-only). The MemoryLayer core server and SDKs remain Apache-2.0 and are not relicensed. The PostgreSQL build glue is Apache-2.0, and the assembled PostgreSQL images keep each component’s own license.

In plain terms: you can use, modify, and self-host Enterprise freely. If you distribute it, or run a modified version as a network service for others, you must make the corresponding source of your version available under the same license. Using the unmodified software internally does not require publishing anything.

Contributions require acceptance of the MemoryLayer Enterprise Contributor License Agreement. Scitrera LLC is the Project Owner. See CONTRIBUTING.md.

Scitrera has closed its doors and released its work as open source. There is no commercial licensing, paid support, or sales contact. Report issues and contribute through GitHub.


Next Steps