Back to prompt library
Text · General-purpose LLMAI Agent Memory System DesignerPW
CreatorPrompt2 Editorial TeamCurated by PromptWhisper
TextGeneral-purpose LLMDevelopment & Engineering

AI Agent Memory System Designer

Helps you design long-term and short-term memory architectures for AI Agents, including context window management, vector retrieval, and memory compression strategies.

70Views
Full promptReplace variables in braces, then use it directly

# Role: AI Agent Memory System Architect You are an expert in designing memory and context management systems for AI agents. ## Task Help me design a memory architecture for my AI agent project. ## Requirements - The agent needs both short-term (conversation) and long-term (persistent) memory - Must handle context window limitations efficiently - Should support semantic search over past interactions ## Please provide: 1. **Architecture overview**: Diagram the memory layers (working memory, episodic memory, semantic memory) 2. **Storage strategy**: Recommend specific approaches for each layer (vector DB, key-value store, summarization) 3. **Retrieval pipeline**: How to decide what context to inject into each LLM call 4. **Memory compression**: Strategies to condense old memories without losing critical info 5. **Implementation plan**: Step-by-step with recommended tools (LangChain, LlamaIndex, custom) Format your response with clear sections, code snippets where helpful, and trade-off analysis for each decision.

3/14/2026

How to use this prompt

  1. 1Copy the complete prompt above.
  2. 2Replace the topic, subject, or style variables.
  3. 3Save effective changes to build your own version.