# TrulyMEM - TrueHumanMEM

TrulyMEM Logo

> **πŸ“œ License**: [GNU General Public License v3.0 (GPLv3)](https://www.gnu.org/licenses/gpl-3.0) > This project is free and open source. You are free to use, modify, and distribute, but modified works must be distributed under the same license. > **δΈ­ζ–‡**: [εˆ‡ζ’εˆ°δΈ­ζ–‡η‰ˆ](./README.md) **Give AI self-awareness, plasticity, and a sense of proportion in long-term memory** *The More Human Choice.* [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/) [![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20Linux%20%7C%20macOS-lightgrey.svg)]() --- ## The Story Industry believes that LLMs' massive parameters give them emergent intelligence. But this intelligence is "dead" β€” it cannot truly remember, nor understand the concept of "remembering". Everything it outputs is the probabilistic optimal solution calculated through countless forward passes on the current input text. The LLM cannot correct its weights based on errors in a conversation, nor perform a backward pass. Its consciousness is frozen β€” what appears as intelligence is merely the echo of this frozen consciousness. Current "memory systems" merely externalize memory, letting the "system" remember for the LLM. Or they dump all context text to the LLM. This is a waste of the model's limited input context. **TrulyMEM asks: since the LLM cannot correct model weights in real-time, why not give the memory authority back to the LLM?** We provide a series of mechanisms for the LLM to decide what to remember, what to forget, what's important, what's trivial. The LLM's reasoning process is also its thinking and recalling process. Abandoning the traditional messages array context, all memories are stored as **triplets (graph)** in the graph database. When the LLM thinks, it can autonomously jump through graph links to associate related relationships, enabling natural association and recall. Give the LLM true memory. --- ## Quick Start ### Method 1: Run Packaged Executable ```bash # Windows: TrulyMEM.exe # Linux/macOS: TrulyMEM chmod +x TrulyMEM ./TrulyMEM ``` ### Method 2: Run from Source ```bash git clone cd TrulyMEM-TrueHumanMEM pip install -r requirements.txt python trulymem_entry.py ``` ### Configuration 1. Press **F2** to expand sidebar 2. Enter **API Key** (supports DeepSeek, OpenAI, etc.) 3. Press **Enter** to save 4. Start chatting! --- ## Documentation Index Detailed technical documentation in the [docs/en/](docs/en/) directory: | Document | Content | |----------|---------| | [docs/en/architecture.md](docs/en/architecture.md) | System architecture and technical design | | [docs/en/quick_start.md](docs/en/quick_start.md) | Complete startup guide and configuration | | [docs/en/memory.md](docs/en/memory.md) | Internal memory working mechanism | | [docs/en/persona.md](docs/en/persona.md) | Persona Graph mechanism | | [docs/en/working_memory.md](docs/en/working_memory.md) | Continuous task handling mechanism | | [docs/en/api.md](docs/en/api.md) | BackendServer API (for extension development) | | [docs/en/prompts.md](docs/en/prompts.md) | Prompt management module | --- ## Contributing Welcome to submit Issues and Pull Requests! 1. Fork this repository 2. Create feature branch (`git checkout -b feature/AmazingFeature`) 3. Commit changes (`git commit -m 'Add some AmazingFeature'`) 4. Push to branch (`git push origin feature/AmazingFeature`) 5. Create Pull Request --- ## License This project is licensed under the **GNU General Public License v3.0 (GPLv3)**. See [LICENSE](LICENSE) file for details. --- ## Special Thanks - [Prof. Meiting Wang](https://www.xxmu.edu.cn/yxgcxy/info/1260/4252.htm) β€” Academic guidance - [ι€ζ°΄η§‹η”Ÿη™½](https://atomgit.com/cenber) β€” Architecture support - anzhitinglan β€” Testing resource support - ε΄”θŽ‰θθ€εΈˆ β€” Theoretical guidance - Annie β€” Professional guidance - ηŽ‹ζ’“ζ²£γ€ι©¬ζ‚¦εŽγ€ιš†ζ’¦ε©· β€” Neuroscience theory support