> ## Documentation Index
> Fetch the complete documentation index at: https://trytilde.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Memory and wikis

> Give agents memory banks of short facts they recall across sessions, and wikis of reference pages that people and agents keep up to date.

Tilde gives agents two kinds of knowledge that outlast a session:

* A **memory bank** holds short, durable facts, such as a customer's preferences or how a past support case was resolved. Agents recall facts by search and save new ones as they learn.
* A **wiki** holds longer reference pages in Markdown, such as runbooks and design decisions. People and agents read and edit the same pages.

Agents use both through built-in tools. Tilde adds nothing to the agent's prompt. A memory or a page enters a conversation only when the agent calls a tool to read it.

![A memory bank is filled by agents, by people in the Tilde UI, and optionally by synthesis from conversations and wiki pages.](https://mintcdn.com/tilde/agRVM9stMAJ1UBlz/images/memory-flow.drawio.svg?fit=max\&auto=format\&n=agRVM9stMAJ1UBlz\&q=85\&s=14596ee0d1d881b775ff645d56e335b8)

## Memory banks and wikis compared

| | Memory bank | Wiki |
| - | - | - |
| **Holds** | Short facts, one per memory. | Markdown pages. |
| **Written by** | Agents, people, and [synthesis](https://trytilde.ai/docs/memory/memory-banks.md#synthesis). | Agents and people. |
| **Agents find content by** | Recall: keywords and, optionally, meaning. | Keyword search, exact text or regular expression, and path. |
| **Per person** | A bank can keep each person's memories apart. | Every linked agent sees every page. |
| **Changes** | Kept in each memory's history. | Kept as page revisions. |

## When to use each

* **Use a memory bank** for facts an agent should remember from one session to the next: who someone is, what they prefer, and what worked.
* **Use a wiki** for structured knowledge that people also read and maintain, such as a runbook or a guide.
* **Use both** when a bank should learn from a wiki. Tilde keeps facts from the wiki's pages in the bank, and each recalled fact names the page it came from.

## How an agent gets access

An agent reaches a memory bank or wiki only through a link. An agent with no link gets no memory or wiki tools. Link banks and wikis in the **Memory** and **Wikis** sections of the agent's **Capabilities** tab.

Each link is **Read** or **Read and write**. Read access gives the agent the search and read tools. Read and write access adds the tools that change content.

An agent can also have one bank and one wiki of its own. Tilde deletes them, with everything in them, when it deletes the agent.

If the agent's `tools.invoke` [capability](https://trytilde.ai/docs/iam.md#capability-reference) is set to **Selected**, include the `memory.*` and `wiki.*` tools you want the agent to call.

[Sidecar agents](https://trytilde.ai/docs/deployment/sidecar-agents.md) get these tools too. The data stays in the gateway, never in the sidecar.

In Tilde Cloud and Tilde Enterprise, [operator access](https://trytilde.ai/docs/operator-access.md) controls who can change and link banks and wikis.

## Next steps

> [card] [Memory banks](https://trytilde.ai/docs/memory/memory-banks.md)
>
> Scopes, recall, synthesis, and the memory tools.

> [card] [Wikis](https://trytilde.ai/docs/memory/wiki.md)
>
> Pages, revisions, search, and the wiki tools.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.