कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

simplemem

nantes द्वारा

Search & Research
383clawskills.sh द्वारा बताए गए डाउनलोड
2स्टार
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Efficient Lifelong Memory for LLM Agents - semantic compression, cross-session memory, and intent-aware retrieval.

विवरण

यह स्किल क्या करती है

SimpleMem gives LLM agents persistent memory across sessions by compressing interactions into compact units and retrieving them based on intent. It uses a multi-index approach combining semantic, lexical, and symbolic layers. Without an OpenAI key, it falls back to JSON-based keyword search.

Unlike naive context stuffing, SimpleMem compresses and indexes memories so retrieval stays fast and relevant even as history grows.

इसे कब इस्तेमाल करें

  • Remembering user preferences across chat sessions
  • Storing project context for long-running agent tasks
  • Reducing repeated context in multi-turn conversations
  • Retrieving relevant past interactions during planning
  • Compressing conversation history to stay within token limits

उदाहरण वर्कफ़्लो

इनपुट

User asks: Remember that I prefer dark mode and always use TypeScript

एजेंट
  1. 1

    Calls simplemem add with the preference string and a user ID

  2. 2

    SimpleMem compresses and stores the memory unit in persistent storage

  3. 3

    In a later session, agent calls simplemem retrieve with query about user preferences

  4. 4

    SimpleMem runs intent-aware search across semantic and lexical indexes

  5. 5

    Returns ranked memory results with the stored preference

आउटपुट

Agent recalls dark mode and TypeScript preference without re-prompting the user

आवश्यकताएँ

  • OPENAI_API_KEY environment variable (optional, required for semantic embeddings)

इंस्टॉलेशन

clawhub install nantes/simplemem

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक