# memtensor/memos

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/memtensor-memos).**

5,665 stars · 520 forks · Python · apache-2.0

## Links

- GitHub: https://github.com/MemTensor/MemOS
- Homepage: https://memos.openmem.net
- awesome-repositories: https://awesome-repositories.com/repository/memtensor-memos.md

## Topics

`agent` `agent-memory` `clawdbot` `llm` `llm-memory` `long-term-memory` `memory` `memory-agent` `memory-management` `memory-operating-system` `memory-retrieval` `memory-scheduling` `moltbot` `openclaw` `rag` `retrieval-augmented-generation` `skill-memory` `skills`

## Description

MemOS is an open-source persistent memory layer for AI agents and large language models, providing a self-hosted server that stores and retrieves structured memory across sessions. It enables AI systems to recall user preferences, history, and context without retraining, using a graph-based API and a web management interface for viewing, editing, and organizing memory items, skills, traces, and knowledge bases.

The system distinguishes itself through a portable memory interchange protocol that allows memory to be transferred between different AI models, devices, and applications, along with a three-tier memory architecture that organizes information into Skills, Traces/Episodes, and World Models. It stores persistent memory as human-readable Markdown files on local SQLite storage rather than opaque vector databases, and supports hybrid semantic-lexical retrieval that combines vector cosine similarity with BM25 lexical search. Additional differentiators include predictive memory preloading that loads relevant context before it is needed, asynchronous memory ingestion for millisecond-level latency under high concurrency, and memory-based skill crystallization that extracts repeated strategies into callable, versioned skills.

The platform offers composable knowledge base cubes for managing multiple isolated knowledge bases with controlled sharing across users, projects, and agents, along with per-agent memory isolation and feedback-based memory refinement. It supports multi-modal memory storage for text, images, tool traces, and personas, and provides a CLI tool for cross-agent memory sharing. Memory lifecycle management includes full CRUD operations, batch cleanup, tagging, and governance, while retrieval budget control limits token consumption by capping the number of memories recalled per task. The system also enables team skill sharing over LAN or VPN and supports data import and export in JSON, legacy plugin, and agent-specific formats.

Documentation covers deployment across public cloud, private cloud, on-premises, and hybrid architectures, with the server running on SQLite for privacy and offline operation.

## Tags

### Artificial Intelligence & ML

