deepagents icon indicating copy to clipboard operation
deepagents copied to clipboard

Question about duplicated long-term memory system prompts

Open ouhaochuan opened this issue 1 month ago • 0 comments

Issue Description

I noticed there are two places where long-term memory system prompts are defined:

  1. LONGTERM_MEMORY_SYSTEM_PROMPTin libs\deepagents-cli\deepagents_cli\agent_memory.py
  2. /memories/ section in libs\deepagents-cli\deepagents_cli\default_agent_prompt.md

Both of these seem to serve similar purposes and are passed to the model during execution.

Are these duplicated functionality or do they serve different purposes? If they're different, could you explain the distinction between them?

Files involved

  • libs\deepagents-cli\deepagents_cli\agent_memory.py
  • libs\deepagents-cli\deepagents_cli\default_agent_prompt.md

ouhaochuan avatar Dec 02 '25 01:12 ouhaochuan