Skip to content

Ask the HotKV docs

Answers come only from these docs and can be wrong; check the linked pages before you rely on them.

AMEM.SUMMARY.LIST

Last updated
AMEM.SUMMARY.LIST
Group
Agent memory
Complexity
O(N) where N is the number of summaries
Arity
1 (exactly, counting the command name)
Flags
read-only, fast
HotKV Cloud
Performance and Scale
On-Premise
requires the amem-summary license feature

Agent summaries keep one rolling, versioned text summary per agent, so a long-running agent can carry a compact summary in its prompt instead of its whole history. AMEM.SUMMARY.LIST returns the agent ids that have a summary on the server you are connected to, in no particular order. In a cluster, each node lists only the summaries it holds.

Case RESP2 RESP3
Always Array of bulk strings (empty if there are none) Same

Errors:

  • ERR wrong number of arguments for 'amem.summary.list' command if the argument count is wrong.
  • NOLICENSE amem-summary requires a HotKV license. Contact sales@hotkv.com if your license does not include the amem-summary feature.
127.0.0.1:6379> AMEM.SUMMARY.LIST
1) "agent-42"

HotKV-only command. Redis and Valkey have no equivalent.

AMEM.SUMMARY.SET, AMEM.SUMMARY.APPEND, AMEM.SUMMARY.GET, AMEM.SUMMARY.DROP, AI features guide