TokenMizer Uses Graph Memory to Give LLMs Persistent Context Across Sessions
A developer has built TokenMizer, an open-source proxy tool that sits between applications and OpenAI-compatible APIs to give large language models persistent memory across sessions. Unlike conventional approaches that re-inject full chat histories into the context window, TokenMizer extracts entities and relationships from conversations and stores them as a graph using SQLite. The system requires no changes to existing application code — developers simply redirect their API base URL to TokenMizer instead of OpenAI. A built-in visual explorer powered by D3.js lets users inspect the memory graph and trace how past context is being retrieved. TokenMizer is available as a pip-installable Python library and also supports the Model Context Protocol, allowing the same memory graph to be accessed across different tools and editors.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in