Multi Agent Orchestration logo

Multi Agent Orchestration

Community
mizchi
multi-agent-orchestration

Use when deciding whether to spawn subagents, choosing sequential vs fan-out vs supervisor vs debate vs dynamic DAG, designing a coding-agent workflow with write-scope isolation, or when extra agents may waste tokens without independent evidence. Trigger on multi-agent, orchestration, fan-out, worktree, blackboard, verifier, AgentTask, or "should I parallelize this".

Overview

Publishermizchi
Repositoryskills
Skill namemulti-agent-orchestration
Stars
333
Forks
4
Bundled files
3
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by mizchi on GitHub. Read the source before you install it.

Installation

Install the Multi Agent Orchestration AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mizchi/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/multi-agent-orchestration .claude/skills/multi-agent-orchestration
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Multi Agent Orchestration in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Multi Agent Orchestration on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Multi Agent Orchestration is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Multi-Agent Orchestration

Do not add agents. Add independently verifiable work: a dependency graph, parallel only on independent nodes, integrate through shared state and a verifier.

When to use

  • About to spawn 2+ subagents, a research fan-out, a debate/jury, or a "programmer + reviewer" pair
  • Designing a coding-agent DAG, worktree split, or long-running parallel implementation
  • Tempted to scale agent count because the task "feels hard"

When not to use:

  • One tightly sequential transform (read → patch → test) with no independent parts
  • Same model, same input, same tools, only the role name changes — run multiple turns on one agent instead

Gate

Default to a single agent. Go multi only if (1) or (2) holds and (4) is positive.

3 is not a reason to spawn. It is how a multi run stops. A unit test the same agent can run is a success criterion, not a second agent. If 3 is weak, stay single or add a rubric/schema so artifacts become checkable — do not add agents to compensate.

  1. Independent parts that can run in parallel — including parts that become independent after a short frozen contract artifact (types, HTTP shape, fixture). A call or runtime edge is not an automatic stay-single.
  2. Agents would have different information, models, tools, or permissions
  3. Intermediate artifacts checkable mechanically (tests, schema, provenance, oracle, lint). For research, schema-valid provenance is enough; do not invent a fake test oracle or switch to debate.
  4. Expected gain of another agent beats its token / latency / error-propagation cost

If (1) and (2) are both weak, stay single even when (3) holds. Google's 260-config comparison: decomposable financial reasoning +80.8% vs single-agent; sequential planning −70%. No central verifier → errors propagate. Topology–task fit dominates agent count.

Topology

PatternStructureUse forFailure mode
SequentialA → B → CClear transform pipelineUpstream error cascades
Fan-out / Fan-inParallel workers, then mergeResearch, candidates, independent testsDuplicate work, weak merge
Supervisor–WorkerManager decomposes, assigns, replansOpen-ended research / developmentManager bottleneck
HandoffOwnership moves to the next specialistSupport, interactive routingUnclear control and blame
BlackboardShared task board and artifactsLong-running, async developmentStale state, write races
Debate / JuryIndependent answers, critique, voteHard-to-grade judgmentsCorrelated errors, sycophancy
Dynamic DAGRoles, deps, parallelism chosen at run timeDifficulty varies widelyGraph generation itself is unreliable
Evolution / SearchSearch over workflowsMany repeats of the same task classLearning and eval cost

Pick from the table's Use for column first. Supervisor + Dynamic DAG + Blackboard + Verifier is a kit for open-ended long-running work, not a mandatory stack. A known candidate set is Fan-out / Fan-in. One sequential file stays single.

Scale effort, not headcount. Anthropic Research: 1 agent for a lookup, 2–4 for a comparison, 10+ only for broad investigation (~15× chat tokens). Count spawned parallel workers against that band, not the parent integrator. At most one sequential verifier. Do not start five agents on an easy task.

Handoff vs agent-as-tool: handoff owns the user reply; agent-as-tool keeps a manager that integrates.

