Skip to main content

Overview

The argent 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:
Output:

Options

argent memory stats

Show memory database statistics:
Output:

argent memory export

Export memories to a file:

argent memory import

Import memories from a file:
Importing merges with existing memories. Duplicates are detected by content hash and skipped.

argent memory delete <id>

Delete a specific memory:
Requires confirmation unless --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