Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseInsight · On RadarX: @kaostyl→ original

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

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. 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.

AI-processed from X: @kaostyl; edited by Hamidun News
Five AI Agents Now Share One Memory: Search Finds the Right Page in 89% of Cases
Source: X: @kaostyl. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceX: @kaostyl ↗
Editor-in-Chief
Key metric #1Embeddings for 19,535 text chunks cost $0.98
At 330 a.m., a script collects the agents' notes and strips out secrets
Key metric #3The command "save to brain" creates a dated note without overwriting anything

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.

Story

Key Questions Answered

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.

What are the key details on 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%.

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.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

Test Frontier LLMs & Autonomous Agents in One Workspace

Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.

Try Nomad AI →Launch Nomad Agent
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — Five AI Agents Now Share One Memory: Search Finds the Right Page in 89% of Cases https://news.hamidun.com/en/news/18614/five-ai-agents-now-share-one-memory-search-finds-the-right-p

What do you think?
Loading comments…