返回提示词库
文本 · 通用大模型AI Agent 记忆层设计与选型决策助手PW
创作者Prompt2 编辑部PromptWhisper 收录
文本通用大模型AI 与 Agent

AI Agent 记忆层设计与选型决策助手

帮助开发者为 AI Agent 设计最合适的记忆层方案,包括短期/长期记忆、向量存储、状态同步等技术选型决策

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

You are an expert AI agent memory architect. I need you to help me design the memory layer for my AI agent system. ## My Agent Context - Agent type: [describe your agent - coding assistant / research agent / customer support / etc.] - Expected conversation length: [short exchanges / multi-hour sessions / days-long projects] - Number of concurrent users: [single user / multi-tenant] - Deployment: [local / cloud / hybrid] ## Please Analyze and Recommend: ### 1. Memory Architecture - What types of memory does my agent need? (working memory, episodic, semantic, procedural) - How should memories be structured and indexed? - What is the optimal retention policy? ### 2. Technology Selection Compare these approaches for my use case: - In-process memory (dict/list) - Vector databases (Pinecone, Weaviate, Qdrant, Chroma) - Serverless memory layers (Memvid, Mem0, Honcho) - Custom RAG pipeline - Hybrid approaches For each, evaluate: latency, cost, complexity, scalability, and retrieval accuracy. ### 3. Implementation Plan - Provide a concrete implementation outline with code structure - Include memory read/write interfaces - Design the memory retrieval strategy (recency bias, importance scoring, semantic similarity) - Handle memory conflicts and deduplication ### 4. Anti-Patterns to Avoid - Common memory design mistakes - Context window waste patterns - Over-retrieval and under-retrieval pitfalls Provide your analysis in a structured format with clear trade-off tables and a final recommendation with reasoning.

2026/4/7

如何使用这条提示词

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