---
title: "Semantic · agent memory · Agent Fieldbook"
url: https://agentfieldbook.org/memory/types/semantic/
description: "Long-term retention of facts, concepts and user preferences for personalization and RAG."
section: "Memory · Types"
source: Agent Fieldbook — generated from the published page
---

# Semantic

Long-term retention of facts, concepts and user preferences for personalization and RAG.

## At a glance

| Field | Value |
| --- | --- |
| Class | Memory layer |
| Scope | Cross-session (facts) |
| Examples | Vector stores· JSON profiles |

## How it works

Two patterns, Profiles: a continuously patched JSON document per user/entity (error-prone as it grows). Collections: an append-only list of facts (easy to add, but the agent must delete/update contradictions to avoid pollution).

## Watch out

Profiles bloat; collections pollute, both need active conflict resolution.

## Basis
