Overview
Theargent memory commands let you interact with MemU, the agent’s persistent memory database, directly from the command line.
Commands
argent memory search <query>
Search memories using FTS5 full-text search:
Options
| Flag | Description |
|---|---|
--limit <n> | Max results (default: 20) |
--type <type> | Filter by type (fact, preference, event, etc.) |
--min-significance <n> | Minimum significance score |
--entity <name> | Filter by entity |
--json | Output as JSON |
argent memory stats
Show memory database statistics:
argent memory export
Export memories to a file:
argent memory import
Import memories from a file:
argent memory delete <id>
Delete a specific memory:
--force is passed.
Database Location
The database uses SQLite WAL mode for concurrent read access. Do not modify the database directly while the gateway is running.
FTS5 Search Tips
- Single keywords work best:
infrastructure - Use OR for alternatives:
telegram OR discord - Quotes for exact phrases:
"model router" - Prefix matching:
config* - Strip common stop words for better results
