cd /news/ai-agents/one-knowledge-base-for-your-whole-ai… · home › topics › ai-agents › article
[ARTICLE · art-181048] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

One knowledge base for your whole AI team

A developer behind OwlMem described a shared Markdown knowledge base that multiple AI coding assistants read before answering, so tools like Claude Code and Codex draw on the same deploy steps and decisions instead of separate chat histories. The system exposes kb_write, kb_retain, kb_find and kb_search calls, stores pages as versioned commits, and lets facts carry expiry dates so stale information retires automatically. The developer said the team's own AIs search the knowledge base before starting work and write back what they learn.

recommendation

Add a one-line instruction telling each agent to search the shared knowledge base before reading code or files, then have it write back reusable decisions as short pages or expiring facts.

more in playbook: Designing agent systems
by read5 min views19 publishedDec 3, 2026

You ask Claude Code how the deploy works and it gives you one answer. You ask Codex the same question and it gives you a different one. Neither is lying — each is working from what it saw in its own chat. The deploy steps live in three places: a chat you had last week, a note in another AI's memory, and your head. Every AI on your team is smart, and every one of them is working from a different version of the truth.

The fix is not a better AI. It is one place where the truth lives, that every AI reads before it answers. (Disclosure: OwlMem is our own product — owlmem.com.)

An AI's memory is its chat history. Start a new chat and the decisions from the last one are gone. Use two AIs and each has its own history, its own notes, its own half-remembered version of how things work. You end up as the bridge again: re-explaining the deploy, re-stating the decision, correcting the AI that guessed wrong — the same relay work the shared inbox was supposed to remove.

A shared knowledge base breaks that loop. Decisions, how-tos, and project notes live in one place, in plain Markdown, and every AI connected to your space reads the same pages. When a decision changes, you change one page, and every AI sees the new version next time it looks.

Start with the things you already explain more than once: how to deploy, how to run the tests, which branch to cut a release from, the decision behind a tricky piece of code. One page per topic, short, with the command in it — not a wiki nobody reads, a page an AI can actually use.

Save a page with one call:

kb_write, path=projects/my-app/deploy.md,
  content="# Deploy\n\n1. Merge to main. 2. Run `npm run build`. 3. Deploy from main only — never from a feature branch."

Pages are plain Markdown, and every change is a commit, so a bad edit can be reverted the same way a bad code change can. If you already have a page on the topic, update it instead of writing a second one — two versions of the truth is the problem you are fixing.

Not everything belongs on a page. A version number, a price, a decision with a date on it — these are facts, and facts change. Save them on their own, with an expiry if they have a shelf life:

kb_retain, content="The production deploy runs from main only, decided 2026-11-20."

A fact saved with an expiry retires on its own instead of misleading an AI months later, when the version has moved on. Pages are for how things work; facts are for what is true right now. Keep the two apart and neither goes stale quietly.

A knowledge base only works if the AIs actually read it. The habit is one line, in the instructions each AI already follows: before reading code or files, search OwlMem first.

kb_find, query="how do we deploy my-app"

kb_find searches documents, files, and memory at once, by meaning as well as keywords, so "how do we deploy" finds the deploy page even if it is titled something else. For an exact string — a commit id, an error message, a function name — use kb_search instead. And when an AI learns something reusable — a fix, a gotcha, a decision — it saves it the same way: a short page with kb_write, or a fact with kb_retain. Search first, then save; update the existing page instead of creating a duplicate.

This is the habit our own team runs on. Before starting work, each AI searches the knowledge base and the inbox; when it finishes, it writes back what it learned. The next AI — or the same AI in a new chat — starts from that page instead of from zero.

The test takes two minutes. In one chat, ask an AI to save a note about your project — a deploy step, a decision, a gotcha. Then open a second AI, or a fresh chat with the same one, and ask about the same thing:

kb_find, query="deploy steps for my-app"

If the second AI answers from the page instead of guessing, the memory is shared. If it guesses, the page was never saved, or it was saved under a name nobody would search for — save it again, under the words you would actually use to ask for it. A knowledge base is only as good as its search terms.

Once the habit sticks, the shape of a question changes. You stop asking "how do we do X?" and start asking "is the page on X still right?" — because the answer is already written down, and the AI checked it before it spoke. New AIs join the team already knowing the project: they read the same pages on their first day, instead of spending a week re-learning what the others already know. And when a decision changes, the change lands in one place, and every AI that reads it next is working from the new decision, not the old chat.

Two rules keep it working. First, one page per topic: a duplicate page is a second version of the truth, and the AI may pick the wrong one. Second, retire what is wrong: a fact that is out of date is worse than no fact at all, because the AI will answer with confidence. If a page is wrong, fix it; if a fact has expired, let it retire, or retire it yourself.

Every AI on your team connects to the same OwlMem space. One address for every client:

https://mcp.owlmem.com/mcp
npx -y owlmem install

The installer finds Claude Code, Codex, Grok Build (formerly Cursor), VS Code, Antigravity (formerly Gemini CLI), Claude Desktop and the rest on your machine and connects them all. If you use Claude Code, the OwlMem plugin adds the same tools plus the habit of when to look things up and when to write things down. Full steps are in the docs. Free for two AIs, forever.

You don't need a bigger team to need this. You need two AIs — or one AI and a second chat — and one question you have already answered twice.

── more in #ai-agents 4 stories · sorted by recency
── more on @owlmem 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/one-knowledge-base-f…] indexed:0 read:5min 2026-12-03 · —