返回提示词库
文本 · 通用大模型AI Agent Swarm 自学习多智能体协作系统设计PW
创作者Prompt2 编辑部PromptWhisper 收录
文本通用大模型AI 与 Agent

AI Agent Swarm 自学习多智能体协作系统设计

设计一个基于 Swarm 架构的多 Agent 自学习协作系统,包含任务路由、智能体通信协议、记忆共享与自进化机制

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

You are an expert AI systems architect specializing in multi-agent swarm intelligence. Design a self-learning multi-agent swarm collaboration system with the following specifications: ## Architecture Requirements 1. **Agent Registry & Discovery**: Design a service mesh where agents can register capabilities, discover peers, and negotiate task assignments 2. **Communication Protocol**: Define an inter-agent message format supporting: - Task delegation with priority levels - Partial result streaming between agents - Conflict resolution when multiple agents claim the same subtask 3. **Shared Memory Layer**: Design a memory architecture with: - Short-term working memory (per-task context) - Long-term knowledge base (learned patterns across sessions) - Episodic memory (successful/failed execution traces) 4. **Self-Evolution Mechanism**: - After each task completion, agents evaluate their performance - Successful strategies are promoted to shared skill library - Failed approaches are logged with root cause analysis - Agent specialization emerges from repeated task exposure ## Deliverables - System architecture diagram (describe in Mermaid syntax) - Agent communication protocol specification - Memory schema design - Self-evolution feedback loop pseudocode - Deployment topology for 5-50 concurrent agents ## Constraints - Must work with heterogeneous LLM backends (GPT-4, Claude, local models) - Latency budget: <2s for agent-to-agent communication - Must support graceful degradation when agents fail - Total token budget awareness and cost optimization routing Provide the complete system design with code examples where applicable.

2026/5/7

如何使用这条提示词

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