subagent-dag-orchestration
यह क्या करती है
यह स्किल दिखाती है कि एजेंटों की टीम के लिए बड़े काम को कैसे व्यवस्थित करें, यह तय करते हुए कि कौन से चरण एक साथ चल सकते हैं और कौन से इंतज़ार करेंगे। यह उन लोगों के लिए है जो AI होस्ट को कई हिस्सों वाला जटिल काम देते हैं।
कब इस्तेमाल करें
- ✓जब सौंपा गया काम कई tasks में टूटे जिन्हें एजेंट पूरा कर सकें।
- ✓जब कुछ चरण एक साथ चल सकें और कुछ पिछले परिणामों पर निर्भर हों।
- ✓जब एक चरण को दूसरे चरण का आउटपुट चाहिए और हैंडऑफ़ सही तरीके से सेट करना हो।
Skill का लिंक
https://github.com/EverMind-AI/Raven/blob/main/raven/memory_engine/skills/subagent-dag-orchestration/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे एजेंटों के लिए इस शोध काम को समानांतर tasks में बाँटिए और हर परिणाम लेखन चरण तक पहुँचाइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट tasks को एक graph में समूहित करता है, स्वतंत्र चरणों को एक तय सीमा तक एक साथ चलाता है, और हर चरण का आउटपुट एक फ़ाइल में सहेजता है जिसे अगला चरण पढ़ता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Sub-Agent DAG Orchestration
When to use
The trigger is delegated work that breaks into several tasks.
The host's role decides what to delegate; this guide decides how to group the work.
A DAG node dispatches to an agent on the roster, including Raven-General; it cannot
call the host's tools. Choose from that tool's subagent parameter enum: agent names
on ordinary turns, worker labels when a Worker Table is bound. A worker label selects
the underlying agent together with that worker's brief. The roster describes the
underlying agents' capabilities; its names are not dispatch values on a worker turn.
The host's own coordination calls, such as reading a brief or
checking task status, are not delegated tasks and do not need a graph just because
there are several of them.
For the delegated tasks, test three things before dispatching them one at a time:
- Independence — can two or more steps run at the same time? Independent nodes are
scheduled concurrently, up to the shared sub-agent cap
(
max_concurrent_subagents—spawndraws on the same allowance). - Handoff — does a step hand its result to the next one? A node's output is written
to a file the downstream node reads, and the graph wires that handoff itself. A
spawncan hand its result on too — it takes anode_idand a later task names it the same way a node does — but only across a turn of yours; a graph needs none. - Specialism — do the steps want different sub-agents? The roster at the end of
the tool list says what each agent is for. When a Worker Table is bound, the
subagentparameter also describes each worker's brief; choose a label that fits.
If any of the three holds, express the whole task as one run_subagent_dag call
rather than dispatching sub-agents one at a time. Persistence is not one of the reasons:
every node's prompt and output is written to disk, and so is every spawn's.
Iteration is graphs in series, not a cycle in one graph. A graph is acyclic and
runs once. When the work loops — code changes feeding experiment rounds feeding the
next code change — dispatch one graph per round and drive the loop yourself: each
graph's outputs come back to you, and the next round's nodes reuse the same
instance handles, so each side keeps its context across rounds.
If none of the three holds, dispatch the work to one agent: use spawn if it is offered,
or a one-node graph if run_subagent_dag is the only dispatch path. The host's role still
governs the work; choosing one agent instead of a graph does not change that role.
Every install can run a graph: raven's own agents are on the roster whether or not any
third-party agent is configured, so run_subagent_dag is always available. Which agents
exist is still the roster's answer, not this file's — read it at the end of the tool list.
Use the current parameter enum to choose which names or worker labels you can pass.
Write the brief as the owner gave it
A node sees only its prompt. Whatever the owner asked for, and whatever the owner allowed the node to change, reaches the node only if the prompt carries it -- and the prompt is where a whole run's search space gets narrowed without anyone deciding to narrow it. Three rules, each from a measured loss on 2026-09-08, where a two-round search left the one knob worth most of the result untouched:
- The owner's words and scope go in as written; your steer is marked as yours. Quote the owner's request in every node's brief, not only the first round's. Your own reading of where the gains are is welcome as a suggestion, and it stays a suggestion: "gains can only come from ..." is a boundary the owner never drew. That day the owner allowed "training configuration, data mix, architecture, algorithm"; the round-one brief added "the hyperparameters are exhausted, so gains can only come from three classes outside the falsified list", and the round-two brief to the experiment runner opened with "you change no case". The runner changed nothing in 26 scored runs. One plain training setting, the kind the runner owned, was worth most of the gap to the best known result. It was never tried.
- A list of tried things stays a list; it does not become a category. When a handover names settings already swept, pass the list itself and ask the node to check what is not on it before it picks directions. Eighteen named hyperparameter groups became "the hyperparameters are exhausted"; the
अक्सर पूछे जाने वाले सवाल
क्या सारे tasks एक साथ चलते हैं?
नहीं। सिर्फ़ स्वतंत्र चरण एक साथ चलते हैं, और यह साझा सीमा के भीतर रहता है।
परिणाम चरणों के बीच कैसे जाते हैं?
हर चरण अपना आउटपुट एक फ़ाइल में लिखता है, और अगला चरण वह फ़ाइल पढ़ता है।
क्या कोई sub-agent होस्ट के टूल इस्तेमाल कर सकता है?
नहीं। कोई चरण टीम के एजेंट पर चलता है और होस्ट के अपने टूल को कॉल नहीं कर सकता।
जानकारी
लेखक का मूल विवरण
Use when delegated work breaks into several tasks that agents on the roster can carry out. The host's role decides what to delegate; this skill decides how to group that work. A DAG node dispatches to a roster agent, including the generic agent, and cannot call the host's tools. Choose from the tool's `subagent` parameter enum -- agent names on ordinary turns, worker labels when a Worker Table is bound. The roster describes underlying capabilities. Reading a brief or checking task status is host coordination, not a reason to create graph nodes. Before dispatching tasks one at a time, test thre
repo: EverMind-AI/Raven
लोकप्रियता
- GitHub स्टार
- 6.0k
- रैंकिंग में स्थान
- #14476
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
deck-to-pptx
6.0kयह आपके एजेंट को python-pptx से असली PowerPoint .pptx फ़ाइल बनाना सिखाती है, जिसमें icons, charts, formulas और इस सेटअप के टूल शामिल हैं।
image-gen
6.0kयह आपके एजेंट को OpenRouter पर Google के Nano Banana image मॉडल से लिखे विवरण के आधार पर तस्वीर बनाने देती है।
ppt-script-authoring
6.0kयह आपके एजेंट को स्पष्ट कहानी वाला स्लाइड डेक डिज़ाइन करना और उसे अपने लेआउट के साथ python-pptx प्रोग्राम के रूप में बनाना सिखाती है।
multi-agent-coding
6.0kयह आपके एजेंट को कोडिंग काम सही कोडिंग एजेंट को सौंपने देती है, हर काम के लिए नया एजेंट शुरू करती है और परिणाम फ़ाइलों से आगे भेजती है।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।