# Memory

> Memory is the view in AgentForge that holds a project's lasting knowledge. Memory shows the Markdown notes in the .forge/memory folder and the [[wikilink]] links between them as a graph, with a backlink panel, a note editor and a hybrid search that works offline. Agents read and write the same notes through the memory tools.

- Canonical: https://www.zekfy.com/agentforge/features/memory/
- Türkçe: https://www.zekfy.com/tr/agentforge/ozellikler/memory/
- Last updated: 2026-12-04
- Module: Notes you and the agents share
- Shortcut: `Ctrl+M`

Project memory shared by you and the agents

## Notes and the graph

AgentForge memory consists of plain Markdown files: each note is a file in the .forge/memory folder and links to other notes with the [[note-name]] syntax. The Memory view draws those links as a force-directed graph and lists the notes that link to the selected note in the backlink panel.

Notes carry a type, stored with its Turkish value: karar (decision), kural (rule), mimari (architecture), hata (bug), sözlük (glossary), görev (task) and kişi (person). The type, tags and related file paths are kept in the note's front matter.

## How agents use memory

Agents reach memory through seven [MCP](https://www.zekfy.com/glossary/#mcp) tools. Before starting a task, memory_recall returns a ranked short summary of the relevant notes, and why they matched, based on the work to be done and the files to be touched. An agent records lasting lessons with memory_write and links notes to each other with memory_link.

memory_forget does not delete a note permanently: it moves the note to the .forge/memory/.trash folder, from which it can be recovered.

- memory_list, memory_read, memory_search, memory_recall: reading and search.
- memory_write, memory_link, memory_forget: writing, linking and removal.
- A note holds at most 20,000 characters of Markdown.

## Offline hybrid search

Memory search blends keyword matching with a local vector similarity based on character trigrams. The search uses no external model and makes no network request; it works offline and immediately. Results are ranked by match score.

## The note editor and conflict protection

Notes are edited in the editor inside the Memory view. If an agent updates a note with memory_write while the user is editing it, AgentForge shows a "file changed on disk" warning and keeps the user's draft; the user can choose to load the version on disk.

## At a glance

- **Name in the app menu:** Project memory
- **Storage:** <project>/.forge/memory/*.md
- **Note types:** karar (decision), kural (rule), mimari (architecture), hata (bug), sözlük (glossary), görev (task), kişi (person)
- **Agent tools:** memory_list, memory_read, memory_write, memory_recall, memory_search, memory_link, memory_forget
- **Search:** keyword match plus character-trigram vector, offline

## Questions about Memory

### Where is AgentForge memory stored?

AgentForge memory is stored as Markdown files in the project's .forge/memory folder. Notes are not sent to a server; the files stay inside the project and can be committed to git. The notes can also be opened in any text editor.

See also: [Memory and skills](https://www.zekfy.com/docs/memory-and-skills/), [Memory note](https://www.zekfy.com/glossary/#memory-note), [The .forge folder](https://www.zekfy.com/glossary/#forge-folder)

### Does memory search use an AI model?

No, AgentForge memory search does not use an external model. The search blends keyword matching with a local vector similarity based on character trigrams and runs entirely on the computer, offline.

### Can an agent delete a memory note?

An agent can remove a note from memory but cannot delete it permanently. The memory_forget tool moves the note to the .forge/memory/.trash folder, from which it can be restored.

See also: [Memory and skills](https://www.zekfy.com/docs/memory-and-skills/)

## Related feature pages

- [Editor](https://www.zekfy.com/agentforge/features/editor/): Read and fix what agents changed
- [Swarm](https://www.zekfy.com/agentforge/features/swarm/): A team with a coordinator and reviewers
- [Office](https://www.zekfy.com/agentforge/features/office/): Where you give the command

- Previous feature: [Metrics](https://www.zekfy.com/agentforge/features/metrics/)
- Next feature: [Editor](https://www.zekfy.com/agentforge/features/editor/)
- [All features](https://www.zekfy.com/agentforge/features/)
