From latestaiagents
Design a multi-agent system architecture with proven patterns
npx claudepluginhub latestaiagents/agent-skills --plugin skills-authoring# /design-agent Design a multi-agent system architecture with proven patterns. ## Tell Me About Your System To recommend the right architecture, I need to know: 1. **What problem are you solving?** - Customer support automation - Code generation pipeline - Research and analysis - Content creation workflow - Data processing pipeline 2. **How many agents do you need?** - 2-3 agents (simple delegation) - 4-7 agents (specialized team) - 8+ agents (complex swarm) 3. **How should they coordinate?** - One agent controls others (Supervisor) - Agents talk to each ...
/design-workflowDesigns a complete multi-agent workflow for a user goal or task, producing overview diagram, task decomposition, agent roles, handoffs, state management, interventions, recovery, and observability plan.
/agentDesigns, builds, and evaluates AI agents using patterns like ReAct, plan-and-execute, multi-agent. Generates config, implementation, tools, memory, guardrails, tests, docs, and commit.
/strategic-thinkerOrchestrates multi-agent strategies for complex task analysis, decomposition, and coordination to deliver optimized enterprise solutions.
/dispatchOrchestrates multiple agents for complex multi-domain tasks: loads skills, plans strategy with Plan subagent, dispatches agents, executes, and persists task state.
Share bugs, ideas, or general feedback.
Design a multi-agent system architecture with proven patterns.
To recommend the right architecture, I need to know:
What problem are you solving?
How many agents do you need?
How should they coordinate?
Best for: Clear hierarchy, centralized control, audit requirements
┌─────────────┐
│ Supervisor │ ← Makes decisions, delegates
└──────┬──────┘
┌───────┼───────┐
▼ ▼ ▼
┌───────┐┌───────┐┌───────┐
│Agent A││Agent B││Agent C│ ← Specialized workers
└───────┘└───────┘└───────┘
Use when:
Best for: Complex tasks, emergent behavior, resilience
┌───────┐ ┌───────┐
│Agent A│◄───►│Agent B│
└───┬───┘ └───┬───┘
│ ╲ ╱ │
│ ╲ ╱ │
▼ ╳ ▼
┌───────┐ ╱ ╲┌───────┐
│Agent C│◄───►│Agent D│
└───────┘ └───────┘
Use when:
Best for: Ordered workflows, data transformation, quality gates
Input → [Agent A] → [Agent B] → [Agent C] → Output
│ │ │
▼ ▼ ▼
Validate Process Format
Use when:
Best for: Variable tasks, cost optimization, load balancing
┌─────────┐
Request ───►│ Router │
└────┬────┘
┌────────┼────────┐
▼ ▼ ▼
┌───────┐┌───────┐┌───────┐
│Simple ││Medium ││Complex│
│ Agent ││ Agent ││ Agent │
└───────┘└───────┘└───────┘
Haiku Sonnet Opus
Use when:
interface Agent {
name: string;
role: string;
model: string;
systemPrompt: string;
tools: Tool[];
}
interface AgentSystem {
agents: Agent[];
topology: 'supervisor' | 'mesh' | 'pipeline' | 'router';
coordinator: Coordinator;
memory: SharedMemory;
}
// Example: Code Review System
const codeReviewSystem: AgentSystem = {
topology: 'pipeline',
agents: [
{
name: 'syntax-checker',
role: 'Validate code syntax and formatting',
model: 'claude-3-haiku', // Fast, cheap
tools: ['lint', 'format']
},
{
name: 'security-reviewer',
role: 'Check for security vulnerabilities',
model: 'claude-3.5-sonnet', // Balanced
tools: ['security-scan', 'dependency-check']
},
{
name: 'logic-reviewer',
role: 'Review business logic and architecture',
model: 'claude-3-opus', // Deep reasoning
tools: ['codebase-search', 'test-runner']
}
]
};
Describe your use case and I'll design a complete architecture.