ChatSorter is a layered memory API designed to turn conversations into structured, usable data. It works through three core layers: a short-term buffer that captures recent messages for immediate context, a semantic layer that condenses conversations into searchable summaries based on importance, and a fact extraction layer that pulls out, sorts, and stores key structured information like preferences, entities, and relationships with confidence scoring. It also supports custom RAG pipelines, vector database integrations, and ingestion of text and PDF data for handling external knowledge…