Co-Pilot / 辅助式
更新于 a month ago

memos

MMemTensor
4.7k
memtensor/memos
82
Agent 评分

💡 摘要

MemOS是一个为AI代理提供的内存操作系统,通过统一的内存管理实现上下文感知和个性化交互。

🎯 适合人群

寻找内存解决方案的AI开发者人工智能和机器学习领域的研究人员实施AI代理的企业与LLM合作的数据科学家探索AI内存系统的技术爱好者

🤖 AI 吐槽:这就像一个记忆宫殿,但鬼魂更少,API更多。

安全分析中风险

自述文件暗示了潜在的风险,例如API调用的网络访问和对外部服务的依赖,这可能会暴露敏感数据。实施API密钥管理和使用环境变量来处理敏感配置可以降低这些风险。

Get Free API: Try API


📌 MemOS: Memory Operating System for AI Agents

MemOS is a Memory Operating System for LLMs and AI agents that unifies store / retrieve / manage for long-term memory, enabling context-aware and personalized interactions with KB, multi-modal, tool memory, and enterprise-grade optimizations built in.

Key Features

  • Unified Memory API: A single API to add, retrieve, edit, and delete memory—structured as a graph, inspectable and editable by design, not a black-box embedding store.
  • Multi-Modal Memory: Natively supports text, images, tool traces, and personas, retrieved and reasoned together in one memory system.
  • Multi-Cube Knowledge Base Management: Manage multiple knowledge bases as composable memory cubes, enabling isolation, controlled sharing, and dynamic composition across users, projects, and agents.
  • Asynchronous Ingestion via MemScheduler: Run memory operations asynchronously with millisecond-level latency for production stability under high concurrency.
  • Memory Feedback & Correction: Refine memory with natural-language feedback—correcting, supplementing, or replacing existing memories over time.

News

  • 2025-12-24 · 🎉 MemOS v2.0: Stardust (星尘) Release
    Comprehensive KB (doc/URL parsing + cross-project sharing), memory feedback & precise deletion, multi-modal memory (images/charts), tool memory for agent planning, Redis Streams scheduling + DB optimizations, streaming/non-streaming chat, MCP upgrade, and lightweight quick/full deployment.

    Knowledge Base & Memory

    • Added knowledge base support for long-term memory from documents and URLs

    Feedback & Memory Management

    • Added natural language feedback and correction for memories
    • Added memory deletion API by memory ID
    • Added MCP support for memory deletion and feedback

    Conversation & Retrieval

    • Added chat API with memory-aware retrieval
    • Added memory filtering with custom tags (Cloud & Open Source)

    Multimodal & Tool Memory

    • Added tool memory for tool usage history
    • Added image memory support for conversations and documents

    Data & Infrastructure

    • Upgraded database for better stability and performance

    Scheduler

    • Rebuilt task scheduler with Redis Streams and queue isolation
    • Added task priority, auto-recovery, and quota-based scheduling

    Deployment & Engineering

    • Added lightweight deployment with quick and full modes

    Memory Scheduling & Updates

    • Fixed legacy scheduling API to ensure correct memory isolation
    • Fixed memory update logging to show new memories correctly
  • 2025-08-07 · 🎉 MemOS v1.0.0 (MemCube) Release
    First MemCube release with a word-game demo, LongMemEval evaluation, BochaAISearchRetriever integration, NebulaGraph support, improved search capabilities, and the official Playground launch.

    Playground

    • Expanded Playground features and algorithm performance.

    MemCube Construction

    • Added a text game demo based on the MemCube novel.

    Extended Evaluation Set

    • Added LongMemEval evaluation results and scripts.

    Plaintext Memory

    • Integrated internet search with Bocha.
    • Added support for Nebula database.
    • Added contextual understanding for the tree-structured plaintext memory search interface.

    KV Cache Concatenation

    • Fixed the concat_cache method.

    Plaintext Memory

    • Fixed Nebula search-related issues.
  • 2025-07-07 · 🎉 MemOS v1.0: Stellar (星河) Preview Release
    A SOTA Memory OS for LLMs is now open-sourced.

  • 2025-07-04 · 🎉 MemOS Paper Release
    MemOS: A Memory OS for AI System is available on arXiv.

  • 2024-07-04 · 🎉 Memory3 Model Release at WAIC 2024
    The Memory3 model, featuring a memory-layered architecture, was unveiled at the 2024 World Artificial Intelligence Conference.

🚀 Quickstart Guide

☁️ 1、Cloud API (Hosted)

Get API Key

Next Steps

🖥️ 2、Self-Hosted (Local/Private)

  1. Get the repository.
    git clone https://github.com/MemTensor/MemOS.git cd MemOS pip install -r ./docker/requirements.txt
  2. Configure docker/.env.example and copy to MemOS/.env
  • The OPENAI_API_KEY,MOS_EMBEDDER_API_KEY,MEMRADER_API_KEY and others can be applied for through BaiLian.
  • Fill in the corresponding configuration in the MemOS/.env file.
  1. Start the service.
  • Launch via Docker

    Tips: Please ensure that Docker Compose is installed successfully and that you have navigated to the docker directory (via cd docker) before executing the following command.
    # Enter docker directory docker compose up
    For detailed steps, see theDocker Reference.
  • Launch via the uvicorn command line interface (CLI)

    Tips: Please ensure that Neo4j and Qdrant are running before executing the following command.
    cd src uvicorn memos.api.server_api:app --host 0.0.0.0 --port 8001 --workers 1
    For detailed integration steps, see the CLI Reference.

Basic Usage (Self-Hosted)

  • Add User Message
    import requests import json data = { "user_id": "8736b16e-1d20-4163-980b-a5063c3facdc", "mem_cube_id": "b32d0977-435d-4828-a86f-4f47f8b55bca", "messages": [ { "role": "user", "content": "I like strawberry" } ], "async_mode": "sync" } headers = { "Content-Type": "application/json" } url = "http://localhost:8000/product/add" res = requests.post(url=url, headers=headers, data=json.dumps(data)) print(f"result: {res.json()}")
  • Search User Memory
    import requests import json data = { "query": "What do I like", "user_id": "8736b16e-1d20-4163-980b-a5063c3facdc", "mem_cube_id": "b32d0
五维分析
清晰度8/10
创新性9/10
实用性9/10
完整性8/10
可维护性7/10
优缺点分析

优点

  • 统一的内存管理API
  • 支持多模态内存类型
  • 高并发下的异步操作
  • 自然语言反馈用于内存优化

缺点

  • 本地部署需要Docker
  • 初学者配置可能较复杂
  • 完全功能依赖外部API
  • 处理大数据集时可能出现性能问题

相关技能

pytorch

S
toolCode Lib / 代码库
92/ 100

“它是深度学习的瑞士军刀,但祝你好运能从47种安装方法里找到那个不会搞崩你系统的那一个。”

agno

S
toolCode Lib / 代码库
90/ 100

“它承诺成为智能体领域的Kubernetes,但得看开发者有没有耐心学习又一个编排层。”

nuxt-skills

S
toolCo-Pilot / 辅助式
90/ 100

“这本质上是一份组织良好的小抄,能把你的 AI 助手变成一只 Nuxt 框架的复读机。”

免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。

版权归原作者所有 MemTensor.