--memory flag and memory command enable persistent memory for agents, allowing them to remember context across sessions.
Install requirement: most
praisonai memory subcommands (show, list, add, search, clear) require pip install praisonai (the full wrapper). On a standalone pip install praisonai-code install they exit 1 with memory requires the full wrapper. Install the full wrapper: pip install praisonai โ a single-line hint, no Rich traceback (PR #2854). The native memory learn subcommand stays standalone-safe (see the Tip below).Quick Start
Show Memories

Use Memory Flag

Usage

Enable Memory
Memory Commands
Show Memory
List Memories
memory list is an alias for memory show โ same output, added for parity with tools list, session list, and config list.
memory show and memory list accept the same flags:
Add Memory
Search Memory
Clear Memory
memory clear and memory clear all prompt for confirmation, matching the memory learn clear sibling commandโs flow:
An unknown target (anything other than
short/all) exits 2; aborting the prompt exits 1 with nothing cleared.
Session Management
Checkpoints
Help
Memory Types
How It Works
- Capture: Agent extracts important information from conversations
- Categorize: Information is sorted into memory types
- Store: Memories are persisted to storage
- Inject: Relevant memories are injected into future conversations

