MemoryBear: an AI memory that knows what expired

Summary

MemoryBear is an open-source memory engine for AI systems: every fact carries a time and a source, and a conclusion you overturned steps down on its own.

Recommend
Name
MemoryBear
Version
0.5.6
Open source
Open source
Operating system
WindowsmacOSLinux
Updated
2026-11-29 14:15

Most assistants remember yesterday and forget that you changed your mind three months ago. MemoryBear works on the second half: every memory carries a time and a source, and expired ones step down on their own.

MemoryBear is an open-source memory engine for AI systems, a developer tool from the team behind Hongxiong AI in Shanghai, published under Apache 2 and able to run on Windows, macOS and Linux or on a server shared across an intranet. It writes no prose itself; before the model speaks, it fetches what ought to be recalled and hands it over. The community edition is 0.5.6, released on 18 November 2026.

What it manages is not chat history but which version still counts

Dumping every past conversation into a vector store is the cheapest route and the easiest way to fail. A plan agreed three months ago was later overturned; both passages sit in the index, retrieval pulls them out with equal weight, and the model wobbles between two versions.

MemoryBear cuts memory into three layers. Working memory serves the current step only, filters out pleasantries and filler, and keeps entities, times, constraints and confidence. Short-term memory catches what survives the filter, then merges duplicates and checks conflicts in the background.

Long-term memory settles into a spatiotemporal semantic graph, where each entry carries a timestamp, a source and a version.

With all three in place, the system can say which entry is void. Edits leave a trace, and a conclusion can walk back through the graph to the sentence it came from: who said what, and when. That matters more than volume. The expensive mistake inside a company is rarely forgetting; it is acting this year on the conclusion of last year.

Long-term memory laid out as a graph you can walk back through
Long-term memory laid out as a graph you can walk back through

0.5.6 draws the reasoning as a picture

The visible change in this release is the prediction graph. Where the system used to hand over a verdict, it now spreads nodes and relations across a canvas: which factors entered the reasoning, which path it took, where it landed. The same release adds a persona anchoring card, shown on its own when the engine detects an anchoring event, and trims the cost of entity deduplication during reflection.

The value of such work shows up in diagnosis. When a memory system misbehaves, the first question is why it answered that way rather than how many entries it holds. A picture turns an argument into a reconciliation.

A second retrieval path: FAQ attached to the knowledge base

FAQ retrieval opens to workflows and to a single agent in this version, selectable per knowledge base and usable alongside text retrieval. Permissions, review status, enable rules, reranking and result caps still apply, and changing the retrieval mode does not discount them. For a support desk or an internal question desk, this path is steadier than pure semantic search: both question and answer were written by a person, so nothing depends on how a model interprets them.

Two fixes landed on the knowledge base side. Uploads now reject files with duplicate content even when the filenames differ, and a failed item in a batch upload is recorded on its own instead of taking the rest down with it. A wiki topic that used to merge wrongly because of whitespace handling is fixed as well.

Agent clusters travel without losing a slice of config

An exported cluster now packs the sub-agents it references, including those a supervisor agent points at. Import rebuilds the dependencies and restores the references, so a target environment no longer goes live with a silent gap where a step should be. The community marketplace gained official sample skills and MCP tools, which means a common scenario can be installed and edited rather than built from nothing.

What it costs to stand up

The recommended path is Docker Compose. Four pieces of middleware are required: PostgreSQL for structured data, Neo4j for the graph, Redis for caching and Elasticsearch for keyword search. The host needs Python 3.12, since 3.13 and later do not run yet, and Node 20.19 or 22.12 and above. Compose listens on port 8002 by default and a manual start uses 8000. After installation, call the initialisation endpoint once for a super administrator account, then fill the database connection and the model key into the environment file.

Four middleware services make the positioning plain: this is for teams and intranets, not a desktop toy you double-click. Anyone wanting to try it on a personal machine has to accept the upkeep of a small service stack first. The project also ships a lightweight plugin and skill for common AI clients, and that route is far cheaper if you only want to see how the memory behaves.

The management and retrieval entry points on the platform side
The management and retrieval entry points on the platform side

Version, licence and published numbers

As of November 2026 the repository holds 10.2k stars, 895 forks and 8689 commits on the main branch. Figures from the team put LongMemEval at 95 percent and LoCoMo at 91.54 percent, with the evaluation scripts and result data in a public repository. Both figures are vendor-run, and the reproduction conditions are spelled out in more detail than a bare number, which makes them more checkable, though they remain self-reported.

Paid editions run in parallel: the site lists pricing, the enterprise edition targets private deployment and sensitive settings, and what went open source is the core engine. A team that wants the result without maintaining four middleware services can start with the hosted option; a team that wants memory inside its own racks can stand up its own copy.

Benchmark results for long-term memory, as the team published them
Benchmark results for long-term memory, as the team published them

If the problem you are stuck on is an assistant that remembers too much and remembers the wrong version, MemoryBear earns an afternoon of installation. If all you want is a chatbot that recalls how you take your coffee, this is plainly too heavy.

MemoryBearDownload
Supported systems: Windows macOS Linux