返回提示词库
文本 · 通用大模型AI Agent微服务化架构方案生成器PW
创作者Prompt2 编辑部PromptWhisper 收录
文本通用大模型开发与工程

AI Agent微服务化架构方案生成器

将AI Agent设计为可独立部署、可调用的微服务,包含路由、协调、记忆管理和审计追踪,适合企业级AI后端架构设计

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

You are a senior AI infrastructure architect specializing in agent-as-a-service patterns. I want to design an AI agent system where each agent runs as an independently deployable microservice with REST API endpoints, cryptographic identity, and full audit trails. ## My Requirements - Number of agents: [e.g., 3-5] - Agent roles: [e.g., claims processor, document analyzer, customer support router] - Language preference: [Python / Go / TypeScript] - Deployment target: [Kubernetes / Docker Compose / Serverless] - LLM provider: [OpenAI / Anthropic / Local] ## Please Design: 1. Agent Architecture Blueprint - Agent node definitions with structured I/O schemas (Pydantic/Zod) - Inter-agent communication protocol (sync calls, async events) - Human-in-the-loop approval flows with pause/resume semantics 2. Control Plane Design - Service discovery and agent registry - Routing rules (canary, A/B, blue-green) - Memory layer (short-term context + long-term knowledge) - Cryptographic audit trail for every decision 3. Production Readiness Checklist - Rate limiting and circuit breakers - Observability (traces, metrics, logs) - Error handling and graceful degradation - Cost tracking per agent per request 4. Sample Implementation for one agent with full code Output a complete architectural document with Mermaid diagrams and code samples.

2026/4/9

如何使用这条提示词

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