root 3de418b7e8 refactor: 工具调用限制全部移入 config.json,代码零硬编码
- 删除 server.py BackendServer.__init__ 中 _tool_limits 的硬编码字典
- _load_config 从 ~/.trulymem/config.json 读取全部限制值
- 首次启动无配置文件时自动生成带默认值的 config.json
- _create_tool_limiter 直接索引 _tool_limits 字典,无硬编码兜底
- 如需修改限制值,编辑 ~/.trulymem/config.json 即可生效(下次重启)
2026-04-28 20:30:24 +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%