root c1dc3f647b feat: message_timeout 可配,所有用户 config.json 统一
- 新增 _DEFAULT_CONFIG 字典管理通用配置(含 message_timeout)
- _load_config/_save_config 重构:先配置后限制,各自用独立默认值
- send() 超时从硬编码 300s 改为从 config.json 读取 message_timeout
- _handle_set_settings 支持接收 message_timeout 并持久化
- 所有用户 config.json 新增 message_timeout: 1200(20分钟)
2026-04-28 20:36:57 +08:00
2026-04-14 23:54:46 +08:00

TrulyMEM - TrueHumanMEM

TrulyMEM Logo

📜 License: GNU General Public License v3.0 (GPLv3)

中文: README.md

Give AI self-awareness, plasticity, and a sense of proportion in long-term memoryThe More Human Choice.

License: GPL v3 Python 3.8+


In a Nutshell

TrulyMEM gives memory authority back to the LLM. Using graph database (triplets) instead of the traditional messages array, the LLM autonomously decides what to remember and what to forget.


Quick Start

python trulymem_entry.py    # from source
./dist/TrulyMEM             # packaged binary

First run → TUI login screen → create/sign in → press F2 for API Key → start chatting

📖 Full guide: docs/en/quick_start.md


Features

Feature Description
🧠 Graph Memory Triplet storage, LLM autonomous navigation
🔐 Multi-User Isolated profiles + Admin/User roles
🌐 Web UI Embedded Flask server (thread mode) for knowledge graph browsing
🎮 TUI Textual-based terminal UI with F2 config panel
📦 Single Binary PyInstaller build, Web server embedded

Documentation

Document Content
docs/en/quick_start.md 🔥 Full setup guide (Web, multi-user, building)
docs/en/architecture.md System architecture and design
docs/en/memory.md Memory working mechanism
docs/en/persona.md Persona Graph mechanism
docs/en/api.md Backend API
docs/en/prompts.md Prompt management

Special Thanks

  • Prof. Meiting Wang — Academic guidance
  • 逝水秋生白 — Architecture support
  • anzhitinglan — Testing resource support
  • 崔莉萍老师 — Theoretical guidance
  • Annie — Professional guidance
  • 王梓沣、马悦华、隆梦婷 — Neuroscience theory support

License

GNU General Public License v3.0 (GPLv3)

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%