jianf ddc84382fd fix: 修复 TUI 界面 API Key 配置和消息处理问题
1. 修复配置保存问题:config_section.py 现在正确发送 API 配置和工具限制两个消息
2. 修复代理环境变量问题:graph_client.py 自动修正缺少 scheme 前缀的代理 URL
3. 修复响应解析问题:app.py 正确从 data 字段获取 content 和 tool_calls
4. 添加操作日志更新:app.py 处理工具调用信息并更新操作日志

🤖 Generated with CodeArts Agent
2026-04-14 23:46:21 +08:00

TrulyMEM - TrueHumanMEM

TrulyMEM Logo

📜 License: GNU General Public License v3.0 (GPLv3)
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.

中文: 切换到中文版

Give AI self-awareness, plasticity, and a sense of proportion in long-term memory

The More Human Choice.

License: GPL v3 Python 3.8+ Platform


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

# Windows: TrulyMEM.exe
# Linux/macOS: TrulyMEM
chmod +x TrulyMEM
./TrulyMEM

Method 2: Run from Source

git clone <repo-url>
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/ directory:

Document Content
docs/en/architecture.md System architecture and technical design
docs/en/quick_start.md Complete startup guide and configuration
docs/en/memory.md Internal memory working mechanism
docs/en/persona.md Persona Graph mechanism
docs/en/working_memory.md Continuous task handling mechanism
docs/en/api.md BackendServer API (for extension development)
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 file for details.


Special Thanks

  • Prof. Meiting Wang — Academic guidance
  • 逝水秋生白 — Architecture support
  • anzhitinglan — Testing resource support
  • 崔莉萍老师 — Theoretical guidance
  • Annie — Professional guidance
  • 王梓沣、马悦华、隆梦婷 — Neuroscience theory support
Description
让 AI 拥有自知、可塑、有分寸感的长期记忆 — TrulyMEM(TrueHumanMEM)
Readme 7.5 MiB
Languages
Python 63.5%
HTML 33.5%
Shell 1.6%
CSS 0.8%
C++ 0.3%
Other 0.3%