Communication

Do not ship full conversation history. Pass only upstream artifacts, structured results (patch, evidence, tests, open questions), and provenance. Drop low-value memory; prune cheap or redundant agents at run time.

Same model + same input + same tools + different persona is not diversity. Errors correlate. Collect independent evidence, then verify: disjoint search, different tests or model families, static analysis vs execution, implementer vs adversarial verifier, private answers before votes.

Coding harness

Each task is a contract, not a chat turn:

ts
type AgentTask = {
  id: string;
  objective: string;
  dependencies: string[];
  inputArtifacts: ArtifactRef[];
  allowedTools: string[];
  writeScope: string[];
  budget: { tokens: number; toolCalls: number; retries: number };
  successCriteria: Check[];
  outputSchema: Schema;
};
  1. Router estimates the dependency DAG and write-sets
  2. If write-sets are disjoint but a call/runtime edge remains, publish a frozen contract artifact so remaining deps are on that artifact, not on another worker's code. Then parallelize only nodes with no remaining code dep and disjoint write-sets. Stay single when the next edit needs the previous edit's actual code, or when both would write the same file.
  3. Workers return patch + evidence + test results + unresolved items — not a transcript
  4. Only an integrator writes the shared trunk
  5. Verifier runs in a separate context, preferably a different model
  6. Cap replans, agent count, tokens, and wall time
  7. Stop on verified success or when expected value of another run ≤ cost
  8. Store template, generated DAG, and execution trace as three separate artifacts

A worktree per agent postpones merge conflicts. Mediate writes, or keep write-sets disjoint and let the integrator apply. Tests and CI are the task queue; Git locks plus a progress file re-orient workers. If a stage has no independent observations, do not force parallelism.

Evaluate quality / cost / latency, not agent count. Under a fixed token budget, compare single-agent vs static DAG vs dynamic DAG before keeping a topology. Paper numbers are author-reported, not a substitute for that comparison.

Common mistakes

ExcuseReality
"Name them programmer and reviewer"Homogeneous role-play is often a single agent with extra KV-cache cost (OneFlow)
"Debate will fix the answer"Closed debate adds no new evidence; correlated errors persist
"Always start a team of 5"Easy tasks lose money; scale after a cheap router estimate
"Give everyone the full thread"Context pollution, stale decisions, unclear who knew what
"There is a function call, so it cannot be parallel"Freeze the callee's signature as an artifact; disjoint write-sets can still run together
"Worktrees mean we can ignore write-sets"Conflicts are deferred, not removed
"More agents = more quality"Sequential and tool-heavy tasks often get worse

Optional: Flue

Default deliverable is the orchestration plan above. Do not emit Flue code unless the user asked for it, or the repo already runs Flue ('use agent', @flue/runtime). Mapping: references/flue.md

Related

  • superpowers:dispatching-parallel-agents — how to dispatch once independence is established
  • Grok create-workflow — executable DAG runtime when the graph should be a script, not a chat

Paper links and author-reported numbers: references/sources.md

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Multi Agent Orchestration AI skill do?

Use when deciding whether to spawn subagents, choosing sequential vs fan-out vs supervisor vs debate vs dynamic DAG, designing a coding-agent workflow with write-scope isolation, or when extra agents may waste tokens without independent evidence. Trigger on multi-agent, orchestration, fan-out, worktree, blackboard, verifier, AgentTask, or "should I parallelize this".

Why use Multi Agent Orchestration on TypingMind?

Because you install it once and use it with any model. Multi Agent Orchestration is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Multi Agent Orchestration in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/mizchi/skills/tree/main/multi-agent-orchestration. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Multi Agent Orchestration?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Multi Agent Orchestration?

As many as you like. As long as a model supports skills, you can use Multi Agent Orchestration with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Multi Agent Orchestration AI skill free?

It is published on GitHub by mizchi. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