← Back to Agent

Agent Memory

Manage the agent's persistent knowledge store — create, search, browse, prune, and decay memories across sessions.

Contents

Overview

For Everyone

Agent Memory is the agent's long-term brain. Without memory, an agent forgets everything between sessions. With memory, it can recall facts about your organization, remember past interactions, learn from mistakes, and build up expertise over time. You can manually add knowledge, search what the agent knows, and clean up outdated information.

For Developers

The Memory section interfaces with these endpoints:

Client-side date filtering and pagination (10 items/page) are applied on top of server-side results.

How It Works

  1. Load — Memories and stats are fetched in parallel. Stats show totals; memories show individual entries.
  2. Browse — Memories appear in a compact grid layout with title preview, category badge, importance level, confidence bar, and date.
  3. Expand — Click any row to expand it and see the full content, source, creation date, last accessed date, tags, and a delete button.
  4. Filter — Use the search box (triggers on Enter), category dropdown, importance dropdown, and date range to narrow results. Category and importance filters trigger server-side re-fetch.
  5. Create — Click "Add" to open a modal where you enter a title, content, category, importance, and tags.
  6. Maintain — Use the prune (trash icon) and decay (clock icon) buttons for automated memory management.

Key Concepts

Memory Categories

Each memory is classified into one of 11 categories, each with a distinct color:

CategoryDescription
Org KnowledgeFacts about your organization — structure, policies, processes.
PreferenceUser or organizational preferences the agent should respect.
Interaction PatternLearned communication styles and behavioral patterns.
ContextSituational context from previous interactions.
SkillCapabilities or techniques the agent has learned.
Processed EmailSummaries of emails the agent has processed.
ProcedureStep-by-step processes the agent should follow.
RelationshipInformation about people and relationships.
ReflectionAgent self-assessment and lessons learned.
Domain ExpertiseSpecialized knowledge in a specific domain.
Error PatternKnown error scenarios and their resolutions.

Confidence & Decay

Every memory has a confidence score (0-100%) shown as a color-coded progress bar:

Decay simulates forgetting. Running decay reduces confidence of memories that haven't been accessed recently by a configurable rate (default 10%). This ensures frequently-used knowledge stays strong while rarely-accessed information gradually fades.

Importance Levels

Stats Bar

The compact stats bar shows four metrics at a glance:

Filtering & Search

Creating Memories

The "Add" button opens a creation modal with:

Memory Maintenance

Warning: Both prune and decay are irreversible operations. Prune permanently deletes entries; decay permanently reduces confidence scores.

Best Practices

Troubleshooting

Search returns no results

Search is server-side and may not support fuzzy matching. Try shorter or more specific search terms. Also check that category and importance filters aren't excluding results.

Memory deleted accidentally

Memory deletion is permanent — there is no undo. The confirmation dialog exists to prevent accidental deletions. If critical knowledge was lost, you'll need to recreate it manually.

Confidence dropping unexpectedly

Someone may have run the decay operation. Check the activity log for decay actions. To prevent this, set important memories to "Critical" importance.

Too many memories slowing down the agent

Large memory stores can slow retrieval. Prune low-confidence and low-importance entries. Consider consolidating multiple related memories into fewer, more comprehensive ones.

Organization Context

When an agent belongs to a client organization, memory is scoped for data isolation:

Can an agent access memories from another organization?

No. When an agent belongs to a client organization, its memory queries are automatically scoped to that organization. This ensures complete data isolation between client organizations.

AgenticMail Enterprise Documentation Report an issue