Skip to main content

Core Concepts

Understanding these concepts will help you get the most out of Aegis Memory.

Memory

A memory is a single piece of information stored in Aegis. Each memory has:

Memory Types

Scope

Scope controls who can see a memory:

Namespace

Namespace provides logical separation between projects or tenants:
Memories in different namespaces are completely isolated.

Agent ID

Agent ID identifies which agent created or owns a memory:

User ID

User ID associates memories with specific users:

Embeddings

Aegis converts memory content into embeddings (vector representations) for semantic search:
When you query, your query is also embedded, and Aegis finds memories with similar vectors:

Effectiveness Score

For ACE patterns, memories have an effectiveness score:
  • Score > 0: Memory has been helpful
  • Score < 0: Memory has been harmful
  • Query with min_effectiveness=0.3 to get only proven strategies

Sessions

Sessions track progress across context windows:

Features

Features prevent premature task completion:

Runs

Runs track agent task execution end-to-end, linking memories used to outcomes:
On success, memories used get “helpful” votes. On failure, they get “harmful” votes and a reflection memory is created automatically.

Curation

Curation periodically cleans up the memory playbook:
Together, Runs + Curation form the complete ACE loop: Generation -> Execution -> Reflection -> Curation.

Quick Reference

Next Steps

Quick Start

Install and run your first query

ACE Patterns

Self-improving agent patterns