Saltar al contenido
Skillpedia
Agentes18 mil · #10648

multi-agent-patterns

Qué hace

Esta skill explica cuándo una tarea necesita varios agentes de IA y cómo organizarlos, por ejemplo con un supervisor, un enjambre o traspasos explícitos. Está pensada para diseñadores de sistemas de agentes que quieren evitar una sobrecarga innecesaria de coordinación.

Cuándo usarla

  • ✓Cuando un solo agente se queda sin espacio de contexto para una tarea grande.
  • ✓Cuando un trabajo se divide en partes paralelas que necesitan herramientas o prompts distintos.
  • ✓Cuando necesitas decidir si añadir más agentes está justificado.

Link de la skill

https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/blob/main/skills/multi-agent-patterns/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/blob/main/skills/multi-agent-patterns/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Mi único agente tiene dificultades con una tarea de investigación enorme. ¿Debo dividirla entre varios agentes y cómo?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La skill explica que los subagentes sirven sobre todo para aislar el contexto, y luego compara las organizaciones y muestra los compromisos de la coordinación.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Multi-Agent Architecture Patterns

Multi-agent architectures distribute work across multiple language model instances, each with its own context window. When designed well, this distribution enables capabilities beyond single-agent limits. When designed poorly, it introduces coordination overhead that negates benefits. The critical insight is that sub-agents exist primarily to isolate context, not to anthropomorphize role division.

When to Activate

Activate this skill when:

  • Single-agent context limits constrain task complexity
  • Tasks decompose naturally into parallel subtasks
  • Different subtasks require different tool sets or system prompts
  • Building systems that must handle multiple domains simultaneously
  • Scaling agent capabilities beyond single-context limits
  • Designing production agent systems with multiple specialized components

Do not activate this skill for adjacent work owned by other skills:

  • Deciding task-model fit, pipeline shape, or project-level cost before topology is known: project-development.
  • Designing hosted sandboxes, warm pools, remote sessions, or background runtime infrastructure: hosted-agents.
  • Sharing orchestrator state through KV-cache compaction in controlled runtimes: latent-briefing.
  • Designing the tools each agent exposes: tool-design.

Core Concepts

Use multi-agent patterns when a single agent's context window cannot hold all task-relevant information. Context isolation is the primary benefit — each agent operates in a clean context without accumulated noise from other subtasks, preventing the telephone game problem where information degrades through repeated summarization.

Choose among three dominant patterns based on coordination needs, not organizational metaphor:

  • Supervisor/orchestrator — Use for centralized control when tasks have clear decomposition and human oversight matters. A single coordinator delegates to specialists and synthesizes results.
  • Peer-to-peer/swarm — Use for flexible exploration when rigid planning is counterproductive. Any agent can transfer control to any other through explicit handoff mechanisms.
  • Hierarchical — Use for large-scale projects with layered abstraction (strategy, planning, execution). Each layer operates at a different level of detail with its own context structure.

Design every multi-agent system around explicit coordination protocols, consensus mechanisms that resist sycophancy, and failure handling that prevents error propagation cascades.

Detailed Topics

Why Multi-Agent Architectures

The Context Bottleneck Reach for multi-agent architectures when a single agent's context fills with accumulated history, retrieved documents, and tool outputs to the point where performance degrades. Recognize three degradation signals: the lost-in-middle effect (attention weakens for mid-context content), attention scarcity (too many competing items), and context poisoning (irrelevant content displaces useful content).

Partition work across multiple context windows so each agent operates in a clean context focused on its subtask. Aggregate results at a coordination layer without any single context bearing the full burden.

The Token Economics Reality Budget for substantially higher token costs. Production data shows multi-agent systems can cost far more tokens than single-agent chat (claim-multi-agent-token-multiplier):

Architecture Token Multiplier Use Case
Single agent chat Baseline Simple queries
Single agent with tools Higher than baseline Tool-using tasks
Multi-agent system Much higher than baseline Complex research/coordination

Browsing-agent evaluation research suggests token usage, tool calls, and model choice dominate performance variance (claim-evaluation-browsecomp-variance). This supports measuring multi-agent setups against single-agent baselines instead of assuming extra agents help.

Prioritize model selection alongside architecture design — upgrading to better models often provides larger performance gains than doubling token budgets. BrowseComp data shows that model quality improvements frequently outperform raw token increases. Treat model selection and multi-agent architecture as complementary strategies.

The Parallelization Argument Assign parallelizable subtasks to dedicated agents with fresh contexts rather than processing them sequentially in a single agent. A research task requiring se

Preguntas frecuentes

¿Más agentes siempre son mejores?

No. La skill advierte que las configuraciones de varios agentes mal diseñadas añaden una sobrecarga de coordinación que puede anular el beneficio.

¿Qué es el patrón supervisor?

Un agente coordina a otros, les asigna subtareas y combina sus resultados.

¿Cuál es la razón principal para usar subagentes?

La skill dice que los subagentes existen sobre todo para aislar el contexto, de modo que cada uno trabaje con una ventana más pequeña y enfocada.

Detalles

Descripción original del autor

This skill should be used when designing multi-agent systems that need context isolation, supervisor or swarm coordination, explicit handoffs, parallel execution, or a decision on whether multiple agents are justified.

repo: muratcankoylan/Agent-Skills-for-Context-Engineering

Popularidad

Estrellas en GitHub
18 mil
Posición en el ranking
#10648
Licencia
MIT
Actualizada
11/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas