agent-designer
Agent Designer - Multi-Agent System Architecture
What this skill does
# Agent Designer - Multi-Agent System Architecture **Tier:** POWERFUL **Category:** Engineering **Tags:** AI agents, architecture, system design, orchestration, multi-agent systems ## Overview Agent Designer is a comprehensive toolkit for designing, architecting, and evaluating multi-agent systems. It provides structured approaches to agent architecture patterns, tool design principles, communication strategies, and performance evaluation frameworks for building robust, scalable AI agent systems. ## Core Capabilities ### 1. Agent Architecture Patterns #### Single Agent Pattern - **Use Case:** Simple, focused tasks with clear boundaries - **Pros:** Minimal complexity, easy debugging, predictable behavior - **Cons:** Limited scalability, single point of failure - **Implementation:** Direct user-agent interaction with comprehensive tool access #### Supervisor Pattern - **Use Case:** Hierarchical task decomposition with centralized control - **Architecture:** One supervisor agent coordinating multiple specialist agents - **Pros:** Clear command structure, centralized decision making - **Cons:** Supervisor bottleneck, complex coordination logic - **Implementation:** Supervisor receives tasks, delegates to specialists, aggregates results #### Swarm Pattern - **Use Case:** Distributed problem solving with peer-to-peer collaboration - **Architecture:** Multiple autonomous agents with shared objectives - **Pros:** High parallelism, fault tolerance, emergent intelligence - **Cons:** Complex coordination, potential conflicts, harder to predict - **Implementation:** Agent discovery, consensus mechanisms, distributed task allocation #### Hierarchical Pattern - **Use Case:** Complex systems with multiple organizational layers - **Architecture:** Tree structure with managers and workers at different levels - **Pros:** Natural organizational mapping, clear responsibilities - **Cons:** Communication overhead, potential bottlenecks at each level - **Implementation:** Multi-level delegation with feedback loops #### Pipeline Pattern - **Use Case:** Sequential processing with specialized stages - **Architecture:** Agents arranged in processing pipeline - **Pros:** Clear data flow, specialized optimization per stage - **Cons:** Sequential bottlenecks, rigid processing order - **Implementation:** Message queues between stages, state handoffs ### 2. Agent Role Definition #### Role Specification Framework - **Identity:** Name, purpose statement, core competencies - **Responsibilities:** Primary tasks, decision boundaries, success criteria - **Capabilities:** Required tools, knowledge domains, processing limits - **Interfaces:** Input/output formats, communication protocols - **Constraints:** Security boundaries, resource limits, operational guidelines #### Common Agent Archetypes **Coordinator Agent** - Orchestrates multi-agent workflows - Makes high-level decisions and resource allocation - Monitors system health and performance - Handles escalations and conflict resolution **Specialist Agent** - Deep expertise in specific domain (code, data, research) - Optimized tools and knowledge for specialized tasks - High-quality output within narrow scope - Clear handoff protocols for out-of-scope requests **Interface Agent** - Handles external interactions (users, APIs, systems) - Protocol translation and format conversion - Authentication and authorization management - User experience optimization **Monitor Agent** - System health monitoring and alerting - Performance metrics collection and analysis - Anomaly detection and reporting - Compliance and audit trail maintenance ### 3. Tool Design Principles #### Schema Design - **Input Validation:** Strong typing, required vs optional parameters - **Output Consistency:** Standardized response formats, error handling - **Documentation:** Clear descriptions, usage examples, edge cases - **Versioning:** Backward compatibility, migration paths #### Error Handling Patterns - **Graceful Degradation:** Partial functionality when dependencies fail - **Retry Logic:** Exponential backoff, circuit breakers, max attempts - **Error Propagation:** Structured error responses, error classification - **Recovery Strategies:** Fallback methods, alternative approaches #### Idempotency Requirements - **Safe Operations:** Read operations with no side effects - **Idempotent Writes:** Same operation can be safely repeated - **State Management:** Version tracking, conflict resolution - **Atomicity:** All-or-nothing operation completion ### 4. Communication Patterns #### Message Passing - **Asynchronous Messaging:** Decoupled agents, message queues - **Message Format:** Structured payloads with metadata - **Delivery Guarantees:** At-least-once, exactly-once semantics - **Routing:** Direct messaging, publish-subscribe, broadcast #### Shared State - **State Stores:** Centralized data repositories - **Consistency Models:** Strong, eventual, weak consistency - **Access Patterns:** Read-heavy, write-heavy, mixed workloads - **Conflict Resolution:** Last-writer-wins, merge strategies #### Event-Driven Architecture - **Event Sourcing:** Immutable event logs, state reconstruction - **Event Types:** Domain events, system events, integration events - **Event Processing:** Real-time, batch, stream processing - **Event Schema:** Versioned event formats, backward compatibility ### 5. Guardrails and Safety #### Input Validation - **Schema Enforcement:** Required fields, type checking, format validation - **Content Filtering:** Harmful content detection, PII scrubbing - **Rate Limiting:** Request throttling, resource quotas - **Authentication:** Identity verification, authorization checks #### Output Filtering - **Content Moderation:** Harmful content removal, quality checks - **Consistency Validation:** Logic checks, constraint verification - **Formatting:** Standardized output formats, clean presentation - **Audit Logging:** Decision trails, compliance records #### Human-in-the-Loop - **Approval Workflows:** Critical decision checkpoints - **Escalation Triggers:** Confidence thresholds, risk assessment - **Override Mechanisms:** Human judgment precedence - **Feedback Loops:** Human corrections improve system behavior ### 6. Evaluation Frameworks #### Task Completion Metrics - **Success Rate:** Percentage of tasks completed successfully - **Partial Completion:** Progress measurement for complex tasks - **Task Classification:** Success criteria by task type - **Failure Analysis:** Root cause identification and categorization #### Quality Assessment - **Output Quality:** Accuracy, relevance, completeness measures - **Consistency:** Response variability across similar inputs - **Coherence:** Logical flow and internal consistency - **User Satisfaction:** Feedback scores, usage patterns #### Cost Analysis - **Token Usage:** Input/output token consumption per task - **API Costs:** External service usage and charges - **Compute Resources:** CPU, memory, storage utilization - **Time-to-Value:** Cost per successful task completion #### Latency Distribution - **Response Time:** End-to-end task completion time - **Processing Stages:** Bottleneck identification per stage - **Queue Times:** Wait times in processing pipelines - **Resource Contention:** Impact of concurrent operations ### 7. Orchestration Strategies #### Centralized Orchestration - **Workflow Engine:** Central coordinator manages all agents - **State Management:** Centralized workflow state tracking - **Decision Logic:** Complex routing and branching rules - **Monitoring:** Comprehensive visibility into all operations #### Decentralized Orchestration - **Peer-to-Peer:** Agents coordinate directly with each other - **Service Discovery:** Dynamic agent registration and lookup - **Consensus Protocols:** Distributed decision making - **Fault Tolerance:** No single point of failure #### Hybrid Approaches - **Domain Boundaries:** Centralized within domains, federated across - **Hierar
Related in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts — single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score ≥ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.