rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
PROJECT README
I got tired of re-explaining my project to every new AI chat, and then getting the old version of a decision back.
When a fact changes, only the latest version comes back.
Say your project chat moved from Flask to Django, then FastAPI, then Litestar. TOMC Memory hands your assistant framework = Litestar, plus the line it came from.
After installing, say to your assistant: "Try TOMC Memory". In a terminal: tomc try.
gpt-6.1-sol. Keeping 40% of the history cut request input by 29.7% on average, and all 45 answers stayed right. One run per condition.Every number, with its conditions and failures · Before you use it · Install
STATE? and that line is attached so you or your assistant can check it.prepare_context and recall_memory are not saved unless you turn it on (tomc settings --save-mcp-results on). Notes you save with remember_memory stay on your computer in ~/.tomc/memory.sqlite3. Delete one notebook with forget_memory, or everything with tomc erase-all --yes. Security and privacymake reproduce).Each path ends the same way: say "Try TOMC Memory" in a new chat, and run tomc doctor if something looks wrong. The Claude Code and Codex plugins need uv. Running from source needs Python 3.10 or newer (python3 --version; the macOS system Python 3.9 is too old).
/plugin marketplace add ZipengWu365/TOMC
/plugin install tomc-memory@tomc
Start a new session, check /mcp for plugin:tomc-memory:tomc, then say "Try TOMC Memory" or run /tomc-memory:try. More Claude Code notes
Download tomc-memory-codex-0.3.1.zip, unzip it into a folder you will keep, and run there:
uv run --no-project --python 3.12 install.py --check
uv run --no-project --python 3.12 install.py
The installer starts the server once to check it. Open a new Codex session and say "Try TOMC Memory". Full Codex steps
git clone https://github.com/ZipengWu365/TOMC.git && cd TOMC
python3 -m venv .venv && .venv/bin/python -m pip install -e '.[mcp]'
.venv/bin/tomc setup --client cursor --write # or claude-desktop, claude-code, codex, workbuddy
.venv/bin/tomc doctor
--write backs up the client's config file first and keeps your other servers. For TRAE or a project file, add --config path/to/mcp.json. Restart the client and say "Try TOMC Memory". On Windows use py -3.12 -m venv .venv and .venv\Scripts\. Per-client guides
from tomc import prepare_context # pip install -e . from a clone; no dependencies
prepared = prepare_context(history, task)
response = client.chat.completions.create(model=model, messages=prepared.messages)
Send prepared.messages in place of the old history; appending it adds input. .venv/bin/tomc try shows a worked example offline. API guide
If GitHub or PyPI downloads stall, use a mirror for pip and uv:
python3 -m pip install --user uv -i https://pypi.tuna.tsinghua.edu.cn/simple
export UV_DEFAULT_INDEX=https://pypi.tuna.tsinghua.edu.cn/simple
export UV_PYTHON_INSTALL_MIRROR=https://registry.npmmirror.com/-/binary/python-build-standalone
python3 -m uv run --no-project --python 3.12 install.py # Codex installer, run in the unzipped folder
For a source install, add -i https://pypi.tuna.tsinghua.edu.cn/simple to the pip install line. In PowerShell, set the variables with $env:UV_DEFAULT_INDEX="…".
Try, compare, contribute: First-run reports · Context-compression evaluation note · Contribution guide
Follow Zipeng Wu for work across time-series research software and AI task memory. Star this repository to save TOMC; use Watch settings for project notifications. Following or starring is optional and is never required for help.
Cumulative clones · recorded since 2026-10-02 · updated 2026-11-17 UTC. Method and updates
MIT License: free to use, change and ship, including commercially; keep the copyright and license notice. If TOMC Memory helps your research, please cite it with CITATION.cff (GitHub's "Cite this repository" button). Examples are synthetic; the repository holds numeric benchmark aggregates only, without question text, answers or API payloads. Data provenance · Data and licensing
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: mcp、llm。