---
id: 18614
lang: en
title: "Five AI Agents Now Share One Memory: Search Finds the Right Page in 89% of Cases"
published_at: "2026-11-29 08:31:49"
source_name: "X: @kaostyl"
source_url: "https://x.com/kaostyl/status/2126692602967957928"
canonical_url: "https://news.hamidun.com/en/news/18614"
categories: ["research", "autonomous"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# Five AI Agents Now Share One Memory: Search Finds the Right Page in 89% of Cases

> **Краткая суть (BLUF):** Five AI agents on three machines had no idea what the others were doing, so the author built them a shared wiki of markdown files in Obsidian. Across 66 test questions, hybrid search, which combines keyword and semantic matching, put the correct page first in 59 cases (89%). Keyword search alone managed 52 (79%). For anyone running several agents, investing in shared memory may pay off more than choosing a particular model.  - Embeddings for 19,535 text chunks cost $0.98 - At 3:30 a.m., a script collects the agents' notes and strips out secrets - The command "save to brain" creates a dated note without overwriting anything  The setup is unusually practical. Everything lives in plain markdown files, nothing is locked in a proprietary database, and no existing note is ever overwritten.

When you have one AI assistant, memory is not a problem: it remembers its own chat. When you have five agents, confusion sets in. One made an architectural decision yesterday, a second proposes the opposite today, and a third has no idea you already worked through this bug. The author of the post, @kaostyl on X, took his cue from Andrej Karpathy's idea of an "LLM wiki": a knowledge base made of ordinary text files that the models themselves can work with. He built a shared Obsidian wiki for Claude, two Hermes agents, Codex and ChatGPT. Tested on 66 questions, hybrid search, which matches both keywords and meaning, ranked the correct page first in 59 cases, roughly 89%. Keyword-only search managed 52 cases, about 79%.

## How the shared memory works

The author runs five agents on three machines. Previously, each lived in its own little world. Now they share a common "head," assembled from down-to-earth parts:

- a single Obsidian vault, simply a folder of markdown files, with no database and no closed formats;
- every night at 3:30, a script goes through the agents and collects what they recorded: memories, documents, decisions. It also strips out all secrets, so keys, tokens and passwords never reach the shared memory;
- an AGENTS.md file tells any agent how to read the wiki and how to update it. It works like onboarding instructions for a new employee, written for a model;
- Syncthing copies the vault to all three machines, and only within the local network;
- an MCP server gives any agent search over the wiki, by keyword and by meaning.

If you tell any agent "save this to the brain," it drops a dated note into the inbox. Nothing gets overwritten, so one agent cannot erase another's work.

## The numbers: cost and search accuracy

The most interesting figure here is cost. Embeddings (numerical "fingerprints of meaning" used to find similar text) for 19,535 chunks cost the author $0.98. Indexing an entire personal archive costs less than a dollar.

The author tested search quality on 66 questions. Hybrid search put the correct page first in 59 of 66 cases, about 89%. Keyword-only search managed 52 cases, about 79%. A ten-percentage-point gap sounds modest, but in practice it means roughly one question in ten where an agent would otherwise pull the wrong page and cite it confidently.

A caveat is needed: this is one person's experiment on his own data. 66 questions is a small sample, the scoring criteria are not disclosed in the post, and there is no independent verification. The numbers should not be transferred directly to a corporate knowledge base.

## What to take away

First, agent memory does not have to be complex infrastructure. Plain markdown files can be read by a human, stored in git or Obsidian, and easily corrected by hand if an agent writes something wrong. That is a clear advantage over an opaque vector store.

Second, nightly consolidation is a useful pattern. Instead of syncing agents in real time, the author gathers everything in one place once a day. That is cheaper and easier to debug, and it provides a natural moment to scrub secrets.

Third, the "inbox instead of overwrite" rule is worth borrowing. When several agents write to one store, conflicts are inevitable. Separate dated notes turn a conflict into an ordinary review: a human or a curator agent later decides what to merge.

Fourth, hybrid search pays for itself almost for free. If you already have full-text search, adding embeddings costs pennies and improves accuracy.

The author's conclusion: the model matters less than the memory. Debate is possible, since model quality still determines what an agent does with the page it finds. But for anyone running several agents at once, the argument holds up: swapping Claude for another model is easier than rebuilding months of lost context. If you are building a multi-agent setup, start with a shared store, writing rules and search, and only then choose which model will use them.

---
- **Первоисточник:** [X: @kaostyl](https://x.com/kaostyl/status/2126692602967957928)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/18614
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
