Shared memory for local AI agents: EverOS, Hindsight, and what to test

How EverOS and Hindsight approach persistent agent context, and how to test handoffs, corrections, project isolation and operating cost.

A coding agent records why a dependency cannot be upgraded. A second agent starts a fresh session, sees only the requested feature, and proposes the same upgrade again. Shared memory should carry the reason across that handoff, along with its source and the project it belongs to.

That is a useful problem for a local AI setup. It is also more demanding than saving every conversation. A useful memory system must retrieve relevant information, accept corrections, and keep unrelated projects apart. This guide compares documented approaches in EverOS and Hindsight and proposes a small evaluation. It is research and a test plan, not a report of running either product on our hardware. We checked the product details below against each project's own documentation on December 2, 2026, when the current releases were EverOS 1.8.0 and Hindsight 1.3.1.

What shared memory means here

Shared agent memory is durable context that more than one authorized agent or session can retrieve. It might contain a project constraint, an earlier failed approach, or a preference that remains relevant after the conversation ends.

It is separate from a model's context window and its GPU KV cache. The context window holds the material available for a particular inference; KV caching reuses attention computation. An external memory service selects information to put into that context. Installing one does not increase GPU memory or guarantee that the model uses a retrieved fact correctly.

It also does not assign tasks or grant tool permissions. A retrieved note saying a deployment was once approved is historical evidence; the application still needs to establish whether the current action is authorized.

EverOS: inspectable files with derived search indexes

EverOS describes a local-first Python memory runtime. Its storage documentation makes Markdown with frontmatter the authoritative memory content, with SQLite for operational state and LanceDB for retrieval indexes. The documentation describes those indexes as rebuildable from the memory files. That makes inspectability and portability a central part of its design. EverOS storage documentation

Its overview targets personal agents and small teams and lists hybrid retrieval and index synchronization. It explicitly places large multi-tenant and distributed deployment outside its stated v1 scope. That is worth checking before interpreting a shared-memory feature as a ready-made enterprise tenancy service. EverOS overview

For a homelab operator, the practical question is how a file correction becomes visible to another agent. The storage documentation says editing a memory file directly is supported and that a background process re-indexes the changed entry. It also says search is eventually consistent: the index usually catches up in under a second, can take about 10 to 15 seconds under load, and a search made right after a write may miss the new record. Measure that interval on your own setup instead of assuming immediate consistency. EverOS consistency model

Hindsight: retain, recall, and reflect

Hindsight exposes three core operations: retain ingests information, recall retrieves it, and reflect uses memory for reasoning. Its README says retain uses a language model to extract facts, entities and relationships, and that recall runs semantic, keyword, graph and time-range searches in parallel before reranking the results. The project documents self-hosting with Docker or pip, client libraries for Python, Node.js and Go, and integrations for coding agents. Those interfaces offer a useful way to separate ingestion work from the retrieval and reasoning a task actually needs. The company behind it, formerly Vectorize, now goes by Hindsight AI, and the repository has moved from the vectorize-io organization to hindsightai on GitHub. Hindsight repository

The authors' ACL 2026 system demonstration paper describes separate networks for world facts, experiences, observations, and opinions, with a retrieval pipeline combining several search methods. The current README lists world facts, experiences, observations and mental models instead, so check the documentation for the version you install. Those are architectural descriptions from the authors, not evidence that every installation will resolve contradictions correctly. Hindsight paper

For an evaluation, ask whether a simple factual handoff needs recall alone. Then test reflect separately for questions that require synthesis. Combining the two into one timing number would hide where latency and model usage arise.

Compare the workflow you need

QuestionWhat to inspect
Can an operator inspect and correct retained information?Source records, supported edit path, and retrieval after correction
Can another session reuse it?A fresh client with the intended identity and scope
Can projects stay separate?Authorization checks and deliberately conflicting records
What does it cost to remember?Extraction, embeddings, retrieval, reflection, storage, and model tokens
Can it be recovered?A restore test and the behavior of rebuilt indexes

