Agents always lose their memory? An 18-year-old developer has open-sourced a memory system.
Large language models have enabled Agents to perform practical tasks, yet the vast majority of Agents still behave like "goldfish": once the conversation ends, their memory is completely wiped. Preferences users specified last week, contract numbers confirmed last month, and old solutions that became invalid three months ago are either completely unknown to the Agent, or fabricated out of thin air. To address this pain point, 18-year-old independent developer Gu Fengyu open-sourced MindForge, a local memory system that packages the long-term memory of Agents into an encryptable, reproducible, single-file delivered SQLite database. The project is open-sourced on GitHub under the MIT license, with the current version v6.8.2 and 1692 full-scale test cases.
Agent Amnesia, and a Single-File Solution
Agent memory is not a new topic, but the two existing mainstream approaches both have their own flaws. The first is the cloud-hosted solution: it does deliver strong capabilities, but for teams working on private deployment, it requires data to leave the internal network, the token-based billing is uncontrollable, and its internal implementation is a black box. The other approach is to build a vector library by splicing frameworks independently, which can run the code, but there is no credible metric for "how much has been remembered and how many entries are correct", leaving no way to troubleshoot when problems occur.
MindForge takes the third path: local-first, single-machine delivery. All memory is stored in a 98 MB SQLite file, with static encryption for the main text, supporting six-way hybrid retrieval: lexical, full-text, fuzzy, vector, time anchor and other parallel recalls followed by fusion sorting. At the scale of 100,000 entries (about 10 million characters), the median retrieval latency is 3.0 milliseconds. The access side is designed to be plug-and-play: start the MCP service with one line of command, connect 90 tools directly to MCP-compatible clients, and it is equipped with a local Web console and an auxiliary command that outputs integration snippets with one single command.
The problem it aims to solve can be summarized by one proposition: your Agent will remember what you said last month, and will not fool you with facts that became invalid three months ago. The former relies on cross-session persistent memory, while the latter relies on fact version management and conflict invalidation mechanism: after old facts are replaced by new ones, the retrieval layer will actively filter out invalidated content, instead of recalling them as the current status.
From 58.4% to 71.3%: Turning Evaluation into Reproducible Hard Metrics
The popularity of the memory track is half reflected on leaderboards: all parties post high scores, but the number of questions, system boundaries and scoring criteria vary from one to another, making the scores incomparable and barely reproducible. MindForge has invested a considerable part of its engineering resources in "making the figures credible": it has a built-in open evaluation suite that splits the evaluation into three decoupled pipelines: retrieval, generation and scoring. Any memory system, including competing products, can access the same protocol to participate in the test, and the results together with question-by-question records are made public.
On the full 1,986 questions of the academic dataset LoCoMo, MindForge has released a complete improvement trajectory: the bare context baseline is 24.2%, the release caliber reaches 58.4%, it rises to 64.6% after the generation side upgrade of v6.8.2, and further reaches 71.3% under the independent caliber of semantic equivalence scoring. Among them, the most difficult cross-session multi-hop questions have seen the accuracy rise from 12.1% to 42.9%, and the temporal reasoning questions from 40.2% to 67.3%. The team also developed a deterministic evidence recall tool that does not call any large language model, turning the "ceiling of judge scores" into an index that can be recalculated locally: the evidence presence rate on the retrieval side has reached 91%-98%, and the remaining gaps are clearly located in the generation and scoring links, rather than the vague "the model is not good enough".
This kind of deconstruction also extends to its shortcomings: compared with the officially announced 92.5 score of a leading memory product, since the question subset, system boundary and scoring criteria are all different, MindForge explicitly refuses to make unfair horizontal comparisons, but invites anyone to run comparative tests with the same protocol, including results that outperform itself. When contradictions in the scoring criteria for "trap questions" are found during evaluation, the team did not hide them, but documented them as known boundaries.
One Person, Over 8 Months, 1692 Test Cases
The team background of MindForge is quite rare among open source projects: an 18-year-old independent developer with a secondary technical school education, who wrote the code from v1.0 to v6.8.2 all by himself starting from March 2026, with no team and no financing. In more than 8 months, he has accumulated 1692 automated test cases, and all GitHub Actions continuous integration runs pass. The release pipeline is also fully automated: after tagging, the pipeline completes GitHub Release and PyPI publishing automatically.
The current progress focuses on usability: the new version completes the evaluation reproduction pipeline, local console, read-only minimum permission mode and two-minute cross-process demonstration; the next version plans to implement gated secondary proofreading by dataset category and structured arithmetic for temporal reasoning, to continue pushing the judge score towards 75%.
In terms of business model, the project party states truthfully: there is no mature business model yet, no publicly available enterprise customers, and no packaged customer cases. Open-sourced under the MIT license, its exploration direction is local deployment support and industry scenarios that are sensitive to data compliance. Its target users are developers who add persistent memory to customer service robots, personal assistants and automated workflows — teams that need Agents to "remember correctly, retrieve properly and respond accurately" while ensuring data never leaves the internal network.
For a project developed by a single person, splitting the most difficult-to-quantify topic of "memory" into publicly accessible, question-by-question reproducible records is probably more convincing than any high score.