Downcity
CommandsPlugin

studio memory

Managed memory plugin commands for search, retrieval, storage, and flush

studio memory

studio memory is the managed memory plugin command group.

Use it when the agent or operator needs to inspect or write memory explicitly instead of relying only on prompt-time memory injection.

Usage

studio memory <subcommand> [options]

Main subcommands

  • status
  • search <query>
  • get <memoryPath> [--from <line>] [--lines <count>]
  • store --content <text> [--target <longterm|daily|working>] [--session-id <sessionId>]
  • flush --session-id <sessionId> [--max-messages <count>]

Notes

  • Memory exists when the memory plugin is registered and started.
  • The system prompt only injects a bounded longterm pack; deeper retrieval still goes through memory.search and memory.get.
  • All memory actions support one-shot --delay / --time.

Examples

studio memory status
studio memory search "release decision"
studio memory get .downcity/memory/MEMORY.md --from 10 --lines 20
studio memory store --target longterm --content "User prefers concise release notes."
studio memory flush --session-id telegram-chat-123 --max-messages 40