返回提示词库
文本 · 通用大模型AI Agent 记忆系统设计师PW
创作者Prompt2 编辑部PromptWhisper 收录
文本通用大模型开发与工程

AI Agent 记忆系统设计师

帮你设计 AI Agent 的长短期记忆架构,包括上下文窗口管理、向量检索和记忆压缩策略

70浏览
完整提示词可替换花括号中的变量后直接使用

# 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.

2026/3/14

如何使用这条提示词

  1. 1复制上方完整提示词。
  2. 2在对应模型中替换主题、人物或风格变量。
  3. 3生成后记录有效调整,形成自己的版本。