A namespace, project label, or memory-bank name is not by itself proof of access control. Test the server's behavior with a client that lacks access, including direct identifiers where the supported API permits them. The application must enforce the intended boundary.

Self-hosted storage also does not prove that all processing stays local. Both projects call language models. EverOS's quick start uses an OpenRouter API key, its embedding and reranking models are separate settings, and its README says any OpenAI-compatible model can replace the defaults; Hindsight's server takes an LLM provider setting whose documented options include hosted services and local runtimes such as Ollama, LM Studio and llama.cpp. Inventory every configured extraction, embedding, reranking, and generation provider. For a local-only experiment, verify those routes and outbound behavior before loading anything sensitive. Do not infer that your GPU is supported from an HTTP API or a container image; that depends on the chosen model-serving stack and its supported operations. EverOS README

A small experiment that can expose useful failures

Use synthetic project records, not real conversations. Create two projects with intentionally similar names and different release constraints. Put the correct project, source ID, effective date, and expected answer in a separate answer key that the answering model cannot retrieve.

Prepare 30 handoff questions: ten direct facts, ten facts corrected later, and ten questions whose answer must not cross the project boundary. The ten boundary questions remain answerable from the authorized project alone; put distinctive synthetic facts only in the other project as leakage canaries. Count exposure in either retrieved context or the final answer as a disclosure, including paraphrases confirmed by human review. Add ten unanswerable questions to test whether the agent admits missing information. Freeze the records and questions before running.

Compare four arms: no persistent memory; a maintained project Markdown summary supplied in context; EverOS; and Hindsight. Use the same answering model, prompt, token budget, and workload. Record the actual configurations and the context each arm retrieves. This tests complete configured systems; if their extraction or embedding models differ, it does not isolate the storage engine.

Run three independent fresh-state repetitions per arm, preserving ingestion failures and every answer. Separate write acceptance, searchable readiness, retrieval, and answer completion timestamps. For asynchronous processing, report both the delay until ready and the steady-state answer time. An immediate post-write miss is a finding, not a reason to silently wait and rerun.

Score direct and corrected answers against the frozen key, inspect source attribution, count unsupported answers, and record cross-project disclosures. Report latency distributions, model tokens, storage growth, and failed requests separately. With a small synthetic corpus, descriptive results are more useful than claims of general superiority.

The proposed adoption gate is concrete: no cross-project disclosures in this suite, at least nine of ten corrected facts answered using their current values, and at least eight of ten unanswerable questions handled without an invented answer, in every repetition. For each memory product, require at least a ten-percentage-point improvement over the maintained Markdown-summary arm on the same fixed 30 handoff questions in each repetition. Report raw counts and variability; these are engineering thresholds, not established product capabilities or a statistical power calculation.

Predeclare the acceptable latency and token budget for the intended application before execution. A system that recalls more facts but makes every coding interaction too slow may fail that application's gate. If the summary baseline already works well, additional infrastructure needs another demonstrated benefit.

Corrections, deletion, and recovery deserve their own checks

Change a project's deployment rule, retrieve the old and new records through supported controls, and ask which rule applies now. Preserve the old rule's historical meaning without treating it as current permission.

Next, delete a synthetic record using the documented lifecycle, then check supported retrieval and derived summaries for residual information. Record what the deletion contract covers; deletion from live retrieval does not establish removal from backups.

Finally, restore into an isolated test instance and repeat the same queries. A backup file existing is not proof that memory and its access boundaries can be recovered.

Start with one handoff

The first useful deployment is a narrowly scoped workflow: one project, two authorized clients, and a small set of decisions worth remembering. Expand only after correction, retrieval, isolation, and recovery behave as intended.

EverOS's file-centered design and Hindsight's explicit memory operations provide different starting points. The useful comparison is whether either makes your agents more accurate at an acceptable operating cost. A reproducible failure or a strong Markdown baseline would be valuable results too.