मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट18k · #10648

multi-agent-patterns

यह क्या करती है

यह स्किल बताती है कि कोई काम कब कई AI एजेंट माँगता है और उन्हें कैसे व्यवस्थित करें, जैसे supervisor, swarm या स्पष्ट handoffs। यह एजेंट सिस्टम डिज़ाइन करने वालों के लिए है, जो बेवजह समन्वय के बोझ से बचना चाहते हैं।

कब इस्तेमाल करें

  • ✓जब एक एजेंट का context किसी बड़े काम के लिए जगह खत्म कर दे।
  • ✓जब कोई काम समानांतर हिस्सों में बँटे जिन्हें अलग टूल्स या prompts चाहिए।
  • ✓जब आपको तय करना हो कि और एजेंट जोड़ना वाकई उचित है या नहीं।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/blob/main/skills/multi-agent-patterns/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरा एक एजेंट एक बहुत बड़े शोध काम में उलझ रहा है। क्या मैं इसे कई एजेंटों में बाँटूँ, और कैसे?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल समझाती है कि उप-एजेंट मुख्य रूप से context को अलग रखने के लिए होते हैं, फिर अलग-अलग व्यवस्थाओं की तुलना करती है और समन्वय के व्यापार-विनिमय दिखाती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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

अक्सर पूछे जाने वाले सवाल

क्या ज़्यादा एजेंट हमेशा बेहतर होते हैं?

नहीं। स्किल चेतावनी देती है कि खराब डिज़ाइन वाले multi-agent सेटअप समन्वय का बोझ जोड़ते हैं, जो फ़ायदा खत्म कर सकता है।

supervisor पैटर्न क्या है?

एक एजेंट बाकी एजेंटों का समन्वय करता है, उन्हें उप-कार्य देता है और उनके नतीजे जोड़ता है।

उप-एजेंट इस्तेमाल करने का मुख्य कारण क्या है?

स्किल कहती है कि उप-एजेंट मुख्य रूप से context को अलग करने के लिए होते हैं, ताकि हर एक छोटी, केंद्रित window के साथ काम करे।

जानकारी

लेखक का मूल विवरण

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

लोकप्रियता

GitHub स्टार
18k
रैंकिंग में स्थान
#10648
लाइसेंस
MIT
अपडेट की गई
11/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

context-engineering-collection

18k

यह आपके एजेंट को AI मॉडल की context window में क्या जाए, इसका प्रबंधन करने में मदद करती है, मेमोरी और टूल्स से लेकर मल्टी-एजेंट सेटअप और मूल्यांकन तक।

AI और एजेंटएजेंट

advanced-evaluation

18k

यह आपके एजेंट को सिखाती है कि दूसरे AI की मदद से AI के जवाबों को कैसे परखा जाए, स्कोरिंग, आमने-सामने तुलना और पूर्वाग्रह जाँच के साथ।

AI और एजेंटएजेंट

bdi-mental-states

18k

यह आपके एजेंट को BDI तरीके से विश्वास, लक्ष्य और योजनाओं का मॉडल बनाना सिखाती है, ताकि उसके फ़ैसले ट्रेस और समझाए जा सकें।

AI और एजेंटएजेंट

context-compression

18k

यह आपके एजेंट को लंबे AI सत्रों को ऐसे सारांशों में छोटा करने में मदद करती है जिनमें फ़ैसले, फ़ाइलें, जोखिम और अगले कदम बचे रहें।

AI और एजेंटएजेंट

मिलती-जुलती skills