跳转至

title: apogee-ai-memory description: Layered memory for agents: short-term, episodic, semantic and procedural.


apogee-ai-memory

Layered memory for agents: short-term, episodic, semantic and procedural.

This page is being expanded

The tables below are generated from the package source, so they are accurate. Narrative guides and worked examples are being written module by module.

Public API

Everything below is exported from the package root, so from apogee_ai_memory import X works for each name.

Layer Symbols
Application · DTOs ConsolidateDTO, ForgetDTO, RecallDTO, RememberDTO
Application · Use cases ConsolidateMemoryUseCase, ForgetUseCase, ListMemoriesUseCase, ProfileUserUseCase, RecallUseCase, RememberUseCase
Domain DecayCurve, EmbeddingVector, MemoryHit, MemoryKey, MemoryProfile, MemoryQuery, MemoryRecord, MemoryScope, ReflectionResult, RetentionPolicy
Domain · Enums MemoryType
Domain · Exceptions EmbedderUnavailableException, MemoryAccessDeniedException, MemoryError, MemoryNotFoundException, MemoryStoreUnavailableException, ReflectionFailureException
Domain · Protocols (ports) IMemoryDecay, IMemoryEmbedder, IMemoryReflection, IMemoryStore
Infrastructure BridgedEmbedder, ExponentialDecay, HashingEmbedder, InMemoryMemoryStore, JsonMemoryStore, LLMReflection, LettaAdapter, LinearDecay, Mem0Adapter, MemoryStoreRegistry, NoneDecay, SqlMemoryStore, SummaryReflection, ZepAdapter

Install

Bash
pip install apogee-ai-memory

The base install has no required third-party dependency. Each extra unlocks one adapter.

Extra Pulls in
mem0 mem0ai>=0.1.30
letta letta-client>=0.1
zep zep-cloud>=2.0
pgvector sqlalchemy>=2.0, asyncpg>=0.29, pgvector>=0.3
sqlite sqlalchemy>=2.0, aiosqlite>=0.20
all mem0ai>=0.1.30, letta-client>=0.1, zep-cloud>=2.0, sqlalchemy>=2.0, asyncpg>=0.29, pgvector>=0.3, aiosqlite>=0.20

CLI

Installed as a console script, and registered as an apogee plugin so the same subcommands work under the global binary.

Bash
apogee-memory --help