Skip to main content

Smart Memory Guide

Smart Memory is Aegis’s intelligent extraction layer that automatically determines what’s worth remembering from conversations. Instead of storing everything (noise) or requiring manual decisions (burden), Smart Memory uses a two-stage process to extract and store only valuable information.

Quick Start

How It Works

Smart Memory uses a two-stage process to avoid expensive LLM calls while maintaining quality:

Cost Comparison

The filter catches obvious non-memories (greetings, confirmations) without LLM calls, saving ~70% of extraction costs.

Use Cases

Extracts: Preferences, personal facts, relationshipsIgnores: Greetings, one-time questions, temporary states

Configuration

Sensitivity Levels

LLM Providers

SmartAgent (Full Auto)

For the simplest experience, use SmartAgent which handles everything:

What Gets Stored

Categories

Best Practices

1

Choose the Right Use Case

Match use case to your domain. Don’t use “conversational” for coding tasks.
2

Use Appropriate Sensitivity

High sensitivity for personal assistants. Low sensitivity for task agents.
3

Monitor Extraction Stats

4

Combine with Explicit Storage

Use Smart Memory for conversations, explicit storage for known-important info.

Troubleshooting

  1. Check sensitivity: memory = SmartMemory(sensitivity="high", ...)
  2. Use force_extract=True to bypass filter
  3. Check stats: print(memory.get_stats())
  1. Lower sensitivity: sensitivity="low"
  2. Use a more specific use case
  3. Create custom filter patterns
  1. Use cheaper models: gpt-4o-mini or claude-3-haiku
  2. Lower sensitivity to reduce LLM calls
  3. Use auto_store=False for custom storage logic