{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "memtensor-memt-1-0--run-persistent-memory-chat-locally",
 "repo": "MemTensor/MemT-1.0",
 "repo_url": "https://github.com/MemTensor/MemT-1.0",
 "repo_slug": "memtensor-memt-1-0",
 "title": "Run a chat that remembers facts across turns",
 "page_title": "How to run a chat that remembers facts across turns with MemT 1 0",
 "summary": "Serve MemT-1.0-Nano with SGLang and chat with native memory that is kept after each reply.",
 "who": "An ML engineer with a Linux GPU server who wants to test whether a model can keep user facts in its own memory instead of a long transcript.",
 "problem": "Long chat transcripts grow costly, and it is hard to tell whether a model retains earlier facts without resending the full context.",
 "outcome": "A running SGLang server and a Python session where facts from earlier turns, such as a pet's name and age, are answered correctly after the plaintext context is cleared.",
 "steps": [
  "Run `cd inference` in a clone of the MemTensor/MemT-1.0 repository.",
  "Run `uv pip install '.[server]'` on the Linux GPU server.",
  "Run `sh start_memt_nano.sh /models/MemT-1.0-Nano` and keep it running; it serves at http://127.0.0.1:30000.",
  "In another terminal, run the Python connection code from the Quick Start, pointing model_path at the same checkpoint.",
  "Call `session.chat(..., enable_memory=True)` with a fact in one turn, then ask a follow-up question that depends on that fact. (inferred, check the README)"
 ],
 "agent_prompt": "Use the MemTensor/MemT-1.0 repo to start the MemT-1.0-Nano server from /models/<checkpoint-folder> and run the Quick Start chat example. Expected output: a reply that restates the kitten name, age and favorite food from earlier turns. Verify that the answer names facts that were given only in the first message.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "2 hours",
 "basis": "readme",
 "caveat": "The README requires a complete local checkpoint and a CUDA GPU setup, and it notes that the sample replies are illustrative rather than guaranteed output.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "python",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/memtensor-memt-1-0/run-persistent-memory-chat-locally/",
 "md": "https://dedupedai.com/use-cases/memtensor-memt-1-0/run-persistent-memory-chat-locally/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/memtensor-memt-1-0--run-persistent-memory-chat-locally.json",
 "api_version": "v1"
}
