Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

multi-agent-architecture-reference多 Agent 架构参考

Agent Skill

multi-agent-architecture-reference 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

661

周安装

27

GitHub Stars

25

下载量

214
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:multi-agent-architecture-reference(多 Agent 架构参考)
来源仓库:https://github.com/oimiragieo/agent-studio
仓库路径:skills/multi-agent-architecture-reference
安装命令:
npx skills add https://github.com/oimiragieo/agent-studio --skill multi-agent-architecture-reference
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/oimiragieo/agent-studio --skill multi-agent-architecture-reference

简介

multi-agent-architecture-reference 用于查找、检索和筛选相关信息,适合快速定位候选结果。

  • 适用于关键词搜索、任务场景匹配或来源线索梳理等研究检索任务。
  • 通过 npx skills add 命令从 oimiragieo/agent-studio 仓库安装使用。
  • 安装前需确认权限范围、维护状态及是否触发联网或文件操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Multi-Agent Architecture Reference

Step 1: Characterize the Task

Answer these four questions before selecting a topology:

  1. Task independence: Can sub-tasks run in parallel without shared state? (YES → Swarm or Fan-out)
  2. Task types known: Is the set of task types stable and deterministic at design time? (YES → Supervisor)
  3. Phase complexity: Does the work require multi-stage sub-orchestration? (YES → Hierarchical or Conductor)
  4. Stakes: Does an incorrect outcome require multi-reviewer agreement? (YES → Consensus Voting)

Step 2: Apply the Topology Decision Matrix

TopologyToken CostBest ForFailure ModesExisting Skill
Conductor~6xSequential phases, ordered agent steps, default agent-studio patternOrchestrator overload (SE-M01)master-orchestrator.md
Supervisor~5xKnown task types, specialist agents, deterministic routingSingle point of failure; router miscalibration (SE-M01)Built into Router
Fan-out/Fan-in~8xParallel review/analysis, map-reduce, searchResult aggregation complexitywave-executor
Swarm~8xIndependent tasks, load balancing, fault-tolerant processingCoordination overhead; consensus deadlock; orphaned tasks (SE-M02, SE-M05)swarm-coordination
Consensus Voting~12xHigh-stakes decisions requiring multi-reviewer agreementDeadlock on split votes (SE-M02)consensus-voting
Hierarchical~15xEPIC complexity, multiple distinct phases with sub-orchestrationCascade failures; token runaway at depth >3 (SE-M03, SE-M04)Custom per project

Token costs are relative to single-agent baseline (as of 2026). Use as order-of-magnitude guidance.

Step 3: Check Failure Mode Taxonomy

Before finalizing topology, verify mitigation for relevant failure modes:

SE-M01: Coordinator Overload

  • Topologies affected: Supervisor, Conductor, Hierarchical root
  • Symptom: Single coordinator receives more traffic than it can route
  • Fix: Distribute coordination or add routing replicas; use wave-executor for fan-out

SE-M02: Swarm Deadlock

  • Topologies affected: Swarm, Consensus Voting
  • Symptom: Agents wait for each other's consensus indefinitely
  • Fix: Timeout + majority-vote with tie-breaker; set consensus_timeout_ms

SE-M03: Cascade Failure

  • Topologies affected: Hierarchical
  • Symptom: A mid-level agent failure halts all downstream agents
  • Fix: Circuit breakers at each tier; retry with backoff; fallback agents

SE-M04: Token Runaway

  • Topologies affected: Hierarchical
  • Symptom: Spawning too many levels burns tokens exponentially
  • Fix: Set max_depth=3; monitor token budget per level; prefer Conductor over deep Hierarchical

SE-M05: Orphaned Tasks

  • Topologies affected: Swarm
  • Symptom: Agents drop tasks when no ownership is clear
  • Fix: Assign task IDs; use TaskUpdate tracking; require TaskUpdate(in_progress) on pickup

Step 4: Apply Escalation Path

Use the complexity escalation ladder when initial topology is insufficient:

TRIVIAL → Single agent (no multi-agent needed)
    ↓ (task types > 1, > 3 files)
LOW → Supervisor (router delegates to 2-3 specialists)
    ↓ (parallel processing needed)
MEDIUM → Conductor + Fan-out (master-orchestrator + wave-executor)
    ↓ (multi-phase with sub-orchestration)
HIGH → Hierarchical (orchestrators at multiple tiers)
    ↓ (high-stakes decision required)
EPIC → Hierarchical + Consensus Voting (max 3 tiers + voting gate)

Step 5: Reference Existing agent-studio Patterns

PatternSkill/FileUse Case
Conductor (DEFAULT).claude/agents/orchestrators/master-orchestrator.mdSequential phase execution; TaskUpdate coordination
Fan-out/Fan-inwave-executor skillParallel batch processing; EPIC-tier pipelines
Swarmswarm-coordination skillConcurrent independent task execution
Consensusconsensus-voting skillHigh-stakes decisions; multi-reviewer agreement
SupervisorBuilt into CLAUDE.mdTask routing to specialist agents

