Overview of MemOS Open-Source REST API
mainMemOS is a high-performance REST API service built with FastAPI that provides memory capabilities for LLM and AI agents. It uses a Component + Handler architecture to support memory extraction, semantic search, and asynchronous scheduling.
Core Capabilities
- Multidimensional memory production: Convert conversations, text, or documents into structured memories using
AddHandler. - Physical isolation with MemCube: Use
Cube IDsto isolate data and indexes across different users or knowledge bases. - End-to-end chat loop: Orchestrate retrieval, generation, and asynchronous storage using
ChatHandler. - Asynchronous task scheduling: Use the
MemSchedulerengine to manage large memory-production workloads and track task status. - Self-correction workflow: Correct or mark stored memories using natural language via feedback endpoints.