/latestaiagents:design-agentfrom latestaiagents
Designs a multi-agent system architecture by asking about your problem, agent count, and coordination style, then recommends a pattern (Supervisor, Mesh, Pipeline, or Router) with an implementation template.
Ships in latestaiagents. Installing the plugin adds it to Claude Code.
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: SMALL_MODEL_ID, // Fast, cheap tier (current ID from config)
tools: ['lint', 'format']
},
{
name: 'security-reviewer',
role: 'Check for security vulnerabilities',
model: MEDIUM_MODEL_ID, // Balanced tier
tools: ['security-scan', 'dependency-check']
},
{
name: 'logic-reviewer',
role: 'Review business logic and architecture',
model: LARGE_MODEL_ID, // Most capable tier
tools: ['codebase-search', 'test-runner']
}
]
};
Describe your use case and I'll design a complete architecture.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
10 commands in this plugin
npx claudepluginhub latestaiagents/agent-skills --plugin latestaiagents-full