When in doubt, start with Conductor. The master-orchestrator pattern drives sequential phases with explicit TaskUpdate coordination — the lowest-risk default for most MEDIUM/HIGH tasks.

Example 1: Code Review Pipeline

  • Task: Review 5 files for security, quality, and style
  • Character: Tasks are independent (YES), parallel OK (YES)
  • Topology: Fan-out/Fan-in (~8x)
  • Pattern: wave-executor skill — spawn 3 reviewers in parallel, aggregate results

Example 2: Feature Implementation

  • Task: Design → Implement → Test → Document
  • Character: Sequential phases, ordered steps (YES)
  • Topology: Conductor (~6x)
  • Pattern: master-orchestrator with TaskUpdate coordination between phases

Example 3: Architecture Decision

  • Task: Choose between 3 database options for production system
  • Character: High stakes, requires agreement (YES)
  • Topology: Consensus Voting (~12x)
  • Pattern: consensus-voting skill — 3 architect agents vote, majority decides

Example 4: Batch Agent Creation

  • Task: Create 10 new agents from specs
  • Character: Independent tasks (YES), fault tolerance > ordering (YES)
  • Topology: Swarm (~8x)
  • Pattern: swarm-coordination skill with task ID assignment per agent

<best_practices>

  • Default to Conductor (master-orchestrator) — it is the lowest-risk pattern for most tasks
  • Never use Hierarchical beyond depth=3 (token runaway risk SE-M04)
  • Always assign TaskUpdate(in_progress) on task pickup in Swarm to prevent SE-M05
  • Use Fan-out (wave-executor) instead of Swarm when tasks have clear aggregation boundary
  • Add consensus gate only for genuinely high-stakes decisions — 12x token cost is significant
  • Document token budget per topology tier when spawning Hierarchical
  • Cross-reference failure mode taxonomy before finalizing topology choice </best_practices>

Iron Laws

  1. ALWAYS start with Conductor — default to master-orchestrator for MEDIUM/HIGH tasks; only escalate to Hierarchical when sub-orchestration is explicitly required by the task structure.
  2. NEVER exceed depth=3 in Hierarchical — token cost grows exponentially at each tier; depth >3 triggers SE-M04 (token runaway) and is considered an architectural defect.
  3. ALWAYS assign TaskUpdate(in_progress) on Swarm task pickup — missing task ownership is the root cause of SE-M05 (orphaned tasks); every agent in a swarm must call TaskUpdate before doing work.
  4. NEVER use Consensus Voting for low-stakes decisions — 12x token multiplier is justified only for architecture decisions, security approvals, or irreversible production changes.
  5. ALWAYS cross-reference the failure mode taxonomy before finalizing topology — each topology has documented failure modes (SE-M01 through SE-M05); skipping this review leads to production incidents.

Anti-Patterns

Anti-PatternProblemFix
Defaulting to Hierarchical for every complex taskToken runaway at depth >3; cascade failure risk; over-engineering most tasksUse Conductor (sequential phases) first; only escalate to Hierarchical when sub-orchestration is mandatory
Using Swarm for ordered, dependent tasksSwarm agents run concurrently and cannot enforce ordering; produces race conditionsUse Conductor or Fan-out/Fan-in when task ordering matters
Skipping TaskUpdate(in_progress) in SwarmTasks become orphaned (SE-M05); no ownership tracking; duplicated or dropped workRequire every swarm agent to call TaskUpdate(in_progress) as its first action
Adding Consensus Voting speculatively12x token overhead kills budget for non-critical decisions; slowdown on all downstream tasksReserve consensus gate for genuinely high-stakes, irreversible decisions only
Mixing topology concerns (Supervisor + Swarm + Hierarchical in one flow)Complexity explosion; routing ambiguity; impossible to debug failuresPick one primary topology per orchestration scope; compose only at well-defined phase boundaries

Memory Protocol (MANDATORY)

Before starting:

Read .claude/context/memory/learnings.md to check for prior multi-agent architecture decisions.

After completing:

  • New topology decision → Append to .claude/context/memory/decisions.md
  • Failure mode encountered → Append to .claude/context/memory/issues.md
  • New pattern discovered → Append to .claude/context/memory/learnings.md
ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.

Related Skills

  • wave-executor — Fan-out/Fan-in implementation
  • swarm-coordination — Swarm topology execution
  • consensus-voting — Byzantine consensus for high-stakes decisions
  • architecture-review — Validate topology choices against NFRs
  • complexity-assessment — Determine complexity level before topology selection

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.97%
按下载量换算75

Claude

32.76%
按下载量换算70

Cursor

20.21%
按下载量换算43

Gemini CLI

9.75%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/oimiragieo/agent-studio --skill multi-agent-architecture-reference 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills