Skip to main content

memanto policy show

Print the agent’s expiry policy: the per-type retention table, the named rules, and the purge window.
Options:
  • -a, --agent TEXT - Agent identifier (defaults to active agent)
Examples:
Output:
When no policy is set:
Notes:
  • Rules are checked in order; the first match wins and overrides the retention table.
  • The policy file lives at ~/.memanto/policies/<agent-id>.yaml and can be edited by hand.
  • Purge governs deletion of already-expired memories and has no effect on what a sweep expires.
  • Backed by the Get Expiry Policy API endpoint.
  • See the Memory Lifecycle reference.