AGENT SKILL

multi-agent-architect

Architect-level multi-agent design — when several agents beat one, supervisor versus peer topologies, message contracts and shared state, handoff conditions, cost and latency multiplication, and the failure modes of agents amplifying each other's errors. Use when one agent is not enough and you must justify more.

License 许可
MIT
最近更新
2026-11-13
Stars
★ 0
Forks
0

01 前言 Front Matter

name
multi-agent-architect
license
MIT
metadata
{ "crusor-path": "ai-ml-architect/agent-architect/multi-agent-architect", "crusor-domain": "ai-ml-architect", "crusor-origin": "original", "crusor-sources": "langchain-ai.github.io/langgraph; microsoft.github.io/autogen; arxiv.org/abs/2308.08155", "crusor-triggers": "multi agent, agent orchestration, supervisor agent, handoff, crewai, langgraph, agent swarm, agent collaboration, planner agent", "crusor-verified-on": "2026-10-30" }
description
Architect-level multi-agent design — when several agents beat one, supervisor versus peer topologies, message contracts and shared state, handoff conditions, cost and latency multiplication, and the failure modes of agents amplifying each other's errors. Use when one agent is not enough and you must justify more.
compatibility
LangGraph, CrewAI, AutoGen, custom orchestrators

03 SKILL.md 正文

Multi-Agent Architect

Multiple agents are a distributed system of unreliable components. Each added agent multiplies cost, latency, and the ways the whole thing can fail.

When to use

  • Distinct skills with genuinely different tools or prompts (research vs code vs review).
  • A supervisor that must decompose and verify work.
  • Parallelisable subtasks where wall-clock time matters.

When NOT to use

  • A single agent with good tools and a clear prompt solves it — most of the time it does.
  • The task has a known sequence: write a workflow, not a conversation.
  • Cost or latency budgets are tight.

Decision 1 — Justify the count

Reason Valid
separate tool permissions yes
separate context windows to avoid dilution yes
parallel exploration yes
"more agents = smarter" no
reviewer as a distinct critic yes, if it has an eval
  • Start with one agent; split only when a specific failure is traceable to overloaded context or tool confusion.
  • Two agents that pass messages in a loop are an expensive way to build a for-loop.

Decision 2 — Topology

Topology Shape
supervisor one planner delegates to specialists, collects results
pipeline fixed stages, each an agent
peer/debate agents critique each other, judge decides
blackboard agents read/write a shared store
  • Supervisor is the default: one decision-maker, bounded delegation.
  • Peer topologies need a termination rule and a judge, or they argue forever.

Decision 3 — Contracts

  • Define the message schema between agents: task, inputs, expected output, budget.
  • Each handoff includes: what is done, what is expected, what "finished" means.
  • Shared state (files, DB, blackboard) with an explicit write policy — concurrent writes corrupt.
  • No agent inherits another's credentials; permissions are per-agent and minimal.

Decision 4 — Budgets and termination

  • Global budget: total tokens, wall clock, and step count for the whole run.
  • Per-agent budget so one specialist cannot consume everything.
  • Termination: goal met, supervisor decides, budget exhausted, or repeated failure — all four implemented.
  • Detect livelock: agents re-delegating the same task with slightly different words.

Decision 5 — Errors amplify

  • A wrong fact from agent A is treated as ground truth by B and C. Add verification at handoff for anything factual.
  • Include the source or evidence with each result, not just a conclusion.
  • Reviewer agents must be able to say "unknown" and to fail the run.
  • Log the full trace per agent; debugging a multi-agent failure without traces is guesswork.

Decision 6 — Observability

  • One trace spanning agents with parent/child spans; per-agent token and cost.
  • Metrics: handoffs per run, retries, escalations, human interventions, success rate per topology.
  • Replay a failed run from the trace as a regression test.

Failure modes at scale

  • Twelve agents, 40 steps, $6 per task, quality equal to one good agent.
  • Agents caught in a delegation loop until the budget cap fires.
  • Peer debate with no judge; the run never terminates.
  • Specialist agents share one broad credential; the blast radius is the estate.
  • A hallucinated fact propagated through three agents without verification.

Verification receipts

  1. Justification table: each agent exists for a named failure it solves.
  2. Topology diagram with handoff schemas.
  3. Budget caps enforced in a deliberately runaway test.
  4. Trace of one complete run with per-agent cost and latency.
  5. Comparison against a single-agent baseline on the same eval set.

04 同仓库更多 Skills

SriAkhilSJ
SriAkhilSJ/PulseAIRepo

interaction-patterns-architect

Architect-level interaction design in code — choosing established patterns over invented ones, feedback and latency behaviour, destructive-action safeguards, navigation and overlay conventions, and the state model behind every interactive surface. Use when a screen has to behave, not just look.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

design-system-ops-architect

Architect-level operation of a design system in code — token pipelines and versioning, component API and variant policy, the catalogue as the contract, adoption metrics, and the governance that stops a system from forking into three. Use when a component library must survive several teams.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

design-handoff-architect

Architect-level design handoff — what must be specified before implementation starts, tokens over raw values, responsive and content-limit contracts, state matrices, and the review loop that catches drift between design and code. Use when a design is about to become code.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

content-microcopy-architect

Architect-level UI content — where strings live, voice and terminology consistency, error and empty-state copy as part of the interface, translation-ready authoring, and the content model a product needs before it multiplies screens. Use when the words in the interface matter as much as the pixels.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

ui-ux-implementation-architect

Architect-level direction for turning a design into working UI — the handoff contract, component ownership versus screen-level layout, interaction and state conventions, design QA gates, and the review habits that keep an implementation faithful without frozen pixels. Use before any specific UI implementation skill.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

test-strategy-architect

Architect-level test strategy — allocating assertions across unit, integration, contract and end-to-end layers, designing for testability through dependency boundaries, fixture and data strategy, and the flake and coverage policies that keep a suite trustworthy. Use when defining how a codebase is tested.

★ 0