- [AI Memory Layers](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-memory-layers.md) — Provides a persistent memory layer for AI agents to recall user preferences and history across sessions.
- [Graph-Structured Memory APIs](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-architectures/memory-management-systems/long-term-memory-stores/hybrid-short-and-long-term-memory/graph-structured-memory-apis.md) — Adds, retrieves, edits, and deletes long-term memory through a single graph-structured API that remains inspectable and editable. ([source](https://cdn.jsdelivr.net/gh/memtensor/memos@main/README.md))
- [Long-term Memory Injection](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-architectures/memory-management-systems/long-term-memory-stores/long-term-memory-injection.md) — Integrates persistent memory into AI agents with a few lines of code, enabling recall across sessions and tasks. ([source](https://memos.openmem.net/cn/))
- [Composable Knowledge Cubes](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-knowledge-bases/composable-knowledge-cubes.md) — Manages multiple isolated knowledge bases as modular cubes with controlled sharing.
- [Local SQLite Stores](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-memory-storage/local-sqlite-stores.md) — Stores all AI memory locally using SQLite, ensuring privacy and offline operation. ([source](https://memos-docs.openmem.net/cn/openclaw/local_plugin))
- [Agent Memory Stores](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-memory-stores.md) — Provides persistent storage for maintaining state, user preferences, and conversation history across agent sessions. ([source](https://memos.openmem.net))
- [Hybrid Search Retrievers](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-rag-development/knowledge-base-retrieval/hybrid-search-retrievers.md) — Combines vector cosine similarity with BM25 lexical search for hybrid memory retrieval.
- [Three-Tier Memory Architectures](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/memory-context-systems/agent-memory-architectures/composable-memory-architectures/three-tier-memory-architectures.md) — Organizes memory into three tiers with separate retrieval channels for Skills, Traces, and World Models.
- [AI Agent Servers](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-agent-servers.md) — Provides an open-source server that stores and retrieves structured memory for AI agents across sessions.
- [Context-Aware Retrieval](https://awesome-repositories.com/f/artificial-intelligence-ml/context-aware-retrieval.md) — Searches stored memories by user and query, returning relevant results to personalize AI agent interactions. ([source](https://cdn.jsdelivr.net/gh/memtensor/memos@main/README.md))
- [Conversation Memory Stores](https://awesome-repositories.com/f/artificial-intelligence-ml/conversation-memory-stores.md) — Ships a conversation memory store that persists and retrieves interaction history for AI agents. ([source](https://memos-docs.openmem.net/memos_cloud/quick_start/))
- [Memory Persistence](https://awesome-repositories.com/f/artificial-intelligence-ml/memory-persistence.md) — Provides memory persistence so AI agents recall past interactions and user preferences across sessions. ([source](https://memos.openmem.net/))
- [Memory Portability Utilities](https://awesome-repositories.com/f/artificial-intelligence-ml/memory-portability-utilities.md) — Transfers persistent memory between AI models, devices, and applications via a portable protocol.
- [Millisecond Retrieval Systems](https://awesome-repositories.com/f/artificial-intelligence-ml/memory-retrieval-systems/millisecond-retrieval-systems.md) — Returns relevant memory records with millisecond latency, enabling real-time recall during AI interactions. ([source](https://memos.openmem.net/))
- [Experience-Based Skill Extractors](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-capabilities-skills-tooling/agent-skill-frameworks/skill-improvement-verifiers/experience-based-skill-extractors.md) — Extracts repeated high-value strategies into callable, versioned skills that improve with feedback. ([source](https://memos-docs.openmem.net/cn/openclaw/local_plugin))
- [Feedback Loops](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/memory-context-systems/agent-memory-architectures/agent-memory-managers/feedback-loops.md) — Corrects, supplements, or replaces existing memories using natural-language feedback to improve accuracy over time. ([source](https://cdn.jsdelivr.net/gh/memtensor/memos@main/README.md))
- [Shared Skill Distribution](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-agent-skills/shared-skill-distribution.md) — Enables optional sharing of crystallized skills and trace excerpts over LAN or VPN through a dedicated panel. ([source](https://memos-docs.openmem.net/cn/openclaw/local_plugin))
- [Low-Latency Retrieval Systems](https://awesome-repositories.com/f/artificial-intelligence-ml/memory-retrieval-systems/low-latency-retrieval-systems.md) — Returns stored memory records with millisecond latency for real-time AI recall.
- [Prompt Assembly Systems](https://awesome-repositories.com/f/artificial-intelligence-ml/prompt-assembly-systems.md) — Formats retrieved memory fragments into a structured prompt with safety rules to guide an AI's personalized response. ([source](https://memos-docs.openmem.net/memos_cloud/quick_start/))
- [Memory Retrieval Budget Controllers](https://awesome-repositories.com/f/artificial-intelligence-ml/reasoning-token-budgeting/reasoning-budget-controllers/memory-retrieval-budget-controllers.md) — Limits the number of memories recalled per task to reduce token consumption and avoid irrelevant context. ([source](https://memos-docs.openmem.net/openclaw/guide))
- [Hybrid Search Methods](https://awesome-repositories.com/f/artificial-intelligence-ml/semantic-search/hybrid-search-methods.md) — Combines vector cosine similarity with BM25 lexical search, fusing scores to rank relevant memories. ([source](https://memos-docs.openmem.net/openclaw/guide))

### Data & Databases

- [Markdown Memory Stores](https://awesome-repositories.com/f/data-databases/file-based-storage-systems/markdown-memory-stores.md) — Stores persistent AI memory as human-readable Markdown files instead of opaque databases.
- [Memory Ingestion Pipelines](https://awesome-repositories.com/f/data-databases/high-throughput-ingestion-pipelines/asynchronous-ingestion-pipelines/memory-ingestion-pipelines.md) — Processes memory operations asynchronously with millisecond latency for high concurrency.
- [SQLite Storage Adapters](https://awesome-repositories.com/f/data-databases/sqlite-drivers/sqlite-storage-adapters.md) — Keeps all memory data and logs on the user's machine using SQLite for privacy and offline operation.
- [Tool Output Compressors](https://awesome-repositories.com/f/data-databases/data-deduplication-tools/message-deduplication/fact-deduplication/tool-output-compressors.md) — Provides compression and deduplication of long tool outputs to maintain clean AI memory. ([source](https://memos-docs.openmem.net/openclaw/guide))
- [Asynchronous Ingestion Pipelines](https://awesome-repositories.com/f/data-databases/high-throughput-ingestion-pipelines/asynchronous-ingestion-pipelines.md) — Processes memory operations asynchronously with millisecond-level latency under high concurrency. ([source](https://cdn.jsdelivr.net/gh/memtensor/memos@main/README.md))
- [Multi-Modal Stores](https://awesome-repositories.com/f/data-databases/in-memory-data-stores/multi-modal-stores.md) — Stores and retrieves text, images, tool traces, and personas together in one memory system.
- [Natural Language Memory Queries](https://awesome-repositories.com/f/data-databases/indexing-and-search/recall-optimization/conversation-memory-retrieval/natural-language-memory-queries.md) — Queries stored memories by a natural-language prompt and returns matching factual and preference records. ([source](https://memos-docs.openmem.net/memos_cloud/quick_start/))
- [Knowledge Base Management](https://awesome-repositories.com/f/data-databases/knowledge-base-management.md) — Organizes memory into knowledge bases with configurable storage per item and a maximum number of bases per plan. ([source](https://memos.openmem.net/pricing))
- [Composable Cubes](https://awesome-repositories.com/f/data-databases/knowledge-base-management/composable-cubes.md) — Manages multiple isolated knowledge bases as composable memory cubes for controlled sharing across users and agents. ([source](https://cdn.jsdelivr.net/gh/memtensor/memos@main/README.md))
- [Multi-Modal Memory Stores](https://awesome-repositories.com/f/data-databases/multi-modal-data-management/multi-modal-preprocessing-pipelines/multi-modal-memory-stores.md) — Stores and retrieves text, images, tool traces, and personas together in one memory system. ([source](https://cdn.jsdelivr.net/gh/memtensor/memos@main/README.md))
- [Three-Tier Retrieval Systems](https://awesome-repositories.com/f/data-databases/tiered-caching-systems/multi-tier-memory-systems/three-tier-retrieval-systems.md) — Searches across Skills, Traces/Episodes, and World Models using multiple retrieval channels with RRF and MMR. ([source](https://memos-docs.openmem.net/cn/openclaw/local_plugin))
- [API-Based Stores](https://awesome-repositories.com/f/data-databases/vector-memory-stores/api-based-stores.md) — Stores persistent memory entries via an API with monthly quotas ranging from 50K to unlimited entries. ([source](https://memos.openmem.net/pricing))

### Operating Systems & Systems Programming

- [Memory Entry Lifecycles](https://awesome-repositories.com/f/operating-systems-systems-programming/kernel-core-internals/process-and-memory-management/memory-entry-lifecycles.md) — Provides full CRUD, batch cleanup, tagging, and governance for AI memory entries.
- [Memory Isolation](https://awesome-repositories.com/f/operating-systems-systems-programming/kernel-core-internals/process-and-memory-management/process-isolation/memory-isolation.md) — Separates memory storage and retrieval by agent identifier with optional whitelist control and per-agent configuration. ([source](https://memos-docs.openmem.net/openclaw/guide))

### Programming Languages & Runtimes

- [Cross-Model Memory Protocols](https://awesome-repositories.com/f/programming-languages-runtimes/object-serialization/cross-thread/persistent-memory-variable-sharing/cross-model-memory-protocols.md) — Shares persistent memory between different AI models via a portable interchange protocol.

### Software Engineering & Architecture

- [Cross-Model Memory Protocols](https://awesome-repositories.com/f/software-engineering-architecture/shared-memory-management/shared-knowledge-graph-memory/shared-filesystem-memory/cross-model-memory-protocols.md) — Transfers persistent memory between different AI models using a portable interchange protocol.
- [Cross-Model Memory Sharing](https://awesome-repositories.com/f/software-engineering-architecture/shared-memory-management/shared-knowledge-graph-memory/shared-filesystem-memory/cross-model-memory-sharing.md) — Shares persistent memory between different models, devices, and applications using a portable memory interchange protocol. ([source](https://memos.openmem.net))
- [Predictive Memory Preloading](https://awesome-repositories.com/f/software-engineering-architecture/memory-management-systems/predictive-memory-preloading.md) — Loads relevant memory before it is needed by analyzing dialogue history, task semantics, or environmental cues. ([source](https://memos.openmem.net))
- [Shared Filesystem Memory](https://awesome-repositories.com/f/software-engineering-architecture/shared-memory-management/shared-knowledge-graph-memory/shared-filesystem-memory.md) — Transfers persistent memory between different AI models, devices, and applications through a portable memory protocol. ([source](https://memos.openmem.net/cn/))

### Part of an Awesome List

- [Multi-Modal Memory Stores](https://awesome-repositories.com/f/awesome-lists/ai/memory-and-context/multi-modal-memory-stores.md) — Stores and retrieves text, images, tool traces, and personas together for richer AI context.
- [Management Interfaces](https://awesome-repositories.com/f/awesome-lists/productivity/knowledge-and-memory/management-interfaces.md) — Ships a web UI for managing AI memory items, skills, traces, and knowledge bases.

### Development Tools & Productivity

- [Experience-Based Skill Extractors](https://awesome-repositories.com/f/development-tools-productivity/version-management/agent-versioning/skill-versioning-systems/experience-based-skill-extractors.md) — Extracts repeated strategies into callable, versioned skills that improve with feedback.

### DevOps & Infrastructure

- [Self-Hosted Infrastructure](https://awesome-repositories.com/f/devops-infrastructure/self-hosted-infrastructure.md) — Runs on public cloud, private cloud, on-premises, or hybrid architectures using SQLite for full data control.

### User Interface & Experience

- [Memory Management Panels](https://awesome-repositories.com/f/user-interface-experience/web-based-control-panels/telephony-management-panels/memory-management-panels.md) — Ships a web management panel for viewing, editing, and organizing AI memory items and skills. ([source](https://memos-docs.openmem.net/cn/openclaw/local_plugin))

### Web Development

- [AI](https://awesome-repositories.com/f/web-development/reactive-signals/memory-lifecycle-managers/ai.md) — Provides full CRUD, batch cleanup, tagging, and governance operations for controlling memory throughout its lifecycle. ([source](https://memos.openmem.net))
- [Memory](https://awesome-repositories.com/f/web-development/search-apis/memory.md) — Searches stored memory entries via an API with monthly quotas ranging from 20K to unlimited searches. ([source](https://memos.openmem.net/pricing))
