Repository navigation
Releases
IHMT 1.4.0
Conversations from every agent, with nothing to install
IHMT now keeps what was said and done in your past sessions whatever agent you use, and search_memory(scope="conversations") finds it from any of them.
- Codex and opencode, as well as Claude Code. Sessions are read from Codex rollouts (
~/.codex/sessions) and from opencode's database. What matters is the agent application, not the model it runs.project=spans agents: what you did in Codex is found from Claude Code. - No hooks to install. The MCP server captures in the background when it starts, which every agent does at the beginning of a session. It is on by default; set
IHMT_CAPTURE=0in the server'senvto turn it off, andIHMT_USER_NAMEto choose the name written before your turns. Claude Code hooks remain as an optional extra, to capture a session the moment it closes. - Only your messages, the agent's replies and one line per action are kept (no tool output, images or reasoning), credentials are replaced with
[REDACTED], and everything stays on your disk.
Fixes
- A capture killed while the agent was closing left a lock that blocked the following captures for 15 minutes. The lock now records its owner and is taken over when that process is gone.
- An interrupted capture replays the session instead of losing fragments.
- GUIDE.md: the conversations section collided with the Codex section number; it is now 5.8.
Upgrading from 1.3.0
Fragments captured by 1.3.0 keep their old claude-code:// origin and are not matched by project=. Delete $IHMT_HOME/ihmt_conversations and they are captured again on the next start. Your notes (ihmt_memory) are not affected.
Agents not listed above still get the whole memory over MCP; only their conversations are not captured yet. See GUIDE.md 5.8.
IHMT 1.3.0
Search what you said in past sessions
- Conversation capture.
ihmt-memory capturereads Claude Code transcripts and keeps your messages, the replies and one line per action (no tool output, images or reasoning), with keys redacted. It is incremental and goes to a separate store, so your curated notes stay clean. Run it from Claude Code hooks (SessionEnd,PreCompact,SessionStart; recipe in GUIDE.md §5.6) or by hand. search_memory(scope="conversations")searches those sessions, optionally limited withproject="folder".also=[...]searches other phrasings of the same question (another language, synonyms) in one call.since="YYYY-MM-DD"returns only memories dated on or after a day.
Fewer tokens
project_mapleaves tests out by default and fits a budget of about 3,000 tokens; on a large project it names the directories to zoom into withsubpath.save_memoryanswers in one line.- Shorter server instructions and a shorter
templates/memory-instructions.md.
Fixes
- The PyPI package now ships
main.py, socaptureworks when installed withuvxorpip.
Upgrading
uvx ihmt-memory@latest, or git pull in your clone, then restart your agent. The hooks are optional and are not installed for you.
IHMT 1.2.1
Fixes tool calls failing when an agent sends several at once.
The MCP SDK runs each tool call in its own thread, and agents such as Claude Code often call tools in parallel. Two calls could then write through the same temporary file, and one of them failed with "Error executing tool" — for save_memory, the note was not saved. In a test with 40 parallel save/search calls on a new memory, 5–10 failed; now none do.
- Tool calls take turns under one lock.
- Temporary files are unique per thread.
- On Windows, replacing a file is retried briefly while another program has it open.
Upgrade: uvx ihmt-memory@latest, or git pull in a cloned install.
IHMT 1.2.0
First packaged release of IHMT.
- Install from PyPI:
uvx ihmt-memoryruns the MCP server with no clone or virtualenv; the memory lives in~/.ihmtunlessIHMT_HOMEsays otherwise.uvx ihmt-memory --instructionsprints the usage rules forCLAUDE.md/AGENTS.md. - MCP Registry: listed as
io.github.gonzaroman/ihmt-memory. - Tested on Linux, macOS and Windows (Python 3.10 and 3.13) on every push.
- Fixes: the GUI folder browser no longer goes blank on Linux when a subfolder can't be read, and the
INSTALL.mdinstall detector prints Windows paths correctly.
The clone-and-venv install described in INSTALL.md keeps working as before.