Who it is forA developer building an assistant that must pick up where a user left off after a restart or a new process.
The problemRestarting a conversation normally loses everything the model learned about the user, or forces the app to store and resend full transcripts.
The outcomeA snapshot file in the server's state directory that a new session can load, with zero stored messages and the earlier facts still answerable.
What you need first
- Linux server with NVIDIA CUDA and Python 3.11 or newer
- uv installed for the inference install step
- A complete local MemT-1.0-Nano checkpoint with BF16 weights, configuration and tokenizer assets
- Two GPUs for the Nano example in the README
- Write access to ./memt-state on the server for memory snapshots
Steps
- Complete the server setup from the persistent memory chat use case so
start_memt_nano.shis running. - In your Python session, call
snapshot = session.save_state("memmy_memory.safetensors")to commit pending turns and save memory. - Run
session.close()to end the original session. - Start a new
MemTSessionwithstate=snapshot["path"]and check thatlen(restored.messages)prints 0. - Ask a question that depends on the saved facts and confirm the reply uses them.
Prompt for your agent
Using the MemTensor/MemT-1.0 repo and a running MemT-1.0-Nano server, save memory from a session to <snapshot-name>.safetensors, then restore it in a new MemTSession. Expected output: restored.messages has length 0 and a reply to a fact-based question is correct. Verify the returned snapshot path is used as the state argument.
Caveat. Snapshots are saved in the server's configured state directory, so the restored session only works against a server that can read that directory.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for MemTensor/MemT-1.0 and "Save a memory snapshot and resume it in a new session"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer