Logo di Multi Agent Orchestration

Multi Agent Orchestration

Community
mizchi
multi-agent-orchestration

Usa questa skill per decidere se avviare subagent, scegliere tra esecuzione sequenziale, fan-out, supervisore, dibattito o DAG dinamico, progettare un flusso di lavoro di coding agent con ambiti di scrittura isolati o valutare se agent aggiuntivi rischiano di sprecare token senza portare prove indipendenti. Attivala in caso di multi-agent, orchestrazione, fan-out, worktree, blackboard, verifier, AgentTask o quando ti chiedi «dovrei parallelizzare questo lavoro?».

Add to TypingMind

Panoramica

Pubblicato damizchi
Repositoryskills
Nome della skillmulti-agent-orchestration
Stelle
333
Fork
4
File inclusi
3
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 3

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da mizchi su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Multi Agent Orchestration in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/mizchi/skills/tree/main/multi-agent-orchestration
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Multi Agent Orchestration in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Multi Agent Orchestration non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Multi Agent Orchestration non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Multi Agent Orchestration?

Usa questa skill per decidere se avviare subagent, scegliere tra esecuzione sequenziale, fan-out, supervisore, dibattito o DAG dinamico, progettare un flusso di lavoro di coding agent con ambiti di scrittura isolati o valutare se agent aggiuntivi rischiano di sprecare token senza portare prove indipendenti. Attivala in caso di multi-agent, orchestrazione, fan-out, worktree, blackboard, verifier, AgentTask o quando ti chiedi «dovrei parallelizzare questo lavoro?».

Perché usare Multi Agent Orchestration su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Multi Agent Orchestration è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Multi Agent Orchestration in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/mizchi/skills/tree/main/multi-agent-orchestration. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Multi Agent Orchestration?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Multi Agent Orchestration?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Multi Agent Orchestration: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Multi Agent Orchestration è gratuita?

È pubblicata su GitHub da mizchi. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