MemoryOS 1.1.2__tar.gz → 2.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {memoryos-1.1.2 → memoryos-2.0.0}/PKG-INFO +103 -34
- {memoryos-1.1.2 → memoryos-2.0.0}/README.md +88 -33
- {memoryos-1.1.2 → memoryos-2.0.0}/pyproject.toml +18 -3
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/__init__.py +1 -1
- memoryos-2.0.0/src/memos/api/client.py +567 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/api/config.py +442 -22
- memoryos-2.0.0/src/memos/api/exceptions.py +53 -0
- memoryos-2.0.0/src/memos/api/handlers/__init__.py +62 -0
- memoryos-2.0.0/src/memos/api/handlers/add_handler.py +158 -0
- memoryos-2.0.0/src/memos/api/handlers/base_handler.py +194 -0
- memoryos-2.0.0/src/memos/api/handlers/chat_handler.py +1355 -0
- memoryos-2.0.0/src/memos/api/handlers/component_init.py +379 -0
- memoryos-2.0.0/src/memos/api/handlers/config_builders.py +190 -0
- memoryos-2.0.0/src/memos/api/handlers/feedback_handler.py +93 -0
- memoryos-2.0.0/src/memos/api/handlers/formatters_handler.py +126 -0
- memoryos-2.0.0/src/memos/api/handlers/memory_handler.py +232 -0
- memoryos-2.0.0/src/memos/api/handlers/scheduler_handler.py +497 -0
- memoryos-2.0.0/src/memos/api/handlers/search_handler.py +105 -0
- memoryos-2.0.0/src/memos/api/handlers/suggestion_handler.py +117 -0
- memoryos-2.0.0/src/memos/api/middleware/request_context.py +101 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/api/product_api.py +2 -2
- memoryos-2.0.0/src/memos/api/product_models.py +1170 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/api/routers/product_router.py +51 -3
- memoryos-2.0.0/src/memos/api/routers/server_router.py +313 -0
- memoryos-2.0.0/src/memos/api/server_api.py +44 -0
- memoryos-2.0.0/src/memos/chunkers/charactertext_chunker.py +41 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/chunkers/factory.py +2 -0
- memoryos-2.0.0/src/memos/chunkers/markdown_chunker.py +62 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/chunkers/sentence_chunker.py +1 -1
- memoryos-2.0.0/src/memos/chunkers/simple_chunker.py +50 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/configs/chunker.py +14 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/configs/embedder.py +8 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/configs/graph_db.py +58 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/configs/llm.py +39 -7
- memoryos-2.0.0/src/memos/configs/mem_agent.py +54 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/configs/mem_cube.py +16 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/configs/mem_os.py +4 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/configs/mem_reader.py +26 -1
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/configs/mem_scheduler.py +173 -23
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/configs/mem_user.py +12 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/configs/memory.py +110 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/configs/vec_db.py +17 -1
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/context/context.py +111 -11
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/embedders/ark.py +3 -0
- memoryos-2.0.0/src/memos/embedders/base.py +106 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/embedders/ollama.py +3 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/embedders/sentence_transformer.py +3 -0
- memoryos-2.0.0/src/memos/embedders/universal_api.py +51 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/graph_dbs/base.py +13 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/graph_dbs/factory.py +2 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/graph_dbs/nebular.py +214 -177
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/graph_dbs/neo4j.py +699 -81
- memoryos-2.0.0/src/memos/graph_dbs/neo4j_community.py +947 -0
- memoryos-2.0.0/src/memos/graph_dbs/polardb.py +5011 -0
- memoryos-2.0.0/src/memos/llms/deepseek.py +13 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/llms/factory.py +2 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/llms/hf.py +65 -21
- memoryos-2.0.0/src/memos/llms/ollama.py +135 -0
- memoryos-2.0.0/src/memos/llms/openai.py +202 -0
- memoryos-2.0.0/src/memos/llms/openai_new.py +198 -0
- memoryos-2.0.0/src/memos/llms/qwen.py +13 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/llms/vllm.py +79 -22
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/log.py +45 -15
- memoryos-2.0.0/src/memos/mem_agent/base.py +19 -0
- memoryos-2.0.0/src/memos/mem_agent/deepsearch_agent.py +391 -0
- memoryos-2.0.0/src/memos/mem_agent/factory.py +36 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_cube/base.py +1 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_cube/general.py +39 -8
- memoryos-2.0.0/src/memos/mem_cube/navie.py +172 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_cube/utils.py +71 -35
- memoryos-2.0.0/src/memos/mem_feedback/base.py +15 -0
- memoryos-2.0.0/src/memos/mem_feedback/feedback.py +1083 -0
- memoryos-2.0.0/src/memos/mem_feedback/simple_feedback.py +35 -0
- memoryos-2.0.0/src/memos/mem_feedback/utils.py +146 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_os/core.py +216 -110
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_os/main.py +19 -19
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_os/product.py +162 -21
- memoryos-2.0.0/src/memos/mem_os/product_server.py +455 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_os/utils/default_config.py +1 -1
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_os/utils/reference_utils.py +16 -7
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_reader/base.py +6 -7
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_reader/factory.py +4 -0
- memoryos-2.0.0/src/memos/mem_reader/multi_modal_struct.py +742 -0
- memoryos-2.0.0/src/memos/mem_reader/read_multi_modal/__init__.py +43 -0
- memoryos-2.0.0/src/memos/mem_reader/read_multi_modal/assistant_parser.py +311 -0
- memoryos-2.0.0/src/memos/mem_reader/read_multi_modal/base.py +273 -0
- memoryos-2.0.0/src/memos/mem_reader/read_multi_modal/file_content_parser.py +825 -0
- memoryos-2.0.0/src/memos/mem_reader/read_multi_modal/image_parser.py +361 -0
- memoryos-2.0.0/src/memos/mem_reader/read_multi_modal/multi_modal_parser.py +252 -0
- memoryos-2.0.0/src/memos/mem_reader/read_multi_modal/string_parser.py +139 -0
- memoryos-2.0.0/src/memos/mem_reader/read_multi_modal/system_parser.py +172 -0
- memoryos-2.0.0/src/memos/mem_reader/read_multi_modal/text_content_parser.py +131 -0
- memoryos-2.0.0/src/memos/mem_reader/read_multi_modal/tool_parser.py +210 -0
- memoryos-2.0.0/src/memos/mem_reader/read_multi_modal/user_parser.py +218 -0
- memoryos-2.0.0/src/memos/mem_reader/read_multi_modal/utils.py +358 -0
- memoryos-2.0.0/src/memos/mem_reader/simple_struct.py +913 -0
- memoryos-2.0.0/src/memos/mem_reader/strategy_struct.py +163 -0
- memoryos-2.0.0/src/memos/mem_scheduler/analyzer/api_analyzer.py +714 -0
- memoryos-2.0.0/src/memos/mem_scheduler/analyzer/eval_analyzer.py +219 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/analyzer/mos_for_test_scheduler.py +20 -18
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/analyzer/scheduler_for_eval.py +5 -5
- memoryos-2.0.0/src/memos/mem_scheduler/base_scheduler.py +1268 -0
- memoryos-2.0.0/src/memos/mem_scheduler/general_modules/api_misc.py +137 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/general_modules/base.py +1 -3
- memoryos-2.0.0/src/memos/mem_scheduler/general_modules/init_components_for_scheduler.py +423 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/general_modules/misc.py +123 -12
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/general_modules/scheduler_logger.py +169 -69
- memoryos-2.0.0/src/memos/mem_scheduler/general_modules/task_threads.py +315 -0
- memoryos-2.0.0/src/memos/mem_scheduler/general_scheduler.py +1437 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/memory_manage_modules/memory_filter.py +4 -6
- memoryos-2.0.0/src/memos/mem_scheduler/memory_manage_modules/retriever.py +547 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/monitors/dispatcher_monitor.py +133 -73
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/monitors/general_monitor.py +10 -10
- memoryos-2.0.0/src/memos/mem_scheduler/monitors/task_schedule_monitor.py +254 -0
- memoryos-2.0.0/src/memos/mem_scheduler/optimized_scheduler.py +381 -0
- memoryos-2.0.0/src/memos/mem_scheduler/orm_modules/api_redis_model.py +517 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/orm_modules/base_model.py +97 -3
- memoryos-2.0.0/src/memos/mem_scheduler/orm_modules/redis_model.py +699 -0
- memoryos-2.0.0/src/memos/mem_scheduler/schemas/analyzer_schemas.py +52 -0
- memoryos-2.0.0/src/memos/mem_scheduler/schemas/api_schemas.py +233 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/schemas/general_schemas.py +21 -12
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/schemas/message_schemas.py +42 -18
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/schemas/monitor_schemas.py +3 -1
- memoryos-2.0.0/src/memos/mem_scheduler/schemas/task_schemas.py +132 -0
- memoryos-2.0.0/src/memos/mem_scheduler/task_schedule_modules/dispatcher.py +773 -0
- memoryos-2.0.0/src/memos/mem_scheduler/task_schedule_modules/local_queue.py +156 -0
- memoryos-2.0.0/src/memos/mem_scheduler/task_schedule_modules/orchestrator.py +74 -0
- memoryos-2.0.0/src/memos/mem_scheduler/task_schedule_modules/redis_queue.py +1197 -0
- memoryos-2.0.0/src/memos/mem_scheduler/task_schedule_modules/task_queue.py +183 -0
- memoryos-2.0.0/src/memos/mem_scheduler/utils/api_utils.py +76 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/utils/db_utils.py +17 -0
- memoryos-2.0.0/src/memos/mem_scheduler/utils/metrics.py +125 -0
- memoryos-2.0.0/src/memos/mem_scheduler/utils/misc_utils.py +290 -0
- memoryos-2.0.0/src/memos/mem_scheduler/utils/monitor_event_utils.py +67 -0
- memoryos-2.0.0/src/memos/mem_scheduler/utils/status_tracker.py +202 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/webservice_modules/rabbitmq_service.py +181 -38
- memoryos-2.0.0/src/memos/mem_scheduler/webservice_modules/redis_service.py +380 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_user/mysql_persistent_user_manager.py +2 -2
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_user/persistent_factory.py +2 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_user/persistent_user_manager.py +2 -2
- memoryos-2.0.0/src/memos/mem_user/redis_persistent_user_manager.py +225 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/activation/item.py +3 -1
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/activation/kv.py +28 -8
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/factory.py +6 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/textual/base.py +5 -2
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/textual/general.py +6 -2
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/textual/item.py +91 -7
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/textual/naive.py +3 -1
- memoryos-2.0.0/src/memos/memories/textual/prefer_text_memory/adder.py +504 -0
- memoryos-2.0.0/src/memos/memories/textual/prefer_text_memory/config.py +106 -0
- memoryos-2.0.0/src/memos/memories/textual/prefer_text_memory/extractor.py +211 -0
- memoryos-2.0.0/src/memos/memories/textual/prefer_text_memory/factory.py +85 -0
- memoryos-2.0.0/src/memos/memories/textual/prefer_text_memory/retrievers.py +177 -0
- memoryos-2.0.0/src/memos/memories/textual/prefer_text_memory/spliter.py +132 -0
- memoryos-2.0.0/src/memos/memories/textual/prefer_text_memory/utils.py +93 -0
- memoryos-2.0.0/src/memos/memories/textual/preference.py +310 -0
- memoryos-2.0.0/src/memos/memories/textual/simple_preference.py +158 -0
- memoryos-2.0.0/src/memos/memories/textual/simple_tree.py +69 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/textual/tree.py +128 -76
- memoryos-2.0.0/src/memos/memories/textual/tree_text_memory/organize/manager.py +518 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/textual/tree_text_memory/organize/reorganizer.py +3 -4
- memoryos-2.0.0/src/memos/memories/textual/tree_text_memory/retrieve/advanced_searcher.py +364 -0
- memoryos-2.0.0/src/memos/memories/textual/tree_text_memory/retrieve/bm25_util.py +186 -0
- memoryos-2.0.0/src/memos/memories/textual/tree_text_memory/retrieve/bochasearch.py +419 -0
- memoryos-2.0.0/src/memos/memories/textual/tree_text_memory/retrieve/recall.py +490 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/textual/tree_text_memory/retrieve/retrieval_mid_structs.py +1 -0
- memoryos-2.0.0/src/memos/memories/textual/tree_text_memory/retrieve/retrieve_utils.py +473 -0
- memoryos-2.0.0/src/memos/memories/textual/tree_text_memory/retrieve/searcher.py +880 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/textual/tree_text_memory/retrieve/task_goal_parser.py +56 -28
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/textual/tree_text_memory/retrieve/utils.py +1 -1
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/textual/tree_text_memory/retrieve/xinyusearch.py +66 -19
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memos_tools/dinding_report_bot.py +65 -34
- memoryos-2.0.0/src/memos/multi_mem_cube/composite_cube.py +85 -0
- memoryos-2.0.0/src/memos/multi_mem_cube/single_cube.py +721 -0
- memoryos-2.0.0/src/memos/multi_mem_cube/views.py +54 -0
- memoryos-2.0.0/src/memos/parsers/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/reranker/base.py +2 -1
- memoryos-2.0.0/src/memos/reranker/concat.py +95 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/reranker/cosine_local.py +7 -1
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/reranker/factory.py +21 -1
- memoryos-2.0.0/src/memos/reranker/http_bge.py +312 -0
- memoryos-1.1.2/src/memos/reranker/http_bge.py → memoryos-2.0.0/src/memos/reranker/http_bge_strategy.py +30 -23
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/reranker/noop.py +3 -0
- memoryos-2.0.0/src/memos/reranker/strategies/__init__.py +4 -0
- memoryos-2.0.0/src/memos/reranker/strategies/base.py +61 -0
- memoryos-2.0.0/src/memos/reranker/strategies/concat_background.py +94 -0
- memoryos-2.0.0/src/memos/reranker/strategies/concat_docsource.py +105 -0
- memoryos-2.0.0/src/memos/reranker/strategies/dialogue_common.py +109 -0
- memoryos-2.0.0/src/memos/reranker/strategies/factory.py +31 -0
- memoryos-2.0.0/src/memos/reranker/strategies/single_turn.py +107 -0
- memoryos-2.0.0/src/memos/reranker/strategies/singleturn_outmem.py +98 -0
- memoryos-2.0.0/src/memos/templates/__init__.py +0 -0
- memoryos-2.0.0/src/memos/templates/advanced_search_prompts.py +211 -0
- memoryos-2.0.0/src/memos/templates/cloud_service_prompt.py +107 -0
- memoryos-2.0.0/src/memos/templates/instruction_completion.py +66 -0
- memoryos-2.0.0/src/memos/templates/mem_agent_prompts.py +85 -0
- memoryos-2.0.0/src/memos/templates/mem_feedback_prompts.py +822 -0
- memoryos-2.0.0/src/memos/templates/mem_reader_prompts.py +666 -0
- memoryos-2.0.0/src/memos/templates/mem_reader_strategy_prompts.py +238 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/templates/mem_scheduler_prompts.py +223 -0
- memoryos-2.0.0/src/memos/templates/mem_search_prompts.py +93 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/templates/mos_prompts.py +159 -8
- memoryos-2.0.0/src/memos/templates/prefer_complete_prompt.py +691 -0
- memoryos-2.0.0/src/memos/templates/tool_mem_prompts.py +84 -0
- memoryos-2.0.0/src/memos/types/__init__.py +34 -0
- memoryos-2.0.0/src/memos/types/general_types.py +151 -0
- memoryos-2.0.0/src/memos/types/openai_chat_completion_types/__init__.py +15 -0
- memoryos-2.0.0/src/memos/types/openai_chat_completion_types/chat_completion_assistant_message_param.py +56 -0
- memoryos-2.0.0/src/memos/types/openai_chat_completion_types/chat_completion_content_part_image_param.py +27 -0
- memoryos-2.0.0/src/memos/types/openai_chat_completion_types/chat_completion_content_part_input_audio_param.py +23 -0
- memoryos-2.0.0/src/memos/types/openai_chat_completion_types/chat_completion_content_part_param.py +43 -0
- memoryos-2.0.0/src/memos/types/openai_chat_completion_types/chat_completion_content_part_refusal_param.py +16 -0
- memoryos-2.0.0/src/memos/types/openai_chat_completion_types/chat_completion_content_part_text_param.py +16 -0
- memoryos-2.0.0/src/memos/types/openai_chat_completion_types/chat_completion_message_custom_tool_call_param.py +27 -0
- memoryos-2.0.0/src/memos/types/openai_chat_completion_types/chat_completion_message_function_tool_call_param.py +32 -0
- memoryos-2.0.0/src/memos/types/openai_chat_completion_types/chat_completion_message_param.py +18 -0
- memoryos-2.0.0/src/memos/types/openai_chat_completion_types/chat_completion_message_tool_call_union_param.py +15 -0
- memoryos-2.0.0/src/memos/types/openai_chat_completion_types/chat_completion_system_message_param.py +36 -0
- memoryos-2.0.0/src/memos/types/openai_chat_completion_types/chat_completion_tool_message_param.py +30 -0
- memoryos-2.0.0/src/memos/types/openai_chat_completion_types/chat_completion_user_message_param.py +34 -0
- memoryos-2.0.0/src/memos/utils.py +118 -0
- memoryos-2.0.0/src/memos/vec_dbs/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/vec_dbs/factory.py +2 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/vec_dbs/item.py +7 -0
- memoryos-2.0.0/src/memos/vec_dbs/milvus.py +648 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/vec_dbs/qdrant.py +54 -17
- memoryos-1.1.2/src/memos/api/client.py +0 -109
- memoryos-1.1.2/src/memos/api/exceptions.py +0 -28
- memoryos-1.1.2/src/memos/api/middleware/request_context.py +0 -63
- memoryos-1.1.2/src/memos/api/product_models.py +0 -254
- memoryos-1.1.2/src/memos/embedders/base.py +0 -15
- memoryos-1.1.2/src/memos/embedders/universal_api.py +0 -32
- memoryos-1.1.2/src/memos/graph_dbs/neo4j_community.py +0 -310
- memoryos-1.1.2/src/memos/llms/deepseek.py +0 -54
- memoryos-1.1.2/src/memos/llms/ollama.py +0 -86
- memoryos-1.1.2/src/memos/llms/openai.py +0 -173
- memoryos-1.1.2/src/memos/llms/qwen.py +0 -63
- memoryos-1.1.2/src/memos/mem_reader/simple_struct.py +0 -376
- memoryos-1.1.2/src/memos/mem_scheduler/base_scheduler.py +0 -638
- memoryos-1.1.2/src/memos/mem_scheduler/general_modules/dispatcher.py +0 -205
- memoryos-1.1.2/src/memos/mem_scheduler/general_scheduler.py +0 -301
- memoryos-1.1.2/src/memos/mem_scheduler/memory_manage_modules/retriever.py +0 -226
- memoryos-1.1.2/src/memos/mem_scheduler/optimized_scheduler.py +0 -124
- memoryos-1.1.2/src/memos/mem_scheduler/utils/misc_utils.py +0 -102
- memoryos-1.1.2/src/memos/mem_scheduler/webservice_modules/redis_service.py +0 -156
- memoryos-1.1.2/src/memos/memories/textual/tree_text_memory/organize/manager.py +0 -280
- memoryos-1.1.2/src/memos/memories/textual/tree_text_memory/retrieve/bochasearch.py +0 -233
- memoryos-1.1.2/src/memos/memories/textual/tree_text_memory/retrieve/recall.py +0 -262
- memoryos-1.1.2/src/memos/memories/textual/tree_text_memory/retrieve/searcher.py +0 -412
- memoryos-1.1.2/src/memos/reranker/concat.py +0 -59
- memoryos-1.1.2/src/memos/templates/mem_reader_prompts.py +0 -419
- memoryos-1.1.2/src/memos/types.py +0 -58
- memoryos-1.1.2/src/memos/utils.py +0 -19
- {memoryos-1.1.2 → memoryos-2.0.0}/LICENSE +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/api/context/dependencies.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/api/mcp_serve.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/api/routers/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/api/start_api.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/chunkers/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/chunkers/base.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/cli.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/configs/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/configs/base.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/configs/internet_retriever.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/configs/mem_chat.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/configs/parser.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/configs/reranker.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/configs/utils.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/dependency.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/deprecation.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/embedders/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/embedders/factory.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/exceptions.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/graph_dbs/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/graph_dbs/item.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/hello_world.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/llms/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/llms/base.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/llms/hf_singleton.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/llms/utils.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_chat/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_chat/base.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_chat/factory.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_chat/simple.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_cube/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_os/client.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_os/utils/format_utils.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_reader/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_reader/memory.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/analyzer/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/general_modules/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/memory_manage_modules/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/monitors/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/orm_modules/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/orm_modules/monitor_models.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/scheduler_factory.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/schemas/__init__.py +0 -0
- {memoryos-1.1.2/src/memos/mem_scheduler/utils → memoryos-2.0.0/src/memos/mem_scheduler/task_schedule_modules}/__init__.py +0 -0
- {memoryos-1.1.2/src/memos/mem_scheduler/webservice_modules → memoryos-2.0.0/src/memos/mem_scheduler/utils}/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/utils/config_utils.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_scheduler/utils/filter_utils.py +0 -0
- {memoryos-1.1.2/src/memos/memories → memoryos-2.0.0/src/memos/mem_scheduler/webservice_modules}/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_user/factory.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_user/mysql_user_manager.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/mem_user/user_manager.py +0 -0
- {memoryos-1.1.2/src/memos/memories/activation → memoryos-2.0.0/src/memos/memories}/__init__.py +0 -0
- {memoryos-1.1.2/src/memos/memories/parametric → memoryos-2.0.0/src/memos/memories/activation}/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/activation/base.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/activation/vllmkv.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/base.py +0 -0
- {memoryos-1.1.2/src/memos/memories/textual → memoryos-2.0.0/src/memos/memories/parametric}/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/parametric/base.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/parametric/item.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/parametric/lora.py +0 -0
- {memoryos-1.1.2/src/memos/memories/textual/tree_text_memory → memoryos-2.0.0/src/memos/memories/textual}/__init__.py +0 -0
- {memoryos-1.1.2/src/memos/memories/textual/tree_text_memory/organize → memoryos-2.0.0/src/memos/memories/textual/prefer_text_memory}/__init__.py +0 -0
- {memoryos-1.1.2/src/memos/memories/textual/tree_text_memory/retrieve → memoryos-2.0.0/src/memos/memories/textual/tree_text_memory}/__init__.py +0 -0
- {memoryos-1.1.2/src/memos/parsers → memoryos-2.0.0/src/memos/memories/textual/tree_text_memory/organize}/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/textual/tree_text_memory/organize/handler.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/textual/tree_text_memory/organize/relation_reason_detector.py +0 -0
- {memoryos-1.1.2/src/memos/templates → memoryos-2.0.0/src/memos/memories/textual/tree_text_memory/retrieve}/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/textual/tree_text_memory/retrieve/internet_retriever.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/textual/tree_text_memory/retrieve/internet_retriever_factory.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/textual/tree_text_memory/retrieve/reasoner.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memories/textual/tree_text_memory/retrieve/reranker.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memos_tools/lockfree_dict.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memos_tools/notification_service.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memos_tools/notification_utils.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memos_tools/singleton.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memos_tools/thread_safe_dict.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/memos_tools/thread_safe_dict_segment.py +0 -0
- {memoryos-1.1.2/src/memos/vec_dbs → memoryos-2.0.0/src/memos/multi_mem_cube}/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/parsers/base.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/parsers/factory.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/parsers/markitdown.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/reranker/__init__.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/settings.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/templates/tree_reorganize_prompts.py +0 -0
- {memoryos-1.1.2 → memoryos-2.0.0}/src/memos/vec_dbs/base.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: MemoryOS
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Summary: Intelligence Begins with Memory
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
License-File: LICENSE
|
|
@@ -24,24 +24,38 @@ Provides-Extra: all
|
|
|
24
24
|
Provides-Extra: mem-reader
|
|
25
25
|
Provides-Extra: mem-scheduler
|
|
26
26
|
Provides-Extra: mem-user
|
|
27
|
+
Provides-Extra: pref-mem
|
|
27
28
|
Provides-Extra: tree-mem
|
|
29
|
+
Requires-Dist: cachetools (>=6.0.0) ; extra == "all"
|
|
28
30
|
Requires-Dist: chonkie (>=1.0.7,<2.0.0) ; extra == "all"
|
|
29
31
|
Requires-Dist: chonkie (>=1.0.7,<2.0.0) ; extra == "mem-reader"
|
|
32
|
+
Requires-Dist: concurrent-log-handler (>=0.9.28,<1.0.0)
|
|
33
|
+
Requires-Dist: datasketch (>=1.6.5,<2.0.0) ; extra == "all"
|
|
34
|
+
Requires-Dist: datasketch (>=1.6.5,<2.0.0) ; extra == "pref-mem"
|
|
30
35
|
Requires-Dist: fastapi[all] (>=0.115.12,<0.116.0)
|
|
31
36
|
Requires-Dist: fastmcp (>=2.10.5,<3.0.0)
|
|
37
|
+
Requires-Dist: jieba (>=0.38.1,<0.42.1) ; extra == "all"
|
|
38
|
+
Requires-Dist: langchain-text-splitters (>=1.0.0,<2.0.0) ; extra == "all"
|
|
39
|
+
Requires-Dist: langchain-text-splitters (>=1.0.0,<2.0.0) ; extra == "mem-reader"
|
|
32
40
|
Requires-Dist: markitdown[docx,pdf,pptx,xls,xlsx] (>=0.1.1,<0.2.0) ; extra == "all"
|
|
33
41
|
Requires-Dist: markitdown[docx,pdf,pptx,xls,xlsx] (>=0.1.1,<0.2.0) ; extra == "mem-reader"
|
|
34
42
|
Requires-Dist: neo4j (>=5.28.1,<6.0.0) ; extra == "all"
|
|
35
43
|
Requires-Dist: neo4j (>=5.28.1,<6.0.0) ; extra == "tree-mem"
|
|
44
|
+
Requires-Dist: nltk (>=3.9.1,<4.0.0) ; extra == "all"
|
|
36
45
|
Requires-Dist: ollama (>=0.4.8,<0.5.0)
|
|
37
46
|
Requires-Dist: openai (>=1.77.0,<2.0.0)
|
|
38
47
|
Requires-Dist: pika (>=1.3.2,<2.0.0) ; extra == "all"
|
|
39
48
|
Requires-Dist: pika (>=1.3.2,<2.0.0) ; extra == "mem-scheduler"
|
|
49
|
+
Requires-Dist: prometheus-client (>=0.23.1,<0.24.0)
|
|
50
|
+
Requires-Dist: pymilvus (>=2.5.12,<3.0.0) ; extra == "pref-mem"
|
|
51
|
+
Requires-Dist: pymilvus (>=2.6.1,<3.0.0) ; extra == "all"
|
|
40
52
|
Requires-Dist: pymysql (>=1.1.0,<2.0.0)
|
|
41
53
|
Requires-Dist: pymysql (>=1.1.0,<2.0.0) ; extra == "all"
|
|
42
54
|
Requires-Dist: pymysql (>=1.1.0,<2.0.0) ; extra == "mem-user"
|
|
43
55
|
Requires-Dist: python-dateutil (>=2.9.0.post0,<3.0.0)
|
|
44
56
|
Requires-Dist: qdrant-client (>=1.14.2,<2.0.0) ; extra == "all"
|
|
57
|
+
Requires-Dist: rake-nltk (>=1.0.6,<1.1.0) ; extra == "all"
|
|
58
|
+
Requires-Dist: rank-bm25 (>=0.2.2) ; extra == "all"
|
|
45
59
|
Requires-Dist: redis (>=6.2.0,<7.0.0) ; extra == "all"
|
|
46
60
|
Requires-Dist: redis (>=6.2.0,<7.0.0) ; extra == "mem-scheduler"
|
|
47
61
|
Requires-Dist: schedule (>=1.2.2,<2.0.0) ; extra == "all"
|
|
@@ -62,13 +76,20 @@ Project-URL: issues, https://github.com/MemTensor/MemOS/issues
|
|
|
62
76
|
Project-URL: releasenotes, https://github.com/MemTensor/MemOS/releases
|
|
63
77
|
Description-Content-Type: text/markdown
|
|
64
78
|
|
|
79
|
+
# MemOS: Memory Operating System for AI Agents
|
|
80
|
+
|
|
81
|
+
MemOS is an open-source **Agent Memory framework** that empowers AI agents with **long-term memory, personality consistency, and contextual recall**. It enables agents to **remember past interactions**, **learn over time**, and **build evolving identities** across sessions.
|
|
82
|
+
|
|
83
|
+
Designed for **AI companions, role-playing NPCs, and multi-agent systems**, MemOS provides a unified API for **memory representation, retrieval, and update** — making it the foundation for next-generation **memory-augmented AI agents**.
|
|
84
|
+
|
|
85
|
+
🆕 **MemOS 2.0** introduces **knowledge base system**, **multi-modal memory** (images & documents), **tool memory** for Agent optimization, **memory feedback mechanism** for precise control, and **enterprise-grade architecture** with Redis Streams scheduler and advanced DB optimizations.
|
|
65
86
|
<div align="center">
|
|
66
87
|
<a href="https://memos.openmem.net/">
|
|
67
88
|
<img src="https://statics.memtensor.com.cn/memos/memos-banner.gif" alt="MemOS Banner">
|
|
68
89
|
</a>
|
|
69
90
|
|
|
70
91
|
<h1 align="center">
|
|
71
|
-
<img src="https://statics.memtensor.com.cn/logo/memos_color_m.png" alt="MemOS Logo" width="50"/> MemOS
|
|
92
|
+
<img src="https://statics.memtensor.com.cn/logo/memos_color_m.png" alt="MemOS Logo" width="50"/> MemOS 2.0: 星尘(Stardust) <img src="https://img.shields.io/badge/status-Preview-blue" alt="Preview Badge"/>
|
|
72
93
|
</h1>
|
|
73
94
|
|
|
74
95
|
<p>
|
|
@@ -103,37 +124,68 @@ Description-Content-Type: text/markdown
|
|
|
103
124
|
<img src="https://img.shields.io/badge/License-Apache_2.0-green.svg?logo=apache" alt="License">
|
|
104
125
|
</a>
|
|
105
126
|
</p>
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
<a href="https://memos.openmem.net/">
|
|
130
|
+
<img src="https://statics.memtensor.com.cn/memos/github_api_free_banner.gif" alt="MemOS Free API Banner">
|
|
131
|
+
</a>
|
|
132
|
+
|
|
106
133
|
</div>
|
|
107
134
|
|
|
135
|
+
|
|
136
|
+
Get Free API: [Try API](https://memos-dashboard.openmem.net/quickstart/?source=github)
|
|
137
|
+
|
|
138
|
+
|
|
108
139
|
---
|
|
109
140
|
|
|
110
|
-
<img src="https://
|
|
141
|
+
<img src="https://cdn.memtensor.com.cn/img/1762436050812_3tgird_compressed.png" alt="SOTA SCORE">
|
|
111
142
|
|
|
112
|
-
**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.
|
|
143
|
+
**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. **MemOS 2.0** features comprehensive knowledge base management, multi-modal memory support, tool memory for Agent enhancement, and enterprise-grade architecture optimizations.
|
|
113
144
|
|
|
114
145
|
- **Website**: https://memos.openmem.net/
|
|
115
146
|
- **Documentation**: https://memos-docs.openmem.net/home/overview/
|
|
116
|
-
- **API Reference**: https://memos-docs.openmem.net/
|
|
147
|
+
- **API Reference**: https://memos-docs.openmem.net/api-reference/configure-memos/
|
|
117
148
|
- **Source Code**: https://github.com/MemTensor/MemOS
|
|
118
149
|
|
|
119
|
-
##
|
|
150
|
+
## 📰 News
|
|
120
151
|
|
|
121
|
-
|
|
152
|
+
Stay up to date with the latest MemOS announcements, releases, and community highlights.
|
|
122
153
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
154
|
+
- **2025-12-24** - 🎉 **MemOS v2.0: Stardust (星尘) Release**:
|
|
155
|
+
Major upgrade featuring comprehensive Knowledge Base system with automatic document/URL parsing and cross-project sharing; Memory feedback mechanism for correction and precise deletion; Multi-modal memory supporting images and charts; Tool Memory to enhance Agent planning; Full architecture upgrade with Redis Streams multi-level queue scheduler and DB optimizations; New streaming/non-streaming Chat interfaces; Complete MCP upgrade; Lightweight deployment modes (quick & full).
|
|
156
|
+
- **2025-11-06** - 🎉 MemOS v1.1.3 (Async Memory & Preference):
|
|
157
|
+
Millisecond-level async memory add (support plain-text-memory and
|
|
158
|
+
preference memory); enhanced BM25, graph recall, and mixture search; full
|
|
159
|
+
results & code for LoCoMo, LongMemEval, PersonaMem, and PrefEval released.
|
|
160
|
+
- **2025-10-30** - 🎉 MemOS v1.1.2 (API & MCP Update):
|
|
161
|
+
API architecture overhaul and full MCP (Model Context Protocol) support — enabling models, IDEs, and agents to read/write external memory directly.
|
|
162
|
+
- **2025-09-10** - 🎉 *MemOS v1.0.1 (Group Q&A Bot)*: Group Q&A bot based on MemOS Cube, updated KV-Cache performance comparison data across different GPU deployment schemes, optimized test benchmarks and statistics, added plaintext memory Reranker sorting, optimized plaintext memory hallucination issues, and Playground version updates. [Try PlayGround](https://memos-playground.openmem.net/login/)
|
|
163
|
+
- **2025-08-07** - 🎉 *MemOS v1.0.0 (MemCube Release)*: First MemCube with word game demo, LongMemEval evaluation, BochaAISearchRetriever integration, NebulaGraph support, enhanced search capabilities, and official Playground launch.
|
|
164
|
+
- **2025-07-29** – 🎉 *MemOS v0.2.2 (Nebula Update)*: Internet search+Nebula DB integration, refactored memory scheduler, KV Cache stress tests, MemCube Cookbook release (CN/EN), and 4b/1.7b/0.6b memory ops models.
|
|
165
|
+
- **2025-07-21** – 🎉 *MemOS v0.2.1 (Neo Release)*: Lightweight Neo version with plaintext+KV Cache functionality, Docker/multi-tenant support, MCP expansion, and new Cookbook/Mud game examples.
|
|
166
|
+
- **2025-07-11** – 🎉 *MemOS v0.2.0 (Cross-Platform)*: Added doc search/bilingual UI, MemReader-4B (local deploy), full Win/Mac/Linux support, and playground end-to-end connection.
|
|
167
|
+
- **2025-07-07** – 🎉 *MemOS 1.0 (Stellar) Preview Release*: A SOTA Memory OS for LLMs is now open-sourced.
|
|
168
|
+
- **2025-07-04** – 🎉 *MemOS Paper Released*: [MemOS: A Memory OS for AI System](https://arxiv.org/abs/2507.03724) was published on arXiv.
|
|
169
|
+
- **2025-05-28** – 🎉 *Short Paper Uploaded*: [MemOS: An Operating System for Memory-Augmented Generation (MAG) in Large Language Models](https://arxiv.org/abs/2505.22101) was published on arXiv.
|
|
170
|
+
- **2024-07-04** – 🎉 *Memory3 Model Released at WAIC 2024*: The new memory-layered architecture model was unveiled at the 2024 World Artificial Intelligence Conference.
|
|
171
|
+
- **2024-07-01** – 🎉 *Memory3 Paper Released*: [Memory3: Language Modeling with Explicit Memory](https://arxiv.org/abs/2407.01178) introduces the new approach to structured memory in LLMs.
|
|
128
172
|
|
|
129
|
-
|
|
173
|
+
## 📈 Performance Benchmark
|
|
130
174
|
|
|
131
|
-
|
|
175
|
+
MemOS demonstrates significant improvements over baseline memory solutions in multiple memory tasks,
|
|
176
|
+
showcasing its capabilities in **information extraction**, **temporal and cross-session reasoning**, and **personalized preference responses**.
|
|
132
177
|
|
|
133
|
-
|
|
134
|
-
|
|
178
|
+
| Model | LOCOMO | LongMemEval | PrefEval-10 | PersonaMem |
|
|
179
|
+
|-----------------|-------------|-------------|-------------|-------------|
|
|
180
|
+
| **GPT-4o-mini** | 52.75 | 55.4 | 2.8 | 43.46 |
|
|
181
|
+
| **MemOS** | **75.80** | **77.80** | **71.90** | **61.17** |
|
|
182
|
+
| **Improvement** | **+43.70%** | **+40.43%** | **+2568%** | **+40.75%** |
|
|
135
183
|
|
|
136
|
-
|
|
184
|
+
### Detailed Evaluation Results
|
|
185
|
+
- We use gpt-4o-mini as the processing and judging LLM and bge-m3 as embedding model in MemOS evaluation.
|
|
186
|
+
- The evaluation was conducted under conditions that align various settings as closely as possible. Reproduce the results with our scripts at [`evaluation`](./evaluation).
|
|
187
|
+
- Check the full search and response details at huggingface https://huggingface.co/datasets/MemTensor/MemOS_eval_result.
|
|
188
|
+
> 💡 **MemOS outperforms all other methods (Mem0, Zep, Memobase, SuperMemory et al.) across all benchmarks!**
|
|
137
189
|
|
|
138
190
|
## ✨ Key Features
|
|
139
191
|
|
|
@@ -143,10 +195,43 @@ MemOS demonstrates significant improvements over baseline memory solutions in mu
|
|
|
143
195
|
- **Textual Memory**: For storing and retrieving unstructured or structured text knowledge.
|
|
144
196
|
- **Activation Memory**: Caches key-value pairs (`KVCacheMemory`) to accelerate LLM inference and context reuse.
|
|
145
197
|
- **Parametric Memory**: Stores model adaptation parameters (e.g., LoRA weights).
|
|
198
|
+
- **Tool Memory** 🆕: Records Agent tool call trajectories and experiences to improve planning capabilities.
|
|
199
|
+
- **📚 Knowledge Base System** 🆕: Build multi-dimensional knowledge bases with automatic document/URL parsing, splitting, and cross-project sharing capabilities.
|
|
200
|
+
- **🔧 Memory Controllability** 🆕:
|
|
201
|
+
- **Feedback Mechanism**: Use `add_feedback` API to correct, supplement, or replace existing memories with natural language.
|
|
202
|
+
- **Precise Deletion**: Delete specific memories by User ID or Memory ID via API or MCP tools.
|
|
203
|
+
- **👁️ Multi-Modal Support** 🆕: Support for image understanding and memory, including chart parsing in documents.
|
|
204
|
+
- **⚡ Advanced Architecture**:
|
|
205
|
+
- **DB Optimization**: Enhanced connection management and batch insertion for high-concurrency scenarios.
|
|
206
|
+
- **Advanced Retrieval**: Custom tag and info field filtering with complex logical operations.
|
|
207
|
+
- **Redis Streams Scheduler**: Multi-level queue architecture with intelligent orchestration for fair multi-tenant scheduling.
|
|
208
|
+
- **Stream & Non-Stream Chat**: Ready-to-use streaming and non-streaming chat interfaces.
|
|
146
209
|
- **🔌 Extensible**: Easily extend and customize memory modules, data sources, and LLM integrations.
|
|
210
|
+
- **🏂 Lightweight Deployment** 🆕: Support for quick mode and complete mode deployment options.
|
|
147
211
|
|
|
148
212
|
## 🚀 Getting Started
|
|
149
213
|
|
|
214
|
+
### ⭐️ MemOS online API
|
|
215
|
+
The easiest way to use MemOS. Equip your agent with memory **in minutes**!
|
|
216
|
+
|
|
217
|
+
Sign up and get started on[`MemOS dashboard`](https://memos-dashboard.openmem.net/cn/quickstart/?source=landing).
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
### Self-Hosted Server
|
|
221
|
+
1. Get the repository.
|
|
222
|
+
```bash
|
|
223
|
+
git clone https://github.com/MemTensor/MemOS.git
|
|
224
|
+
cd MemOS
|
|
225
|
+
pip install -r ./docker/requirements.txt
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
2. Configure `docker/.env.example` and copy to `MemOS/.env`
|
|
229
|
+
3. Start the service.
|
|
230
|
+
```bash
|
|
231
|
+
uvicorn memos.api.server_api:app --host 0.0.0.0 --port 8001 --workers 8
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
### Local SDK
|
|
150
235
|
Here's a quick example of how to create a **`MemCube`**, load it from a directory, access its memories, and save it.
|
|
151
236
|
|
|
152
237
|
```python
|
|
@@ -168,7 +253,7 @@ for item in mem_cube.act_mem.get_all():
|
|
|
168
253
|
mem_cube.dump("tmp/mem_cube")
|
|
169
254
|
```
|
|
170
255
|
|
|
171
|
-
|
|
256
|
+
**`MOS`** (Memory Operating System) is 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:
|
|
172
257
|
|
|
173
258
|
```python
|
|
174
259
|
from memos.configs.mem_os import MOSConfig
|
|
@@ -311,19 +396,3 @@ We welcome contributions from the community! Please read our [contribution guide
|
|
|
311
396
|
|
|
312
397
|
MemOS is licensed under the [Apache 2.0 License](./LICENSE).
|
|
313
398
|
|
|
314
|
-
## 📰 News
|
|
315
|
-
|
|
316
|
-
Stay up to date with the latest MemOS announcements, releases, and community highlights.
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
- **2025-09-10** - 🎉 *MemOS v1.0.1 (Group Q&A Bot)*: Group Q&A bot based on MemOS Cube, updated KV-Cache performance comparison data across different GPU deployment schemes, optimized test benchmarks and statistics, added plaintext memory Reranker sorting, optimized plaintext memory hallucination issues, and Playground version updates. [Try PlayGround](https://memos-playground.openmem.net/login/)
|
|
320
|
-
- **2025-08-07** - 🎉 *MemOS v1.0.0 (MemCube Release)*: First MemCube with word game demo, LongMemEval evaluation, BochaAISearchRetriever integration, NebulaGraph support, enhanced search capabilities, and official Playground launch.
|
|
321
|
-
- **2025-07-29** – 🎉 *MemOS v0.2.2 (Nebula Update)*: Internet search+Nebula DB integration, refactored memory scheduler, KV Cache stress tests, MemCube Cookbook release (CN/EN), and 4b/1.7b/0.6b memory ops models.
|
|
322
|
-
- **2025-07-21** – 🎉 *MemOS v0.2.1 (Neo Release)*: Lightweight Neo version with plaintext+KV Cache functionality, Docker/multi-tenant support, MCP expansion, and new Cookbook/Mud game examples.
|
|
323
|
-
- **2025-07-11** – 🎉 *MemOS v0.2.0 (Cross-Platform)*: Added doc search/bilingual UI, MemReader-4B (local deploy), full Win/Mac/Linux support, and playground end-to-end connection.
|
|
324
|
-
- **2025-07-07** – 🎉 *MemOS 1.0 (Stellar) Preview Release*: A SOTA Memory OS for LLMs is now open-sourced.
|
|
325
|
-
- **2025-07-04** – 🎉 *MemOS Paper Released*: [MemOS: A Memory OS for AI System](https://arxiv.org/abs/2507.03724) was published on arXiv.
|
|
326
|
-
- **2025-05-28** – 🎉 *Short Paper Uploaded*: [MemOS: An Operating System for Memory-Augmented Generation (MAG) in Large Language Models](https://arxiv.org/abs/2505.22101) was published on arXiv.
|
|
327
|
-
- **2024-07-04** – 🎉 *Memory3 Model Released at WAIC 2024*: The new memory-layered architecture model was unveiled at the 2024 World Artificial Intelligence Conference.
|
|
328
|
-
- **2024-07-01** – 🎉 *Memory3 Paper Released*: [Memory3: Language Modeling with Explicit Memory](https://arxiv.org/abs/2407.01178) introduces the new approach to structured memory in LLMs.
|
|
329
|
-
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
+
# MemOS: Memory Operating System for AI Agents
|
|
2
|
+
|
|
3
|
+
MemOS is an open-source **Agent Memory framework** that empowers AI agents with **long-term memory, personality consistency, and contextual recall**. It enables agents to **remember past interactions**, **learn over time**, and **build evolving identities** across sessions.
|
|
4
|
+
|
|
5
|
+
Designed for **AI companions, role-playing NPCs, and multi-agent systems**, MemOS provides a unified API for **memory representation, retrieval, and update** — making it the foundation for next-generation **memory-augmented AI agents**.
|
|
6
|
+
|
|
7
|
+
🆕 **MemOS 2.0** introduces **knowledge base system**, **multi-modal memory** (images & documents), **tool memory** for Agent optimization, **memory feedback mechanism** for precise control, and **enterprise-grade architecture** with Redis Streams scheduler and advanced DB optimizations.
|
|
1
8
|
<div align="center">
|
|
2
9
|
<a href="https://memos.openmem.net/">
|
|
3
10
|
<img src="https://statics.memtensor.com.cn/memos/memos-banner.gif" alt="MemOS Banner">
|
|
4
11
|
</a>
|
|
5
12
|
|
|
6
13
|
<h1 align="center">
|
|
7
|
-
<img src="https://statics.memtensor.com.cn/logo/memos_color_m.png" alt="MemOS Logo" width="50"/> MemOS
|
|
14
|
+
<img src="https://statics.memtensor.com.cn/logo/memos_color_m.png" alt="MemOS Logo" width="50"/> MemOS 2.0: 星尘(Stardust) <img src="https://img.shields.io/badge/status-Preview-blue" alt="Preview Badge"/>
|
|
8
15
|
</h1>
|
|
9
16
|
|
|
10
17
|
<p>
|
|
@@ -39,37 +46,68 @@
|
|
|
39
46
|
<img src="https://img.shields.io/badge/License-Apache_2.0-green.svg?logo=apache" alt="License">
|
|
40
47
|
</a>
|
|
41
48
|
</p>
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
<a href="https://memos.openmem.net/">
|
|
52
|
+
<img src="https://statics.memtensor.com.cn/memos/github_api_free_banner.gif" alt="MemOS Free API Banner">
|
|
53
|
+
</a>
|
|
54
|
+
|
|
42
55
|
</div>
|
|
43
56
|
|
|
57
|
+
|
|
58
|
+
Get Free API: [Try API](https://memos-dashboard.openmem.net/quickstart/?source=github)
|
|
59
|
+
|
|
60
|
+
|
|
44
61
|
---
|
|
45
62
|
|
|
46
|
-
<img src="https://
|
|
63
|
+
<img src="https://cdn.memtensor.com.cn/img/1762436050812_3tgird_compressed.png" alt="SOTA SCORE">
|
|
47
64
|
|
|
48
|
-
**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.
|
|
65
|
+
**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. **MemOS 2.0** features comprehensive knowledge base management, multi-modal memory support, tool memory for Agent enhancement, and enterprise-grade architecture optimizations.
|
|
49
66
|
|
|
50
67
|
- **Website**: https://memos.openmem.net/
|
|
51
68
|
- **Documentation**: https://memos-docs.openmem.net/home/overview/
|
|
52
|
-
- **API Reference**: https://memos-docs.openmem.net/
|
|
69
|
+
- **API Reference**: https://memos-docs.openmem.net/api-reference/configure-memos/
|
|
53
70
|
- **Source Code**: https://github.com/MemTensor/MemOS
|
|
54
71
|
|
|
55
|
-
##
|
|
72
|
+
## 📰 News
|
|
56
73
|
|
|
57
|
-
|
|
74
|
+
Stay up to date with the latest MemOS announcements, releases, and community highlights.
|
|
58
75
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
76
|
+
- **2025-12-24** - 🎉 **MemOS v2.0: Stardust (星尘) Release**:
|
|
77
|
+
Major upgrade featuring comprehensive Knowledge Base system with automatic document/URL parsing and cross-project sharing; Memory feedback mechanism for correction and precise deletion; Multi-modal memory supporting images and charts; Tool Memory to enhance Agent planning; Full architecture upgrade with Redis Streams multi-level queue scheduler and DB optimizations; New streaming/non-streaming Chat interfaces; Complete MCP upgrade; Lightweight deployment modes (quick & full).
|
|
78
|
+
- **2025-11-06** - 🎉 MemOS v1.1.3 (Async Memory & Preference):
|
|
79
|
+
Millisecond-level async memory add (support plain-text-memory and
|
|
80
|
+
preference memory); enhanced BM25, graph recall, and mixture search; full
|
|
81
|
+
results & code for LoCoMo, LongMemEval, PersonaMem, and PrefEval released.
|
|
82
|
+
- **2025-10-30** - 🎉 MemOS v1.1.2 (API & MCP Update):
|
|
83
|
+
API architecture overhaul and full MCP (Model Context Protocol) support — enabling models, IDEs, and agents to read/write external memory directly.
|
|
84
|
+
- **2025-09-10** - 🎉 *MemOS v1.0.1 (Group Q&A Bot)*: Group Q&A bot based on MemOS Cube, updated KV-Cache performance comparison data across different GPU deployment schemes, optimized test benchmarks and statistics, added plaintext memory Reranker sorting, optimized plaintext memory hallucination issues, and Playground version updates. [Try PlayGround](https://memos-playground.openmem.net/login/)
|
|
85
|
+
- **2025-08-07** - 🎉 *MemOS v1.0.0 (MemCube Release)*: First MemCube with word game demo, LongMemEval evaluation, BochaAISearchRetriever integration, NebulaGraph support, enhanced search capabilities, and official Playground launch.
|
|
86
|
+
- **2025-07-29** – 🎉 *MemOS v0.2.2 (Nebula Update)*: Internet search+Nebula DB integration, refactored memory scheduler, KV Cache stress tests, MemCube Cookbook release (CN/EN), and 4b/1.7b/0.6b memory ops models.
|
|
87
|
+
- **2025-07-21** – 🎉 *MemOS v0.2.1 (Neo Release)*: Lightweight Neo version with plaintext+KV Cache functionality, Docker/multi-tenant support, MCP expansion, and new Cookbook/Mud game examples.
|
|
88
|
+
- **2025-07-11** – 🎉 *MemOS v0.2.0 (Cross-Platform)*: Added doc search/bilingual UI, MemReader-4B (local deploy), full Win/Mac/Linux support, and playground end-to-end connection.
|
|
89
|
+
- **2025-07-07** – 🎉 *MemOS 1.0 (Stellar) Preview Release*: A SOTA Memory OS for LLMs is now open-sourced.
|
|
90
|
+
- **2025-07-04** – 🎉 *MemOS Paper Released*: [MemOS: A Memory OS for AI System](https://arxiv.org/abs/2507.03724) was published on arXiv.
|
|
91
|
+
- **2025-05-28** – 🎉 *Short Paper Uploaded*: [MemOS: An Operating System for Memory-Augmented Generation (MAG) in Large Language Models](https://arxiv.org/abs/2505.22101) was published on arXiv.
|
|
92
|
+
- **2024-07-04** – 🎉 *Memory3 Model Released at WAIC 2024*: The new memory-layered architecture model was unveiled at the 2024 World Artificial Intelligence Conference.
|
|
93
|
+
- **2024-07-01** – 🎉 *Memory3 Paper Released*: [Memory3: Language Modeling with Explicit Memory](https://arxiv.org/abs/2407.01178) introduces the new approach to structured memory in LLMs.
|
|
64
94
|
|
|
65
|
-
|
|
95
|
+
## 📈 Performance Benchmark
|
|
66
96
|
|
|
67
|
-
|
|
97
|
+
MemOS demonstrates significant improvements over baseline memory solutions in multiple memory tasks,
|
|
98
|
+
showcasing its capabilities in **information extraction**, **temporal and cross-session reasoning**, and **personalized preference responses**.
|
|
68
99
|
|
|
69
|
-
|
|
70
|
-
|
|
100
|
+
| Model | LOCOMO | LongMemEval | PrefEval-10 | PersonaMem |
|
|
101
|
+
|-----------------|-------------|-------------|-------------|-------------|
|
|
102
|
+
| **GPT-4o-mini** | 52.75 | 55.4 | 2.8 | 43.46 |
|
|
103
|
+
| **MemOS** | **75.80** | **77.80** | **71.90** | **61.17** |
|
|
104
|
+
| **Improvement** | **+43.70%** | **+40.43%** | **+2568%** | **+40.75%** |
|
|
71
105
|
|
|
72
|
-
|
|
106
|
+
### Detailed Evaluation Results
|
|
107
|
+
- We use gpt-4o-mini as the processing and judging LLM and bge-m3 as embedding model in MemOS evaluation.
|
|
108
|
+
- The evaluation was conducted under conditions that align various settings as closely as possible. Reproduce the results with our scripts at [`evaluation`](./evaluation).
|
|
109
|
+
- Check the full search and response details at huggingface https://huggingface.co/datasets/MemTensor/MemOS_eval_result.
|
|
110
|
+
> 💡 **MemOS outperforms all other methods (Mem0, Zep, Memobase, SuperMemory et al.) across all benchmarks!**
|
|
73
111
|
|
|
74
112
|
## ✨ Key Features
|
|
75
113
|
|
|
@@ -79,10 +117,43 @@ MemOS demonstrates significant improvements over baseline memory solutions in mu
|
|
|
79
117
|
- **Textual Memory**: For storing and retrieving unstructured or structured text knowledge.
|
|
80
118
|
- **Activation Memory**: Caches key-value pairs (`KVCacheMemory`) to accelerate LLM inference and context reuse.
|
|
81
119
|
- **Parametric Memory**: Stores model adaptation parameters (e.g., LoRA weights).
|
|
120
|
+
- **Tool Memory** 🆕: Records Agent tool call trajectories and experiences to improve planning capabilities.
|
|
121
|
+
- **📚 Knowledge Base System** 🆕: Build multi-dimensional knowledge bases with automatic document/URL parsing, splitting, and cross-project sharing capabilities.
|
|
122
|
+
- **🔧 Memory Controllability** 🆕:
|
|
123
|
+
- **Feedback Mechanism**: Use `add_feedback` API to correct, supplement, or replace existing memories with natural language.
|
|
124
|
+
- **Precise Deletion**: Delete specific memories by User ID or Memory ID via API or MCP tools.
|
|
125
|
+
- **👁️ Multi-Modal Support** 🆕: Support for image understanding and memory, including chart parsing in documents.
|
|
126
|
+
- **⚡ Advanced Architecture**:
|
|
127
|
+
- **DB Optimization**: Enhanced connection management and batch insertion for high-concurrency scenarios.
|
|
128
|
+
- **Advanced Retrieval**: Custom tag and info field filtering with complex logical operations.
|
|
129
|
+
- **Redis Streams Scheduler**: Multi-level queue architecture with intelligent orchestration for fair multi-tenant scheduling.
|
|
130
|
+
- **Stream & Non-Stream Chat**: Ready-to-use streaming and non-streaming chat interfaces.
|
|
82
131
|
- **🔌 Extensible**: Easily extend and customize memory modules, data sources, and LLM integrations.
|
|
132
|
+
- **🏂 Lightweight Deployment** 🆕: Support for quick mode and complete mode deployment options.
|
|
83
133
|
|
|
84
134
|
## 🚀 Getting Started
|
|
85
135
|
|
|
136
|
+
### ⭐️ MemOS online API
|
|
137
|
+
The easiest way to use MemOS. Equip your agent with memory **in minutes**!
|
|
138
|
+
|
|
139
|
+
Sign up and get started on[`MemOS dashboard`](https://memos-dashboard.openmem.net/cn/quickstart/?source=landing).
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
### Self-Hosted Server
|
|
143
|
+
1. Get the repository.
|
|
144
|
+
```bash
|
|
145
|
+
git clone https://github.com/MemTensor/MemOS.git
|
|
146
|
+
cd MemOS
|
|
147
|
+
pip install -r ./docker/requirements.txt
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
2. Configure `docker/.env.example` and copy to `MemOS/.env`
|
|
151
|
+
3. Start the service.
|
|
152
|
+
```bash
|
|
153
|
+
uvicorn memos.api.server_api:app --host 0.0.0.0 --port 8001 --workers 8
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
### Local SDK
|
|
86
157
|
Here's a quick example of how to create a **`MemCube`**, load it from a directory, access its memories, and save it.
|
|
87
158
|
|
|
88
159
|
```python
|
|
@@ -104,7 +175,7 @@ for item in mem_cube.act_mem.get_all():
|
|
|
104
175
|
mem_cube.dump("tmp/mem_cube")
|
|
105
176
|
```
|
|
106
177
|
|
|
107
|
-
|
|
178
|
+
**`MOS`** (Memory Operating System) is 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:
|
|
108
179
|
|
|
109
180
|
```python
|
|
110
181
|
from memos.configs.mem_os import MOSConfig
|
|
@@ -246,19 +317,3 @@ We welcome contributions from the community! Please read our [contribution guide
|
|
|
246
317
|
## 📄 License
|
|
247
318
|
|
|
248
319
|
MemOS is licensed under the [Apache 2.0 License](./LICENSE).
|
|
249
|
-
|
|
250
|
-
## 📰 News
|
|
251
|
-
|
|
252
|
-
Stay up to date with the latest MemOS announcements, releases, and community highlights.
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
- **2025-09-10** - 🎉 *MemOS v1.0.1 (Group Q&A Bot)*: Group Q&A bot based on MemOS Cube, updated KV-Cache performance comparison data across different GPU deployment schemes, optimized test benchmarks and statistics, added plaintext memory Reranker sorting, optimized plaintext memory hallucination issues, and Playground version updates. [Try PlayGround](https://memos-playground.openmem.net/login/)
|
|
256
|
-
- **2025-08-07** - 🎉 *MemOS v1.0.0 (MemCube Release)*: First MemCube with word game demo, LongMemEval evaluation, BochaAISearchRetriever integration, NebulaGraph support, enhanced search capabilities, and official Playground launch.
|
|
257
|
-
- **2025-07-29** – 🎉 *MemOS v0.2.2 (Nebula Update)*: Internet search+Nebula DB integration, refactored memory scheduler, KV Cache stress tests, MemCube Cookbook release (CN/EN), and 4b/1.7b/0.6b memory ops models.
|
|
258
|
-
- **2025-07-21** – 🎉 *MemOS v0.2.1 (Neo Release)*: Lightweight Neo version with plaintext+KV Cache functionality, Docker/multi-tenant support, MCP expansion, and new Cookbook/Mud game examples.
|
|
259
|
-
- **2025-07-11** – 🎉 *MemOS v0.2.0 (Cross-Platform)*: Added doc search/bilingual UI, MemReader-4B (local deploy), full Win/Mac/Linux support, and playground end-to-end connection.
|
|
260
|
-
- **2025-07-07** – 🎉 *MemOS 1.0 (Stellar) Preview Release*: A SOTA Memory OS for LLMs is now open-sourced.
|
|
261
|
-
- **2025-07-04** – 🎉 *MemOS Paper Released*: [MemOS: A Memory OS for AI System](https://arxiv.org/abs/2507.03724) was published on arXiv.
|
|
262
|
-
- **2025-05-28** – 🎉 *Short Paper Uploaded*: [MemOS: An Operating System for Memory-Augmented Generation (MAG) in Large Language Models](https://arxiv.org/abs/2505.22101) was published on arXiv.
|
|
263
|
-
- **2024-07-04** – 🎉 *Memory3 Model Released at WAIC 2024*: The new memory-layered architecture model was unveiled at the 2024 World Artificial Intelligence Conference.
|
|
264
|
-
- **2024-07-01** – 🎉 *Memory3 Paper Released*: [Memory3: Language Modeling with Explicit Memory](https://arxiv.org/abs/2407.01178) introduces the new approach to structured memory in LLMs.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
##############################################################################
|
|
5
5
|
|
|
6
6
|
name = "MemoryOS"
|
|
7
|
-
version = "
|
|
7
|
+
version = "2.0.0"
|
|
8
8
|
description = "Intelligence Begins with Memory"
|
|
9
9
|
license = {text = "Apache-2.0"}
|
|
10
10
|
readme = "README.md"
|
|
@@ -46,6 +46,8 @@ dependencies = [
|
|
|
46
46
|
"scikit-learn (>=1.7.0,<2.0.0)", # Machine learning
|
|
47
47
|
"fastmcp (>=2.10.5,<3.0.0)",
|
|
48
48
|
"python-dateutil (>=2.9.0.post0,<3.0.0)",
|
|
49
|
+
"prometheus-client (>=0.23.1,<0.24.0)",
|
|
50
|
+
"concurrent-log-handler (>=0.9.28,<1.0.0)", # Process-safe rotating file handler
|
|
49
51
|
]
|
|
50
52
|
|
|
51
53
|
[project.urls]
|
|
@@ -86,6 +88,13 @@ mem-user = [
|
|
|
86
88
|
mem-reader = [
|
|
87
89
|
"chonkie (>=1.0.7,<2.0.0)", # Sentence chunking library
|
|
88
90
|
"markitdown[docx,pdf,pptx,xls,xlsx] (>=0.1.1,<0.2.0)", # Markdown parser for various file formats
|
|
91
|
+
"langchain-text-splitters (>=1.0.0,<2.0.0)", # markdown chunk for langchain
|
|
92
|
+
]
|
|
93
|
+
|
|
94
|
+
# PreferenceTextMemory
|
|
95
|
+
pref-mem = [
|
|
96
|
+
"pymilvus (>=2.5.12,<3.0.0)", # Milvus Vector DB
|
|
97
|
+
"datasketch (>=1.6.5,<2.0.0)", # MinHash library
|
|
89
98
|
]
|
|
90
99
|
|
|
91
100
|
# All optional dependencies
|
|
@@ -98,8 +107,13 @@ all = [
|
|
|
98
107
|
"pika (>=1.3.2,<2.0.0)",
|
|
99
108
|
"pymysql (>=1.1.0,<2.0.0)",
|
|
100
109
|
"chonkie (>=1.0.7,<2.0.0)",
|
|
110
|
+
"langchain-text-splitters (>=1.0.0,<2.0.0)",
|
|
101
111
|
"markitdown[docx,pdf,pptx,xls,xlsx] (>=0.1.1,<0.2.0)",
|
|
102
|
-
|
|
112
|
+
"pymilvus (>=2.6.1,<3.0.0)",
|
|
113
|
+
"datasketch (>=1.6.5,<2.0.0)",
|
|
114
|
+
"jieba (>=0.38.1,<0.42.1)",
|
|
115
|
+
"rank-bm25 (>=0.2.2)",
|
|
116
|
+
"cachetools (>=6.0.0)",
|
|
103
117
|
# NOT exist in the above optional groups
|
|
104
118
|
# Because they are either huge-size dependencies or infrequently used dependencies.
|
|
105
119
|
# We kindof don't want users to install them.
|
|
@@ -107,6 +121,8 @@ all = [
|
|
|
107
121
|
"sentence-transformers (>=4.1.0,<5.0.0)",
|
|
108
122
|
"qdrant-client (>=1.14.2,<2.0.0)",
|
|
109
123
|
"volcengine-python-sdk (>=4.0.4,<5.0.0)",
|
|
124
|
+
"nltk (>=3.9.1,<4.0.0)",
|
|
125
|
+
"rake-nltk (>=1.0.6,<1.1.0)",
|
|
110
126
|
|
|
111
127
|
# Uncategorized dependencies
|
|
112
128
|
]
|
|
@@ -163,7 +179,6 @@ bert-score = "^0.3.13"
|
|
|
163
179
|
scipy = "^1.10.1"
|
|
164
180
|
python-dotenv = "^1.1.1"
|
|
165
181
|
langgraph = "^0.5.1"
|
|
166
|
-
langmem = "^0.0.27"
|
|
167
182
|
|
|
168
183
|
|
|
169
184
|
[tool.poetry.group.mem-user.dependencies]
|