Samuel Arendt

MemPalace puts domain experts inside the software cycle

MemPalace is an open source project for retaining memory across conversations with AI systems. It stores content locally with ChromaDB and SQLite, organizes records through a spatial metaphor, and retrieves context using vector search. The repository also attracted attention for its authors: actor and intensive AI user Milla Jovovich worked with engineer Ben Sigman, assisted by Claude Code.

The story can be reduced to a celebrity building software, but that framing misses the useful part. Jovovich knew the problem from accumulating thousands of conversations and losing continuity between sessions. Sigman could turn requirements, constraints, and behavior into a system. The agent lowered part of the translation cost between them.

This arrangement suggests a working model for domains where relevant knowledge sits far from the development team.

The expert participates before the demo

Traditional projects often collect knowledge through interviews, convert answers into requirements, and return to the expert when a prototype exists. Every transition compresses detail. Ambiguous terms become fields, exceptions disappear, and technical decisions begin to look like domain rules.

When an expert works beside a developer during construction, questions appear when code requires a choice. What counts as a memory? Which information must stay local? Are two similar recollections duplicates or versions? An answer can change the model, retrieval, and interface immediately.

Coding agents help because they make a hypothesis cheap to materialize. Experts can react to concrete behavior without learning the full stack. Developers remain responsible for architecture, data, security, tests, and limits. Participation becomes closer, not equivalent.

That distinction separates collaboration from accepting code without understanding. Fast generation can shorten the cycle between domain knowledge and technical decisions while preserving engineering responsibility.

Local memory is a product choice

MemPalace can run without an API and keeps data in local storage. For personal conversations, that reduces recurring cost and avoids sending complete history to another service. It also transfers responsibility to the user for backups, space, upgrades, encryption, and recovery.

The metaphor of wings, corridors, and rooms may help people understand organization. Vector search decides which records return to context. That mechanism must handle relevance, age, and contradiction. Saving everything does not guarantee correct recall.

Benchmarks such as LongMemEval offer a controlled measure but cannot replace longitudinal use. The project's reported results generated debate about methodology and reranking. Careful evaluation separates the published score from its conditions and checks quality with realistic histories.

A false memory can be more harmful than an omission. Retrieving an old preference as current or mixing different people produces a confident wrong response. Controls to inspect, correct, and delete records matter as much as retrieval scores.

The pattern fits tacit knowledge

Healthcare, law, industrial operations, and support contain experts who know exceptions that are difficult to document. Lack of ideas is rarely the barrier. The problem is converting situational knowledge into rules, data, and interfaces without losing context.

An expert and engineer using AI to prototype can explore those boundaries faster. The process still needs shared vocabulary, anonymized examples, and acceptance criteria. An agent increases the speed of questions; it does not validate a business rule.

Teams should mark the transition from exploration to delivery so a prototype does not become production by accident. Security review, observability, migration, tests, and operational ownership enter at that point. Discovery code may reveal a solution without being the right implementation.

Building a similar collaboration

Begin with a problem lived by the expert and a small set of cases. Instead of requesting complete requirements, build a narrow version and observe where the person says that the answer depends. Those dependencies reveal the domain the software must represent.

Record decisions in the repository in language both participants understand. The agent may consult the material, but it should not be the project's only memory. Tests named after business behavior preserve examples and keep refactoring from erasing an important exception.

Define who decides at each layer. The expert owns fidelity to real work. The engineer owns security and technical sustainability. Product decisions such as retention and consent may require others. AI proposes and executes within those boundaries.

MemPalace is interesting as a tool, but its collaboration offers the more transferable thesis. Keeping the expert inside the construction cycle corrects assumptions before they become architecture. The agent shortens the path; quality still comes from an explicit combination of different competencies.

If your company is weighing something similar, reach me on LinkedIn or WhatsApp.

References

#AI Agents, #Engineering Management, #Radar, #Strategy