{"repo":"sobowalebukola/memcortex","free":true,"listed":false,"github":"https://github.com/sobowalebukola/memcortex","clone":"git clone https://github.com/sobowalebukola/memcortex.git","description":"Memcortex is a lightweight semantic memory layer for LLMs using open source embedding model and Weaviate for vector storage and retrieval.","language":"Go","stars":21,"topics":["artificial-intelligence","docker","golang","llms","ollama","vector-database","weaviate","ai","ai-agents","embeddings"],"license":"MIT","category":"ai-agents","readme_excerpt":"Memcortex Persistent Memory Layer for LLMs (Memory-RAG) Memcortex is a Proof of Concept (PoC) designed to equip conversational agents and LLM applications with persistent, long-term memory. By implementing a Memory-RAG (Retrieval-Augmented Generation) architecture, Memcortex allows agents to transcend context-window limitations, enabling them to recall past interactions and specific data points indefinitely. --- Contents README (this file) Architectural diagram (Mermaid + ASCII) Package structure How to start --- Project Overview Memcortex stores user/application memories as both text and vectors in Weaviate and exposes a memory manager + middleware that: 1. Embeds incoming text using nomic-embed-text embeddings. 2. Stores memories in a Memory idx class on Weaviate. 3. Runs vector searches to retrieve top‑K relevant memories for a user. 4. Injects retrieved memories into the prompt before it reaches the LLM. 5. Optionally persists new memories asynchronously. This pattern is ideal for building chatbots, agents, and personalization layers that must \"remember\" details across sessions. --- Architecture (Mermaid) ASCII Diagram --- Quickstart (developer) Prereqs: Go 1.20+ Docker & Docker Compose 1. Copy repo and set module path (or go mod init github.com/yourname/memcortex ). 2. Create .env (see .env.example ). 3. Build docker image & run server: 5. Example request: Shown below are example requests using Thunderclient (you can use any api client of choice. Remember to set the X-Us","default_branch":null,"files":null,"tree":[],"storefront":"/r/sobowalebukola","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sobowalebukola/memcortex/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}