MemOS initial commit by MemTensor
Co-authored-by: Shichao Song 60967965+Ki-Seki@users.noreply.github.com Co-authored-by: CaralHsi caralhsi@gmail.com Co-authored-by: chunyu li 78344051+fridayL@users.noreply.github.com Co-authored-by: jiawei yang 103758578+J1awei-Yang@users.noreply.github.com Co-authored-by: Wang Hanyu 128483880+MarrytheToilet@users.noreply.github.com Co-authored-by: Jiahao Huo 2151773@tongji.edu.cn Co-authored-by: Hao 42795704+Nyakult@users.noreply.github.com Co-authored-by: Travis Tang travistang@foxmail.com Co-authored-by: Jihao Zhao 119649807+Robot2050@users.noreply.github.com Co-authored-by: spitzblattr 36479200+spitzblattr@users.noreply.github.com Co-authored-by: siminniu 146621079+siminniu@users.noreply.github.com Co-authored-by: hush 61102027+hush-cd@users.noreply.github.com Co-authored-by: Qingchen Yu 92162236+Duguce@users.noreply.github.com Co-authored-by: Kyrie Chen kyriiiechen@gmail.com Co-authored-by: lijicode 34564964+lijicode@users.noreply.github.com Co-authored-by: 王鹏远(Pengyuan Wang) 18237423458@163.com Co-authored-by: Zhiyu Li zhiyulee@ruc.edu.cn Co-authored-by: Yezhaohui Wang yezhaohuiwang@gmail.com
MemOS is an operating system for Large Language Models (LLMs) that enhances them with long-term memory capabilities. It allows LLMs to store, retrieve, and manage information, enabling more context-aware, consistent, and personalized interactions.
📈 Performance Benchmark
MemOS demonstrates significant improvements over baseline memory solutions in multiple reasoning tasks.
Details of End-to-End Evaluation on LOCOMO
✨ Key Features
KVCacheMemory
) to accelerate LLM inference and context reuse.🚀 Getting Started
Here’s a quick example of how to create a
MemCube
, load it from a directory, access its memories, and save it.What about
MOS
(Memory Operating System)? It’s a higher-level orchestration layer that manages multiple MemCubes and provides a unified API for memory operations. Here’s a quick example of how to use MOS:For more detailed examples, please check out the
examples
directory.📦 Installation
Install via pip
Development Install
To contribute to MemOS, clone the repository and install it in editable mode:
Optional Dependencies
Ollama Support
To use MemOS with Ollama, first install the Ollama CLI:
Transformers Support
To use functionalities based on the
transformers
library, ensure you have PyTorch installed (CUDA version recommended for GPU acceleration).💬 Community & Support
Join our community to ask questions, share your projects, and connect with other developers.
📜 Citation
If you use MemOS in your research, please cite our paper:
🙌 Contributing
We welcome contributions from the community! Please read our contribution guidelines to get started.
📄 License
MemOS is licensed under the Apache 2.0 License.
📰 News
Stay up to date with the latest MemOS announcements, releases, and community highlights.