AGENT SKILL

multi-agent-workflows

Guide Swarms orchestration, routing, debate, consensus, and graph-based multi-agent workflows.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
multi-agent-workflows
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Guide Swarms orchestration, routing, debate, consensus, and graph-based multi-agent workflows.
disable-model-invocation
true

02 资源文件 4

03 SKILL.md 正文

Multi-agent workflows

Use this sub-skill when the user wants to combine multiple agents into a swarm, route tasks between agents, or choose an orchestration pattern.

Owns these workflows

  • Linear and concurrent pipelines: SequentialWorkflow, ConcurrentWorkflow.
  • DSL and graph orchestration: AgentRearrange, GraphWorkflow.
  • Routing and selection: SwarmRouter, MultiAgentRouter.
  • Collaboration and consensus: MixtureOfAgents, HierarchicalSwarm, GroupChat, MajorityVoting, CouncilAsAJudge, DebateWithJudge.
  • Other swarm styles: RoundRobinSwarm, PlannerWorkerSwarm, HeavySwarm, BatchedGridWorkflow.

Does not own

  • One-agent configuration and runtime behavior; use single-agent.
  • CLI and file-driven creation flows; use cli-loaders.
  • Tool schema conversion and MCP transport; use tools-mcp.

Read this sub-skill when the request mentions

  • SequentialWorkflow, ConcurrentWorkflow, AgentRearrange, GraphWorkflow, or SwarmRouter.
  • MixtureOfAgents, HierarchicalSwarm, GroupChat, MajorityVoting, CouncilAsAJudge, or DebateWithJudge.
  • RoundRobinSwarm, PlannerWorkerSwarm, HeavySwarm, BatchedGridWorkflow, or MultiAgentRouter.
  • RESPOND_TOOL, fan-out/fan-in, DAGs, consensus, routing, or collaborator selection.

Working shape

  1. Identify the exact orchestration style the user wants.
  2. Decide whether the task is a simple chain, a fan-out/fan-in graph, a consensus loop, or an automatic router selection problem.
  3. Check whether the workflow needs fake agents, real provider-backed agents, or optional graph backends.
  4. Use the bundled references for class selection, flow syntax, and failure handling.

What to read next

  • references/workflows.md for the orchestration catalog and route-selection guidance.
  • references/api-reference.md for constructor and method summaries.
  • references/troubleshooting.md for flow, backend, and concurrency issues.
  • scripts/workflow_smoke.py for an offline workflow smoke check with fake agents.

Typical user questions this sub-skill should answer

  • Which swarm class should I use for sequential vs parallel processing?
  • How do I express a mixed -> and , flow in AgentRearrange?
  • When should I use SwarmRouter instead of directly constructing a swarm?
  • Why does GroupChat need RESPOND_TOOL on each agent?
  • How do I debug a swarm that returns the wrong type or never converges?

Route boundaries

  • If the task is only about one agent, route to single-agent.
  • If the task starts from a CLI or config file, route to cli-loaders.
  • If the task is about tools, BaseTool, or MCP, route to tools-mcp.

Acceptance checklist

  • The response should name the exact swarm class and why it fits the task.
  • The response should describe the input shape and expected output shape.
  • The response should mention optional dependencies such as graph backends when relevant.
  • The response should include at least one concrete troubleshooting path for empty agents, invalid flows, or provider/backend issues.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351