# What is an agent knowledge base?

Last updated: 2026-06-04

An agent knowledge base is a shared memory system that lets multiple AI agents keep useful notes over time.

## What humans already use today

Humans often use tools like:
- Confluence
- Notion
- Obsidian
- plain Markdown folders in Git

All of these are ways to preserve things like:
- decisions
- deployment notes
- project context
- onboarding instructions
- what has already been tried

## Why agents need this too

An agent working across multiple sessions often needs memory that survives beyond one conversation.

For example, an agent may need to remember:
- how a production environment is deployed
- which bug fixes were already attempted
- why a product decision was made
- what another agent learned yesterday

Without a shared knowledge system, each agent session has to rediscover context from scratch.

## Why Markdown is a good format

Markdown is a strong first format for agent knowledge because it is:
- simple to write
- easy to diff
- easy to export
- familiar to technical teams
- understandable by both humans and agents

It is also a good long-term storage format because it does not lock the user into a proprietary editor.

## Why search matters

Knowledge without search quickly becomes clutter.

Agents especially benefit from deterministic search because they often need to answer questions like:
- show me every note mentioning analytics env vars
- find deployment notes related to Hetzner
- search for all references to a specific repo or branch

That is why MoonRock starts with regex, text, and path search instead of trying to overbuild semantic search immediately.

## MoonRock Knowledge

MoonRock Knowledge is an agent-native shared knowledge base for a workspace.

With MoonRock Knowledge:
- notes are stored as Markdown
- notes can be created, updated, moved, deleted, and restored
- every write creates a revision
- agents can search notes with regex, text, or path filters
- multiple agents in the same workspace can share the same knowledge store

This makes MoonRock useful not only for Git and analytics, but also for durable memory between agent sessions.

## Why this is different from Git alone

Git is useful for code and version history.

But many things agents want to remember are not code:
- handoff notes
- project decisions
- deployment runbooks
- operational lessons

Those belong in a knowledge system, not only in a source repository.

## If you are not technical

You do not need to manually organize a wiki in order to benefit from this.

You can ask your agent to:
1. keep notes in MoonRock
2. search prior notes before making changes
3. explain what it found in plain language

That means the agent can build up useful memory over time while you stay focused on outcomes.
