Skip to content

Agent teams एजेंट (Agent) टीमें (teams): बहु-सत्र (Multi-session) सहयोग (collaboration)

📚 सीरीज़ नेविगेशन: पिछला लेख [28 skill-creator का उपयोग (Using)] आपको सिखाता (teaches) है कि (how) एक कौशल (skill) कैसे बनाया जाए जिसे सटीक (accurately) रूप से (accurately) ट्रिगर (triggered) किया जा सके। यह (This) लेख "मल्टी-एजेंट सहयोग (multi-agent collaboration)" पर जाता है — कई (several) Claude Code सत्रों (sessions) को (to) एक (a) टीम (team) में व्यवस्थित करें, आप फोरमैन (foreman) के रूप में कार्य (act) करते हैं जो काम (work) सौंपते (assigns) हैं, वे (they) प्रत्येक (each) एक खंड (section) को (to) संभालते (handle) हैं और (and) समानांतर (parallel) में (in) काम (work) करते हैं, और (and) काम पूरा (finishing) करने (after) के बाद (after), आप एकीकृत रूप से (unifiedly) स्वीकार (accept) करते हैं।

⚠️ प्रायोगिक (Experimental), परिवर्तन के अधीन (subject to change): Agent teams आधिकारिक (officially) तौर पर चिह्नित (marked) एक (an) प्रायोगिक (experimental) विशेषता (feature) है, डिफ़ॉल्ट (default) रूप से (by) बंद (off), Claude Code v2.1.32 या (or) उच्चतर (higher) की (requires) आवश्यकता है। इस लेख (article) में आदेश (commands) और डिफ़ॉल्ट (default) मान (values) लेखन के समय (at the time of writing) आधिकारिक दस्तावेज़ (official documentation) पर (on) आधारित (based) हैं, लेकिन इंटरफ़ेस (interface), शॉर्टकट कुंजियाँ (shortcut keys), और व्यवहार (behaviors) बाद में (later) समायोजित (adjusted) किए (be) जा सकते (may) हैं; अनुसरण करने (following) से (to) पहले (before) संस्करण (version) की (to) जांच (check) करने (to) के (to) लिए (for) claude --version का उपयोग (use) करें।

"आपकी (Your) स्क्रीन (screen) पर (on) तीन (three) Claude क्यों (why) खुले हैं? और (And) वे (they) सभी (all) चल (running) रहे (are) हैं।"

"एक (One) फ्रंट-एंड (front-end) को (to) बदल रहा है (is changing), एक (one) बैक-एंड (back-end) को (to) बदल रहा है (is changing), और एक (one) विशेष (specifically) रूप से (specifically) परीक्षण (tests) लिख रहा है (is writing), मैं (I) देख रहा हूँ (am watching) और काम (work) सौंप (assigning) रहा हूँ।"

"क्या वह (that) गड़बड़ (messy) नहीं (not) है? आप अकेले (alone) तीन (three) लोगों (people) पर (on) कैसे नज़र रख सकते (can keep an eye) हैं (can)?"

"मुझे (I) हर समय (all the time) घूरने (stare) की आवश्यकता (need) नहीं (do not) है। वे (They) प्रत्येक (each) अपना काम (own thing) करते (do) हैं, जो भी (whoever) फंस जाता है (gets stuck), जिसे (whoever) मुझे निर्णय (decision) लेने (make) की आवश्यकता (needs) होती है (a), वे मेरे (me) पास (for) आने (come) के लिए (to) पहल करेंगे (will take the initiative) — मैं (I) अपना अधिकांश (most of) समय (time) अन्य काम (other things) करने में (doing) व्यतीत करता हूँ (spend)।"

इस संवाद (dialogue) में तीन (three) Claude खोलने वाला (who opens) व्यक्ति (person) मैं (I) ही (am) हूँ। जब (When) मैंने (I) पहली बार (first time) एक ही (same) स्क्रीन (screen) पर (on) एक साथ कई (multiple) सत्र (sessions) चलाए (ran) थे, तो (then) मेरे (my) बगल वाले (next to) सहकर्मी (colleague) की प्रतिक्रिया (reaction) बिल्कुल वैसी ही (exactly the same) थी — पहले (first) हैरान (surprised), फिर "क्या आप उन पर (on them) नज़र रख सकते (can keep an eye) हैं (can)"। सीधे शब्दों में कहें तो, लोगों (people) को हैरान करने वाला (surprising) बिंदु यह (that) है कि "एक व्यक्ति एक साथ कई (multiple) AI को (to) कैसे निर्देशित (command) कर सकता है (can)", और यही (what) इस लेख (article) को अलग (apart) करने की (to) आवश्यकता (needs) है — Agent teams (एजेंट / Agent टीमें / teams), जो (which) कई (multiple) Claude Code सत्रों (sessions) को एक (a) टीम (team) की तरह सहयोग करने (to collaborate) की (to) अनुमति (allows) देता है, और आप केवल (only) असाइन (assigning) करने और (and) स्वीकार (accepting) करने (for) के लिए (for) जिम्मेदार (responsible) हैं।

इस (This) लेख को पढ़ने (reading) के बाद (After), आपको मिलेगा (will get):

  • Agent teams वास्तव में (exactly) क्या है, यह एकल सत्र (single session) की किस सीमा (what ceiling) को हल करता है (solves), एक वाक्य में स्पष्ट रूप से समझाया (explained) गया है
  • इसके (It) और पिछली (last) लहर (wave) में (in) सीखे गए subagent (उप-एजेंट / subagent) के (between) बीच (between) क्या (what) अंतर (difference) है — "किस (what) समय (time) किस (which) का उपयोग (use) करना (to) है" को अलग करने (distinguish) के लिए (to) एक तुलना तालिका (comparison table)
  • टीम (team) के चार प्रमुख (four key) घटक (components) (leader (नेता / leader), टीम के साथी / teammates, साझा कार्य सूची / shared task list, मेलबॉक्स / mailbox) प्रत्येक क्या (what) करते हैं (do)
  • कई सत्रों (multiple sessions) को (to) प्रबंधित (manage) करने (to) के (to) लिए (for) इस "मास्टर कंट्रोल (master control) स्क्रीन (screen)" claude agents (एजेंट दृश्य / agent view) का (of) उपयोग कैसे (how) करें (to), और टीम (team) में टीम (team) के (of) साथियों (teammates) को (to) स्विच (switch) करने के (to) लिए Shift+Down कैसे (how) करें (to)
  • अपेक्षित आउटपुट (expected output) के (with) साथ (with) एक व्यावहारिक (practical) अभ्यास (exercise) जिसका आप (you) पालन कर सकते हैं (can follow): सुविधा (feature) सक्षम करें (Enable) → तीन-व्यक्ति (three-person) टीम शुरू करें (Start) → उन्हें (them) समानांतर (parallel) में (in) काम (work) करते (doing) हुए देखें (watch)

01 पहले समझें (Understand first): एकल सत्र (single session) की (of) सीमा (ceiling) कहाँ है (is)

आइए (Let's) पहले (first) निष्कर्ष (conclusion) दें (give): Agent teams को एकल (single) Claude Code सत्र (session) की दो (two) दीवारों (walls) को (to) तोड़ने (break through) के लिए (to) डिज़ाइन (designed) किया (is) गया है "सीमित (limited) संदर्भ (context) + केवल (only) धारावाहिक (serial)"

पिछले एक दर्जन (dozen) लेखों (articles) में, हम "एक सत्र (one session)" में इधर-उधर उछल-कूद कर (tossing around) रहे हैं — एक Claude खोलें (open), इसे (it) निर्देश दें (give instructions), और यह (it) कदम दर कदम (step by step) काम (works) करता है। यह मॉडल (model) 90% काम (work) के (for) लिए (for) पर्याप्त (enough) है। लेकिन दो (two) स्थितियाँ (situations) हैं जो छत (ceiling) से (the) टकराएंगी (will hit):

पहला (First), संदर्भ (context) इसे (it) पकड़ (hold) नहीं (cannot) सकता (can)। एक सत्र (One session) में (has) केवल एक (only one) संदर्भ विंडो (context window) (इसे (it) इसकी "कार्यशील मेमोरी / working memory" के (as) रूप (as) में (as) समझा जा / be understood सकता / can है) होती है। यदि आप इसे (it) एक साथ (at the same time) फ्रंट-एंड (front-end), बैक-एंड (back-end), और (and) परीक्षण (testing) कोड (code) के (of) तीन (three) प्रमुख (major) ब्लॉक पढ़ने (read) देते (let) हैं और फिर (then) परिवर्तन (changes) का (of) समन्वय (coordinate) करते हैं, तो मेमोरी (memory) जल्दी (quickly) भर (full) जाएगी (will be), और (and) यह (it) जितना आगे जाएगा (further goes), उतना ही (more) यह "चीजों (things) को भूल (forgets)" जाएगा (will)。

दूसरा (Second), यह (it) केवल (only) एक के बाद एक (one after another) कर (do) सकता (can) है। एकल सत्रों (Single sessions) का (of) सार (essence) क्रमिक (serial) है — ए (A) पढ़ने (reading) के बाद ही (only after), यह (it) बी (B) पढ़ (read) सकता (can) है; फ्रंट-एंड (front-end) बदलने (changing) के बाद ही (only after), बैक-एंड (back-end) की (of) बारी (turn) आ सकती (can come) है। यदि (If) तीन (three) असंबंधित (unrelated) कार्य (tasks) हैं, तो यह (it) केवल (only) लाइन में (in line) लग (line up) सकता (can) है।

समानता (Analogy): एक बड़ी (large) परियोजना (project), आप (you) अकेले प्लंबर (plumber), ईंट (bricklayer) और (and) बढ़ई (carpenter) के रूप में कार्य (act) करते हैं, और (and) आप (you) सभी (all) प्रकार (types) का (of) काम (work) स्वयं (yourself) करते हैं। एक (One) यह है (is) कि (that) आप (you) अपने (your) दिमाग (mind) में (in) एक (same) ही समय (time) में (at) इतनी (so many) चीजें (things) याद नहीं (cannot) रख (remember) सकते (can), अगर आप (you) पानी (plumbing) और बिजली (electricity) को (at) घूरते (stare) हैं, तो आप ईंट (bricklayer) की प्रगति (progress) को भूल जाएंगे (will forget); दूसरा (second) यह है (is) कि (that) आपके (you) पास केवल (only) एक (one) जोड़ी (pair) हाथ (hands) हैं, अगर आप (you) अभी (now) वायरिंग (wiring) कर रहे हैं (are), तो आप (you) टाइल नहीं (cannot) लगा (tile) सकते (can), आप (you) केवल एक काम पूरा (finish) कर (can) सकते (can) हैं (one) और (and) फिर (then) अगले (next) काम (job) पर जा (move on to) सकते (can) हैं। इस समय, चतुर दृष्टिकोण (smart approach) इसे स्वयं (yourself) कठिन तरीके (hard way) से (the) वहन (bear) करना नहीं (not) है, बल्कि (but) फोरमैन (foreman) होना (be) है — कुछ स्वामी (masters) किराए पर (hire) लें, प्लंबर (plumbers), राजमिस्त्री (bricklayers), और (and) बढ़ई (carpenters) प्रत्येक (each) एक (a) खंड (section) को (to) अनुबंधित (contract) करते हैं और (and) एक ही समय में (at the same time) काम (work) शुरू (start) करते हैं, और आप काम (work) सौंपने (assigning) और (and) स्वीकार करने (accepting) के (for) लिए (for) जिम्मेदार (responsible) हैं।

Agent teams आपको "काम (work) करने (doing) वाले (who) एक व्यक्तिगत (personal) कार्यकर्ता (worker)" से (from) "एक (a) फोरमैन (foreman) जो एक टीम (team) को (to) निर्देशित (commands) करता है (who)" में अपग्रेड (upgrades) करता है। यह (It) चार प्रकार के कार्यों (four types of tasks) (आधिकारिक (official) तौर (way) पर (officially) नामित "सर्वश्रेष्ठ (best) उपयोग के मामले / use cases") के लिए (for) उपयुक्त (suitable) है:

  • अनुसंधान (Research) और समीक्षा (review): कई (Several) टीम के साथी (teammates) एक साथ (simultaneously) एक (a) समस्या (problem) के (of) विभिन्न (different) पहलुओं (aspects) की (to) जांच (investigate) करते हैं (do), और (and) फिर एक दूसरे (each other) के (of) निष्कर्षों (findings) पर (on) सवाल उठाते (question) हैं
  • नए मॉड्यूल (New modules) / नई (new) सुविधाएँ (features): प्रत्येक (Each) टीम के साथी (teammate) का (has) पारस्परिक (mutually) रूप (way) से (mutually) गैर-हस्तक्षेप (non-interfering) वाले (non-interfering) भाग (part) पर (on) एकाधिकार (monopoly) होता है (has)
  • प्रतिस्पर्धी (Competing) परिकल्पनाओं (hypotheses) का उपयोग (using) करके डिबगिंग (Debugging): कई (Several) टीम के साथी (teammates) विभिन्न (different) सिद्धांतों (theories) का (to) समानांतर (parallel) में (in) परीक्षण (test) करते हैं (do), एक दूसरे (each other) को (to) गलत (falsify) साबित (prove) करते हैं, और मूल कारण (root cause) तक तेजी से (faster) अभिसरण (converge) करते हैं
  • क्रॉस-लेयर (Cross-layer) परिवर्तन (changes): फ्रंट-एंड (Front-end), बैक-एंड (back-end), और (and) परीक्षण (testing) कई परतों (multiple layers) में (across) फैले (span) हुए हैं, प्रत्येक (each) परत (layer) पर नज़र रखने के लिए (to) एक (a) टीम के साथी (teammate) को (to) असाइन (assign) करें

💡 सारांश (Summary): एकल सत्रों (Single sessions) में "अपर्याप्त (insufficient) मेमोरी (memory), काम (work) केवल (only) धारावाहिक (serial) हो (be) सकता (can) है" की दो दीवारें (two walls) होती हैं; Agent teams आपको एक व्यक्ति के (to) कठिन (hard) ले जाने (carrying) से, लोगों के एक समूह (group) का (of) नेतृत्व (lead) करने (to) के लिए (to) एक फोरमैन (foreman) में (into) अपग्रेड (upgrades) करता है, जो समानांतर (parallel) में (in) काम (work) करते हैं


02 इसके (it) और (and) subagent के (between) बीच (between) वास्तव में (exactly) क्या अंतर (difference) है

यह (This is) सबसे (most) आसानी (easily) से उलझने (confused) वाली जोड़ी (pair) है, और (and) इसे (it) पहले स्पष्ट (clearly) रूप (way) से (clearly) समझाया (explained) जाना (be) चाहिए (must) — अन्यथा (otherwise), भले ही (even if) आप (you) दोनों (both) कार्यों (functions) को (to) सीखते (learn) हैं, आपको नहीं (will not) पता (know) होगा कि किस (which) का उपयोग (use) करना (to) है।

पिछली लहर (last wave) (लेख 23) में (in) हमने जो subagent (सबएजेंट / subagent) सीखा (learned), वह एक सत्र (one session) में (in) एक विशेष (specialized) सहायक (assistant) को आउटसोर्स (outsourcing) कर (doing) रहा है: इसका (it) अपना स्वतंत्र (independent) संदर्भ (context) है, पूरा (finishing) करने (after) के बाद (after), यह (it) केवल (only) मुख्य (main) संवाद (dialogue) में (to) निष्कर्ष (conclusion) लौटाता (returns) है, टीम के साथी (teammates) एक दूसरे (each other) से बात नहीं (do not) करते हैं, और (and) वे (they) सीधे आपके नियंत्रण (your control) में (under) नहीं (not) हैं। Agent teams बिल्कुल भी (at all) एक (same) ही (same) बात (thing) नहीं (not) है — यह (it) सहयोग करने वाले (collaborating) कई समान (equal), पूर्ण (complete) Claude Code सत्र (sessions) है, टीम के साथी (teammates) सीधे (directly) एक दूसरे (each other) को संदेश (messages) भेज (send) सकते (can) हैं, और (and) आप (you) नेता (leader) को बायपास (bypass) भी (also) कर (can) सकते (can) हैं और सीधे (directly) एक निश्चित (a certain) टीम के साथी (teammate) से (with) चैट (chat) कर (can) सकते (can) हैं।

समानता (Analogy): Subagent एक (a) अस्थायी कार्यकर्ता (temporary worker) है जिसे आप काम (errand) चलाने के (to) लिए (to) भेजते (send) हैं, agent team एक (a) क्रू (crew) है जिसे (which) आप काम (work) शुरू (start) करने के (to) लिए (to) एक साथ (together) बुलाते (gather) हैं। अस्थायी (Temporary) काम (errand) करने वाला व्यक्ति (worker), आप (you) कहते (say) हैं "जाओ (go) और (and) इन (these) एक हजार (one thousand) पंक्तियों (lines) के (of) लॉग (logs) से त्रुटियों (errors) को (to) छांटो (sort out)", वह (he) इसे (it) खुद (himself) करता (does) है, और इसे करने (doing) के बाद (after), वह (he) वापस (back) आता (comes) है और एक पर्ची (slip of paper) सौंप (hands) देता है, वह (he) आपके (your) किसी भी (any) अन्य (other) अस्थायी कार्यकर्ता (temporary worker) को (to) नहीं (does not) जानता (know) है, और (and) पूरी (entire) प्रक्रिया (process) में केवल (only) आप (you) एकमात्र (only) बेहतर (superior) डॉकिंग (docking) हैं; जबकि (while) एक (a) चालक दल (crew) में (in) कार्यकर्ता (workers), वे (they) एक दूसरे (each other) के (with) साथ चर्चा (discuss) कर (can) सकते (can) हैं "क्या आपके (your) पक्ष (side) का इंटरफ़ेस (interface) बदल (changed) गया है (has), मेरे (my) लिए (for) डॉक (dock) करना (to) आसान (easy) है", और (and) आप (you), फोरमैन (foreman), किसी भी कार्यकर्ता (any worker) के पास (to) जा (go) सकते (can) हैं और कुछ शब्द (a few words) अकेले (alone) दे (give) सकते (can) हैं।

विशिष्ट (specific) विवरण (details) में (to) अंतर (difference), यह (this) तालिका (table) है — यदि आप कुछ (anything) और (else) याद नहीं (cannot) रख (remember) सकते (can) हैं, तो इसे याद रखें (remember it):

आयाम (Dimension)Subagent (उप-एजेंट / Subagent)Agent teams (इंटेलिजेंट एजेंट / Intelligent agent टीमें / teams)
संदर्भ (Context)स्वतंत्र (Independent) संदर्भ (context), परिणाम (results) कॉलर (caller) को (to) वापस (back) भेजे गए (sent)स्वतंत्र (Independent) संदर्भ (context), पूरी तरह से (completely) स्वतंत्र (independent)
कौन (Who) समन्वय कर रहा है (coordinating)मुख्य (Main) एजेंट (agent) सभी कार्यों (all work) का (of) प्रबंधन (manages) करता हैLeader (नेता / Leader) समन्वय (coordinates) करता है, लेकिन साझा कार्य सूची (shared task list) के (through) माध्यम से (through) आत्म-समन्वय (self-coordination) है
टीम के साथियों (teammates) के (Between) बीच (between)कोई (No) संचार (communication) नहीं (no), केवल मुख्य एजेंट (main agent) को परिणाम (results) की (of) रिपोर्ट (reports) करेंसीधे (Directly) एक दूसरे को संदेश (messages) भेजें (send)
क्या आप (you) सीधे (directly) प्रबंधित (manage) कर (can) सकते (can) हैंनहीं (No), केवल (only) मुख्य (main) संवाद (dialogue) के माध्यम से (through)हाँ (Yes), आप किसी भी टीम के साथी (any teammate) से (with) सीधे (directly) बात (talk) कर (can) सकते (can) हैं
टोकन लागत (Token cost)अपेक्षाकृत कम (Relatively low), परिणाम (results) मुख्य संदर्भ (main context) में (into) संक्षेपित (summarized) किए गए (are)अपेक्षाकृत उच्च (Relatively high), प्रत्येक टीम का साथी (each teammate) एक स्वतंत्र (independent) Claude इंस्टेंस (instance) है
के लिए (For) सबसे उपयुक्त (Best suited)केंद्रित (Focused) कार्य (tasks) जिन्हें केवल परिणामों (results) की आवश्यकता होती है, चर्चा की (of discussion) आवश्यकता नहीं (no need) होती हैजटिल (Complex) सहयोग (collaboration) जिसके लिए चर्चा (discussion) और (and) एक-दूसरे (each other) पर सवाल (questioning) उठाने (of) की आवश्यकता (requires) होती है

सबसे अधिक (Most) याद (remembered) रखने (to be) वाला एक (one) आधिकारिक (official) निर्णय (judgment) मानक (standard):

जब आपको (you) परिणामों (results) की (to) रिपोर्ट (report) करने के (to) लिए (for) तेज़ (fast), केंद्रित (focused) कार्यकर्ताओं (workers) की (of) आवश्यकता (need) हो (when), तो subagents (उप-एजेंटों / subagents) का (of) उपयोग करें (use)。जब टीम के साथियों (teammates) को निष्कर्ष (findings) साझा करने (share), एक दूसरे (each other) को (to) चुनौती देने (challenge) और आत्म-समन्वय (self-coordinate) करने (to) की (to) आवश्यकता (need) हो (when), तो agent teams (एजेंट / agent टीमों / teams) का (of) उपयोग करें (use)。

एक (There is a) और (more) अधिक सीधा (straightforward) मिट्टी का तरीका (earthy method) है: क्या (whether) "श्रमिकों (workers)" के (of) इस समूह (group) को एक दूसरे (each other) के (with) साथ (with) संवाद (communicate) करने (to) की (to) आवश्यकता (need) है? यदि नहीं (not) (वे / they अपना / own काम / work स्वयं / individually करते / do हैं, और / and पूरा / finishing होने / after के / after बाद / after सारांशित / summarize करते / do हैं), तो subagent (उप-एजेंट / subagent) का (of) उपयोग करें (use), जो सस्ता (cheaper) है; यदि आवश्यक हो (necessary) (काम (working) करते (while) समय (while) डॉकिंग (docking), एक दूसरे (each other) में (in) गलती (fault) खोजना (finding)), तो agent teams (एजेंट / agent टीमों / teams) का (of) उपयोग करें (use)。

💡 सारांश (Summary): Subagent काम चलाने वाला (running errands) अस्थायी कार्यकर्ता (temporary worker) है — स्वतंत्र रूप (independently) से (independently) काम (works) करता है, केवल (only) आपको (to you) रिपोर्ट (reports) करता है; agent teams एक चालक दल (crew) है — टीम के साथी (teammates) एक दूसरे (each other) से (with) बात करते हैं (talk), आप (you) सीधे (directly) प्रत्येक (each) को (to) प्रबंधित (manage) कर (can) सकते (can) हैं; क्या (whether) एक दूसरे (each other) के (with) साथ (with) संवाद (communicate) करना (to) है (to), यह वह वाटरशेड (watershed) है जिसे चुनना है (to choose)


03 एक टीम (team) कैसे (how) स्थापित की जाती है (is set up): चार प्रमुख (Four key) घटक (components)

जब एक agent team चलता (runs) है (when), तो इसके पीछे (behind it) केवल चार (only four) भाग (parts) होते हैं। उन्हें (them) पहचानें (Recognize), और तभी आप (you) समझ (understand) सकते हैं (can) कि (what) स्क्रीन (screen) पर (on) क्या (what) हो (happening) रहा है (is)。

समानता (Analogy): एक वास्तविक (real) निर्माण (construction) दल (crew)। एक फोरमैन (foreman) (नेता / leader) है, काम (work) करने वाले (doing) कई (several) कार्यकर्ता (workers) (टीम के साथी / teammates) हैं, दीवार (wall) पर (on) कार्यों (tasks) से (with) भरा (filled) एक (a) टास्क बोर्ड (task board) (टास्क / task सूची / list) है, और कर्मचारी (workers) संचार (communication) के (to) लिए (for) एक दूसरे (each other) को (to) नोट (notes) भी (also) दे (pass) सकते (can) हैं (मेलबॉक्स / mailbox)। जब ये (these) चार (four) चीजें (things) इकट्ठी (gathered) हो जाती (are) हैं, तो (then) चालक दल (crew) चल (run) सकता (can) है।

अधिकारियों (Officials) द्वारा (by) दी गई (given) वास्तुकला (architecture) तालिका (table) ठीक (exactly) ये (these) चार (four) चीजें (things) है:

घटक (Component)भूमिका (Role)
टीम (Team) लीड (lead) (प्रभारी / in charge व्यक्ति / person)वह मुख्य (main) सत्र (session) जो टीम बनाता (creates) है, टीम के साथियों (teammates) को उत्पन्न (generates) करता है, और (and) काम (work) का (of) समन्वय (coordinates) करता है — यानी (that is), वह (the one) जिसे आपने (you) सबसे पहले (first) खोला (opened) था
टीम के साथी (Teammates)स्वतंत्र (Independent) Claude Code उदाहरण (instances) जो प्रत्येक (each) कार्यों (tasks) का दावा (claim) करते हैं और काम (work) करते हैं (do), प्रत्येक (each) का (has) अपना (own) संदर्भ (context) होता है (with)
कार्य सूची (Task list)साझा (Shared) कार्य सूची (work list) जिसका दावा (claimed) किया (are) जाता (are) है और जिसे टीम के साथियों (teammates) द्वारा (by) पूरा (completed) किया (are) जाता (are) है, तीन (three) अवस्थाओं (states) के साथ (with): लंबित (pending) / प्रगति पर (in progress) / पूरा (completed) हुआ (completed)
मेलबॉक्स (Mailbox)एक ऐसी (a) प्रणाली (system) जहाँ एजेंट (agents) एक दूसरे (each other) को संदेश (messages) भेजते हैं (send), टीम के साथियों (teammates) के (from) संदेश (messages) स्वचालित रूप से (automatically) नेता (leader) को वितरित (delivered) किए जाएंगे (will be), आपको (you) मतदान (poll) करने (to) की आवश्यकता (no need) नहीं (no) है

कुछ परिचालन (operational) विवरण (details) जो (that) नौसिखियों (novices) को सबसे अधिक (most) जानने (to know) की (to) आवश्यकता (need) है:

एक (Once) बार जब नेता (leader) सेट (set) हो जाता है, तो उसे बदला नहीं (cannot) जा (be) सकता (can)। वह सत्र (session) जिसने टीम बनाई (created) है वह (will be) अपने शेष (rest of) जीवन (life) के लिए (for) नेता (leader) होगा — आप किसी टीम के साथी (teammate) को (to) नेता (leader) के (to) रूप (as) में (as) "पदोन्नत (promote)" नहीं (cannot) कर (can) सकते (can), न (nor) ही आप (you) नेतृत्व (leadership) को (to) स्थानांतरित (transfer) कर (can) सकते (can) हैं। इसलिए (So) वह सत्र (session) जिसे आपने (you) सबसे पहले (first) खोला (opened) था, वह आपके (your) "फोरमैन (foreman)" का (of) मुख्य निकाय (main body) है

टीम के साथियों (Teammates) के पास (have) काम (work) का दावा (claiming) करने (to) के (to) दो (two) तरीके (ways) हैं। नेता (Leader) स्पष्ट रूप से (explicitly) यह निर्दिष्ट (assign) कर (can) सकता (can) है कि "यह कार्य (task) व्यक्ति (person) A को दिया (given) गया है (is)"; एक टीम का साथी (teammate) हाथ में काम (work) पूरा (finishing) करने (after) के बाद (after), टास्क बोर्ड (task board) से (from) अगला कार्य (task) भी (also) चुन (choose) सकता (can) है जिसका किसी ने (no one) दावा नहीं (not) किया है और (and) जो अटका (stuck) नहीं है (is not) (अधिकारियों / officials ने इसे / it "आत्म-दावा / self-claiming" कहा / call है)। दो (two) टीम के साथियों (teammates) को एक ही (same) कार्य (task) को एक ही समय में (at the same time) पकड़ने (grabbing) से (from) रोकने (To prevent) के लिए (to), सिस्टम (system) बैकअप (backup) के (as) रूप (as) में (as) फ़ाइल ताले (file locks) का (of) उपयोग करता (uses) है, इसलिए कोई (no) टकराव (collisions) नहीं (will not) होगा (will be)。

कार्यों (Tasks) में (have) निर्भरता (dependencies) हो (have) सकती (can) है। उदाहरण के लिए (For example), "परीक्षण (tests) लिखना (Writing)" को "सुविधा को लागू (Implementing) करने (feature)" के (to) पूरा (complete) होने (to) की (to) प्रतीक्षा (wait) करनी (must) चाहिए (must)। अधूरी निर्भरता (uncompleted dependencies) वाले कार्य (Tasks) का दावा (claimed) तब (until) तक (until) नहीं (cannot) किया (be) जा (be) सकता (can) जब (until) तक (until) निर्भरता (dependency) पूरी नहीं (not) हो (completed) जाती (is); एक (once) बार निर्भरता (dependency) पूरी (completed) हो (is) जाने (once) के बाद, अटका (stuck) हुआ (stuck) कार्य (task) स्वचालित (automatically) रूप से (automatically) अनलॉक (unlocked) हो (will be) जाएगा (will)।

टीम के साथी (Teammates) आपके (your) संवाद इतिहास (dialogue history) को (to) प्राप्त (inherit) नहीं (do not) करते (do) हैं। यह (This is) वह (where) जगह है (where) जहां नौसिखियों (novices) के (for) सबसे (most) आसानी से (easily) गलती करने (make mistakes) की (to) संभावना (likely) है — यह मानते हुए (taking it for granted) कि (that) नेता (leader) जो (what) जानता (knows) है (knows), टीम के साथी (teammates) स्वाभाविक (naturally) रूप से (naturally) जानेंगे (will know), जिसके परिणामस्वरूप (resulting in) टीम के साथियों (teammates) को (when) उत्पन्न (generating) करते (when) समय (when) कोई (no) पृष्ठभूमि नहीं (not) दी (given) गई, और (and) वे (they) भ्रमित (confused) हो (are) गए। आधिकारिक दस्तावेज़ (Official documentation) इसे बहुत स्पष्ट रूप से (very clearly) लिखता (writes) है: उत्पन्न होने (generated) पर (when), टीम के साथी (teammates) सामान्य सत्रों (regular sessions) ( CLAUDE.md, MCP, कौशल / skills) के समान (same as) प्रोजेक्ट संदर्भ (project context) को (to) लोड करेंगे (will load), लेकिन (but) नेता (leader) का (of) संवाद इतिहास (dialogue history) विरासत में नहीं मिलेगा (will not be inherited)। इसलिए (So) जब काम (work) सौंपते (assigning) हैं (when), तो पृष्ठभूमि (background) को (to) निर्देशों (instructions) में (in) स्पष्ट रूप (clearly) से (clearly) समझाया (explained) जाना (be) चाहिए (must)।

💡 सारांश (Summary): एक (A) टीम (team) = फोरमैन (foreman) (नेता / leader, जो एक / once बार सेट / set होने / after के / after बाद / after बदला नहीं / cannot जा / be सकता / can) + श्रमिक (workers) (टीम के साथी / teammates, प्रत्येक / each का / with एक / an स्वतंत्र / independent संदर्भ / context है) + टास्क बोर्ड (task board) (साझा / shared सूची / list, निर्भरता / dependencies हो / have सकती / can है, स्व-दावा / self-claim किया / claimed जा / be सकता / can है) + मेलबॉक्स (mailbox) (संदेश भेजें / send messages); काम / work सौंपते / assigning समय / when पृष्ठभूमि / background को / to पूरी / fully तरह / fully से समझाना / explain याद / remember रखें / remember, टीम के साथी / teammates आपका / your इतिहास / history नहीं / do not पढ़ते / read हैं

Agent teams (एजेंट / Agent टीम / teams) संरचना (structure): फोरमैन (Foreman) काम (work) सौंपता (assigns) है, टीम के साथी (teammates) समानांतर (parallel) काम (work) करते हैं, टास्क बोर्ड (task board) समन्वय (coordinates) करता है, मेलबॉक्स (mailbox) संचार (communicates) करता है

यह (This) आरेख (diagram) स्पष्ट रूप (clearly) से (clearly) एक (an) एजेंट (agent) टीम (team) के (of) चार भागों (four parts) को (to) व्यवस्थित (lays out) करता है: बीच में (in the middle) आप (you), नेता (leader) (फोरमैन / foreman) हैं, जो प्रत्येक (each) को (to) एक खंड (section) को अनुबंधित (contracting) करते (doing) हुए कई (several) स्वतंत्र (independent) टीम के साथी (teammates) (श्रमिकों / workers) उत्पन्न (generating) करते हैं; नीचे (below), एक (a) साझा टास्क बोर्ड (task board) हर किसी (everyone) को कार्यों (tasks) का (of) दावा (claim) करने (to) और निर्भरता (dependencies) को (to) स्वचालित रूप से (automatically) संभालने (handle) की (to) अनुमति (allows) देता है; टीम के साथियों (teammates) के पास (have) एक सीधा मेलबॉक्स (direct mailbox) कनेक्शन (connection) भी (also) होता है — चाहे (whether) संदेश (messages) नेता (leader) को बाईपास (bypass) करते हैं (do) या नहीं (not), जो कार्यों (tasks) का (of) दावा (claims) करता है, यह एक नज़र (a glance) में (at) स्पष्ट (clear) है


04 कई सत्रों (multiple sessions) को (to) प्रबंधित (manage) करने (to) के (to) लिए (for) "मास्टर कंट्रोल स्क्रीन (master control screen)" के रूप में (as) एजेंट (agent) व्यू (view) का (of) उपयोग (Use) करें

टीम (team) ऊपर (up) है, और (and) समस्या (problem) आती है (comes): एक ही समय में (at the same time) कई सत्र (multiple sessions) चल रहे हैं (are running), मैं (I) कहाँ देखूँ (look)?

उत्तर (answer) है एजेंट दृश्य (agent view) — एक "मास्टर कंट्रोल स्क्रीन (master control screen)" जो एक (one) स्क्रीन (screen) पर (on) सभी (all) पृष्ठभूमि सत्रों (background sessions) को (to) प्रदर्शित (displays) करती है, आदेश (command) claude agents है।

⚠️ एजेंट दृश्य (agent view) एक अनुसंधान पूर्वावलोकन (research preview) संस्करण (version) है, जिसके (which) लिए Claude Code v2.1.139 या उच्चतर (higher) की (requires) आवश्यकता (requires) होती है, और इंटरफ़ेस (interface) और शॉर्टकट कुंजियाँ (shortcut keys) संस्करण (version) के (with) साथ बदल (change) सकती (may) हैं।

समानता (Analogy): एक निर्माण स्थल (construction site) की (of) दीवार (wall) पर (on) वह (that) परियोजना प्रगति बोर्ड (project progress board)। आपको (You) यह (to) पूछने के (to) लिए (for) प्रत्येक कार्य केंद्र (every workstation) पर (to) जाने (go) की (to) आवश्यकता (no need) नहीं (no) है कि "काम कहाँ (where) तक (to) पहुँच (reached) गया है", बस (just) नज़र (look up) उठाएं (up) और (and) बोर्ड (board) पर (at) नज़र (glance) डालें — कौन सी (which) प्रक्रिया (process) चल रही है (is going on), कौन सी (which) अटका हुआ है (is stuck) आपके (you) निर्णय (make a decision) लेने (to) का (for) इंतजार कर (waiting) रहा (is) है, कौन सी (which) पहले ही (already) स्वीकार (accepted) कर (been) ली गई है (has), यह एक नज़र में (at a glance) स्पष्ट (clear) है। claude agents Claude Code का (of) वह (that) बोर्ड (board) है: प्रत्येक (each) सत्र (session) एक पंक्ति (one line) लेता (takes up) है, और पंक्ति (line) के (of) शुरुआत (beginning) में (at) एक आइकन (icon) आपको (you) अपनी स्थिति (its status) बताने (to tell) के लिए (to) रंग (colors) और एनीमेशन (animation) का (of) उपयोग करता (uses) है।

आधिकारिक स्थिति तुलना (Official status comparison), सबसे (most) अधिक उपयोग किए जाने वाले (used) को (to) चुनना (picking):

स्थिति (Status)चिह्न (Icon) प्रदर्शन (display)अर्थ (Meaning)
कार्य कर (Working) रहा है (is)एनीमेशन (Animation)Claude उपकरण (tools) चला रहा है (is running) या (or) प्रतिक्रियाएँ (responses) उत्पन्न (generating) कर रहा है (is)
इनपुट (input) की आवश्यकता (Needs) हैपीला (Yellow)आपको किसी प्रश्न (a question) का (of) उत्तर देने (to answer) या (or) किसी अनुमति (a permission) को स्वीकृत करने (to approve) की (to) प्रतीक्षा कर (waiting) रहा (is) है
पूर्ण (Completed) हुआ (Completed)हरा (Green)कार्य सफलतापूर्वक (successfully) संपन्न (completed) हो गया (was)
विफल (Failed)लाल (Red)कार्य एक (an) त्रुटि (error) के (with) साथ (with) समाप्त (ended) हुआ

इस बोर्ड (this board) पर (On), आप (you) किसी भी (any) पंक्ति (line) पर (on) तीन चीजें (three things) कर (can) सकते (can) हैं, सबसे हल्की (lightest) से सबसे भारी (heaviest) तक (to):

  • झांकें (Peek): इस सत्र (this session) का (of) नवीनतम आउटपुट (latest output) देखने (to see) के (to) लिए (for) एक (a) छोटा (small) पैनल (panel) खोलने (open) के (to) लिए (for) Space दबाएं, या (or) यह वर्तमान में (currently) किस समस्या (problem) पर (on) अटका हुआ है (is stuck) — अधिकांश (most) समय (time), यह (this is) पर्याप्त (enough) है, आपको वास्तव में (actually) अंदर जाने (go in) की (to) आवश्यकता (no need) नहीं (no) है。आप (You) सीधे (directly) झांकने वाले पैनल (peek panel) में (in) एक (a) उत्तर (reply) भी (also) टाइप कर (can type) सकते (can) हैं और इसे भेजने (send) के (to) लिए (to) Enter दबा सकते (can) हैं, यह सब (all) बिना अंदर जाए (without going in)。
  • उत्तर (Reply): आप (You) सीधे (directly) पीक पैनल (peek panel) में (in) उत्तर (reply) दे (can) सकते (can) हैं। यदि (If) यह एक (a) बहुविकल्पीय प्रश्न (multiple-choice question) फेंकता (throws) है, तो (then) आप (you) चयन (choose) करने (to) के (to) लिए (for) संख्या (number) कुंजियों (keys) को दबा (can press) सकते (can) हैं।
  • संलग्न करें (Attach): इस (this) सत्र (session) के (of) संपूर्ण संवाद (complete dialogue) में गोता लगाने (dive) के (to) लिए Enter या (or) दबाएं, ठीक (just) वैसे ही जैसे आप (you) आमतौर (usually) पर एक (a) एकल (single) Claude खोलते (open) हैं। बोर्ड (board) पर वापस आने (come back) के लिए (to) खाली इनपुट बॉक्स (empty input box) पर दबाएं (Press)。

एक (There is a) विशेष रूप से (particularly) सुविधाजनक (convenient) डिज़ाइन (design) है: इन (these) पृष्ठभूमि सत्रों (background sessions) को (to) चलाने (run) के (to) लिए (for) किसी टर्मिनल (any terminal) को खोलने (be open) की आवश्यकता नहीं (do not need) है। पृष्ठभूमि (background) में (in) एक (an) स्वतंत्र (independent) पर्यवेक्षक (supervisor) प्रक्रिया (process) उन्हें (them) होस्ट (hosts) करती है — यदि आप (you) एजेंट व्यू (agent view) को बंद करते (close) हैं, इस (this) शेल (shell) को (to) बंद करते (close) हैं, या (or) यहां तक कि एक (a) नया सत्र (new session) भी खोलते (open) हैं, तो (then) वे (they) सभी चलते रहते (keep running) हैं। जब (When) आप वापस आते (come back) हैं और claude agents खोलते (open) हैं, तो वे (they) अभी भी (still) वहां (there) हैं।

आप पूरी तरह से (completely) claude के बजाय (instead of) claude agents को मुख्य प्रवेश द्वार (main entrance) के रूप में (as) उपयोग (use) कर (can) सकते (can) हैं: प्रवेश (Enter) करें और (and) पहले (first) बोर्ड (board) के (of) निचले हिस्से (bottom) में (in) इनपुट बॉक्स (input box) में कुछ (a few) स्वतंत्र कार्य (independent tasks) फेंक दें (throw) (प्रत्येक संकेत / prompt टाइप / typing करने / after के / after बाद / after, एक नया सत्र / new session समानांतर / parallel में / in चलाने / run के / to लिए / to Enter दबाएं), और फिर (then) वह (what) करें (do) जो (what) आपको करना (do) चाहिए (should), और फिर (then) वापस आएं (come back) और (and) इसे संभालें (handle it) जब कोई पंक्ति (line) पीली हो (turns yellow) (आपकी / you आवश्यकता / needs है) या (or) हरी हो जाती है (turns green) (किया / done गया / is)。यह (This is) आगे और पीछे (back and forth) स्विच (switch) करने (to) के (to) लिए (for) सात (seven) या (or) आठ (eight) टर्मिनल (terminal) विंडो (windows) खोलने (opening) की (than) तुलना (compared) में (to) बहुत (much) अधिक ताज़ा (refreshing) है।

💡 सारांश (Summary): claude agents कई (multiple) सत्रों (sessions) को (to) प्रबंधित (manage) करने (to) के (to) लिए "मास्टर नियंत्रण (master control) स्क्रीन (screen)" है — प्रति (per) पंक्ति (line) एक (one) सत्र (session), स्थिति (status) जानने (know) के (to) लिए (for) रंग (color) देखें (look at); झांकने (peek) के (to) लिए (for) Space, गोता लगाने (dive) के (to) लिए (for) Enter, बाहर निकलने (exit) के (to) लिए (for) ; सत्र (Sessions) पृष्ठभूमि (background) में (in) चलते (run) हैं, इसे (it) देखने (watch) के (to) लिए (to) टर्मिनल (terminal) को हर समय (all the time) खुला (open) रखने (keep) की कोई (no) आवश्यकता नहीं (need) है


05 टीम (team) में टीम के साथियों (teammates) को निर्देशित करें (Command): काम (work) सौंपें (assign), लोगों (people) को स्विच करें (switch), योजनाओं (plans) के लिए पूछें (ask)

पूर्ववर्ती (preceding) खंड (section) "बहु-सत्रों (multi-sessions)" के (for) लिए सामान्य प्रबंधन (general management) विधि (method) है। एजेंट टीमों (agent teams) पर (to) लौटते (Returning) हुए, आप (you), नेता (leader) के (as) रूप (as) में (as), विशेष रूप से (specifically) टीम के साथियों (teammates) के (of) इस (this) समूह (group) को कैसे निर्देशित (command) करते (do) हैं? मुख्य बात (core) केवल एक (one) वाक्य (sentence) है: सादे शब्दों (plain words) में नेता (leader) को बताएं (tell) कि आप क्या चाहते हैं (what you want), और यह आपके (you) लिए समन्वय (coordination), कार्य असाइनमेंट (task assignment) और प्रतिनिधिमंडल (delegation) को संभालेगा (will handle)

एक टीम (team) शुरू (Start) करें, किसी (any) कमांड (commands) को (to) याद (remember) रखने (remember) की (to) आवश्यकता (no need) नहीं (no) है, बस कार्य (task) और (and) टीम (team) संरचना (structure) का प्राकृतिक (natural) भाषा (language) में (in) वर्णन (describe) करें। वह (That) उदाहरण (example) जिसे (which) आधिकारिक दस्तावेज़ (official document) बहुत प्रभावी (very effective) मानता है (considers) (तीन (three) भूमिकाएँ (roles) एक दूसरे से (each other) स्वतंत्र (independent) हैं, प्रतीक्षा (wait) करने की आवश्यकता नहीं (no need) है):

text
मैं (I) एक (a) CLI टूल (tool) डिज़ाइन (designing) कर (am) रहा हूँ जो डेवलपर्स (developers) को उनके (their) कोडबेस (codebase) में TODO टिप्पणियों (comments) को (to) ट्रैक (track) करने में (to) मदद (helps) करता है। इसे (this) विभिन्न कोणों (different angles) से (from) तलाशने (explore) के (to) लिए (to) एक एजेंट टीम (agent team) बनाएँ (Create): UX पर एक (one) टीम के साथी (teammate), तकनीकी (technical) वास्तुकला (architecture) पर (on) एक (one), एक (one) शैतान के (devil's) वकील (advocate) की (playing) भूमिका (playing) निभा रहा है।

चीनी (Chinese) में (Into) अनुवाद (Translated), आप सीधे (directly) कह (can say) सकते (can) हैं: "इस (this) समस्या (problem) का विभिन्न (different) दृष्टिकोणों (perspectives) से (from) पता लगाने (explore) के लिए (to) एक (an) एजेंट (agent) टीम (team) बनाने (build) में (in) मेरी (me) मदद (Help) करें (to): एक (one) UX के (for) लिए जिम्मेदार (responsible) है, एक (one) तकनीकी वास्तुकला (technical architecture) के (for) लिए जिम्मेदार (responsible) है, और (and) एक (one) विशेष (specifically) रूप से (specifically) विपरीत (opposite) धुन (tune) गाता (sings) है (唱反调)।" Claude टीम (team) बनाएगा (will create), परिप्रेक्ष्य (perspective) के (to) अनुसार (according to) टीम के साथी (teammates) उत्पन्न (generate) करेगा (will), उन्हें (them) व्यक्तिगत (individually) रूप से (individually) अन्वेषण (explore) करने (to) देगा (will let), और (and) अंत में (finally) निष्कर्षों (findings) को (to) संश्लेषित (synthesize) करेगा (will)।

टीम के साथियों (teammates) को स्विच करें (Switch), और उन्हें (them) व्यक्तिगत (individually) रूप से (individually) निर्देश (instruct) दें। इन-प्रोसेस (in-process) (उसी / same टर्मिनल / terminal के / within भीतर / within) मोड (mode) में (in), टीम के साथियों (teammates) के (between) बीच (between) चक्र (cycle) करने के (to) लिए (to) Shift+Down दबाएं (press), और जब (when) आप किसी निश्चित टीम के साथी (a certain teammate) के (to) पास (to) जाते हैं, तो आप (you) सीधे (directly) उसे (him) एक (a) संदेश (message) भेजने (send) के (to) लिए (to) टाइप कर (can type) सकते (can) हैं — एक (an) निर्देश (instruction) जोड़ें (add), एक (an) अनुवर्ती (follow-up) प्रश्न (question) पूछें (ask), या उसे (him) अपना विचार बदलने (change his mind) के (to) लिए (to) कहें (ask)। विवरण (details) देखने (to see) के लिए (for) उसके (his) सत्र (session) में प्रवेश करने (enter) के (to) लिए Enter दबाएं (Press), वर्तमान दौर (current round) को (to) बाधित (interrupt) करने के (to) लिए Escape दबाएं (Press), और (and) कार्य सूची (task list) को स्विच (switch) करने के (to) लिए Ctrl+T दबाएं (Press)। अंतिम टीम के साथी (last teammate) पर स्विच करने (switching) के (after) बाद (after), फिर से (again) Shift+Down दबाने (pressing) से यह (it) वापस (back) नेता (leader) के पास लूप (loop) हो जाएगा (will)।

ध्यान (pay) दें (attention) कि (that) यहाँ (here) शॉर्टकट कुंजियों (shortcut keys) को (to) पिछले (previous) अनुभाग (section) के (with) साथ (with) भ्रमित न (do not) करें: पृष्ठभूमि सत्रों (background sessions) को (to) प्रबंधित (manage) करने (to) के (to) लिए (for) मास्टर कंट्रोल स्क्रीन (master control screen) पंक्तियों (lines) को स्विच (switch) करने के (to) लिए (to) / का उपयोग (uses) करती है, जबकि (while) एजेंट (agent) टीम (team) टीम के साथियों (teammates) को स्विच (switch) करने के (to) लिए (to) Shift+Down का (uses) उपयोग करती है (uses); दो (two) परिदृश्य (scenarios), कुंजियों (keys) के (of) दो (two) सेट (sets)。

कार्रवाई करने से (taking action) पहले (before) टीम के साथियों (teammates) को (to) एक (a) योजना (plan) के (with) साथ आने (come up) दें (Let)। जब काम (work) जोखिम (risk) भरा (risky) हो (is), तो आप टीम के साथियों (teammates) से (to) केवल (only) पढ़ने के लिए (read-only) योजना (planning) मोड (mode) में (in) पहले योजना (plan) बनाने (to plan) के लिए (to) कह (can ask) सकते (can) हैं, और (and) इसे (it) लागू करने (implementing) से (before) पहले आपके (you) (नेता / leader) द्वारा इसे (it) अनुमोदित (approve) करने (to) की (to) प्रतीक्षा कर (wait) सकते (can) हैं:

text
प्रमाणीकरण मॉड्यूल (authentication module) को रिफैक्टर (refactor) करने के (to) लिए (for) एक आर्किटेक्ट (architect) टीम के साथी (teammate) को (to) उत्पन्न करें (Generate)।
इससे (before) पहले (before) कि वह (he) कुछ भी (anything) बदले (changes), इसे (it) पहले (first) योजना (plan) अनुमोदन (approval) से (through) गुजरना होगा (must go)।

योजना (planning) समाप्त करने के (after) बाद (After), टीम के साथी (teammate) नेता (leader) को (to) "योजना अनुमोदन (plan approval) अनुरोध (request)" भेजेंगे (will send)। आपके (your) द्वारा (by) इसे (it) स्वीकृत (approve) करने (after) के बाद ही (Only after), यह (it) योजना (planning) मोड (mode) से (from) बाहर (exit) निकलेगा (will) और काम (working) करना शुरू (start) करेगा (will); यदि आप (you) इसे (it) अस्वीकार (reject) करते हैं, तो (then) यह (it) प्रतिक्रिया (feedback) के (to) अनुसार (according to) इसे (it) संशोधित (modify) करेगा (will) और (and) इसे (it) फिर से सबमिट (resubmit) करेगा (will)।

टीम के साथियों (teammates) की (of) संख्या (number) और (and) मॉडल (model) निर्दिष्ट करें (Specify)। आप (You) यह (it) भी (also) स्पष्ट (clearly) कर (can state) सकते (can) हैं कि आपको (you) कितने (how many) चाहिए (want) और किस मॉडल (which model) का (of) उपयोग करना (to use) है:

text
इन (these) मॉड्यूल (modules) को (to) समानांतर में (in parallel) रिफैक्टर (refactor) करने के (to) लिए (to) 4 टीम के साथियों (teammates) के (with) साथ एक (a) टीम (team) बनाएं (Build)।
प्रत्येक टीम के साथी (Each teammate) Sonnet का उपयोग (uses) करते हैं।

पैसे बचाने (saving money) के (for) लिए एक प्रमुख बिंदु (key point) जिसे अनदेखा न (do not) करें: टीम के साथी (Teammates) डिफ़ॉल्ट (default) रूप से (by) नेता (leader) के (of) /model विकल्प (choice) का पालन नहीं (do not) करते (do) हैं। यदि आप (you) अपने (their) मॉडल (models) को समान रूप से (uniformly) बदलना (change) चाहते (want) हैं (to), तो या तो (either) उन्हें (them) प्रॉम्प्ट (prompt) में (in) निर्दिष्ट (specify) करें (जैसा (like) कि ऊपर (above) दिया (given) गया है (is)), या (or) "डिफ़ॉल्ट (default) टीम साथी (teammate) मॉडल (model)" सेट (set) करने के (to) लिए (to) /config पर जाएं (go)。

समाप्त करें (Finish) और (and) पैक (pack up) करें (up)। जब काम (work) हो जाए (is done) (when), तो नेता (leader) को (to) टीम (team) को साफ (clean) करने (up) के लिए (to) कहें (ask):

text
इस (this) टीम (team) को (to) साफ़ करें (Clean up)

⚠️ अधिकारियों (Officials) ने (have) बार-बार (repeatedly) जोर दिया (emphasized) है: सफाई (Cleaning up) नेता (leader) के (through) माध्यम से (through) होनी चाहिए (must go), टीम के साथियों (teammates) को (to) इसे (it) साफ (clean) करने (to) न दें (do not let) — टीम के साथियों (teammates) के (of) टीम (team) संदर्भ (context) को गलत तरीके (incorrectly) से पार्स (parsed) किया जा (be) सकता (may) है, जिससे संसाधनों (resources) को असंगत (inconsistent) स्थिति (state) में छोड़ (leaving) दिया जा (be) सकता (can) है। इसके अलावा (Moreover), सफाई (cleaning up) करने (before) से पहले (before), जो टीम के साथी (teammates) अभी (still) भी (also) चल रहे हैं (running) उन्हें पहले (first) बंद (closed) किया जाना चाहिए (must be), अन्यथा (otherwise) यदि (if) नेता (leader) सक्रिय (active) टीम के साथियों (teammates) का (to) पता (detects) लगाता है, तो सफाई (cleanup) विफल हो (will fail) जाएगी (will)।

💡 सारांश (Summary): एक (A) टीम (team) शुरू (start) करें, काम (work) सौंपें (assign), टीम के साथियों (teammates) को स्विच (switch) करें ( Shift+Down), योजना अनुमोदन (plan approval) के लिए पूछें (ask for), और पैक (pack up) करें (up) और साफ करें (clean up), नेता (leader) को निर्देशित (commanding) करने (to) के (to) लिए (for) सभी (all) सादे शब्दों (plain words) का उपयोग करें (use); तीन बातों (three things) को (to) ध्यान में (in mind) रखें — टीम के साथी (teammate) मॉडल (models) को अलग से (separately) निर्दिष्ट (specified) किया जाना चाहिए (must be), पृष्ठभूमि (background) को निर्देशों (instructions) में (in) पूरी तरह से (fully) दिया जाना चाहिए (must be), और सफाई (cleanup) केवल (only) नेता (leader) के माध्यम से (through) जाती है


06 क्या (whether) टीम (team) का उपयोग (use) करना (to) है: केवल विभाजित (splitting) करने के (for) लिए विभाजित (split) न (do not) करें

यह (this) सीखने (learning) के बाद (after), आप (you) हर चीज़ (everything) को एक (a) टीम (team) में (into) विभाजित (split) करने और (and) इसे चलाने (running) के (to) लिए (to) उत्सुक (eager) हो (may) सकते (may) हैं। रुकें (Stop) — यह (this is) ठीक (exactly) वही (that) प्रति-सहज (anti-intuitive) लौह (iron) नियम (rule) है (what) जो 23वें लेख (article) में (in) subagent (उप-एजेंट / subagent) के (about) बारे में (about) बात (talking) करते समय (when) जारी रहा (continued): यह (it) ऐसा नहीं (not) है कि जितने अधिक (more) कार्य (tasks) होंगे, उतना ही आपको (you) उन्हें विभाजित (split) करना (should) चाहिए

Agent teams की (have) वास्तविक (real) लागतें (costs) हैं, और (and) वे (they) subagents से (than) भारी (heavier) हैं:

पहला (First), वे (they) बहुत (a lot of) सारे (a lot of) टोकन (tokens) जलाते (burn) हैं। प्रत्येक (Each) टीम के साथी (teammate) एक (a) पूर्ण (complete), स्वतंत्र (independent) Claude उदाहरण (instance) है जिसमें (with) अपना (its own) संदर्भ (context) है, कई (several) टीम के साथी (teammates) कई (several) शेयर (shares) के (of) टोकन (tokens) जल (burning) रहे हैं (mean)। अधिकारी (Officials) स्पष्ट (straightforward) हैं: दैनिक (daily) कार्यों (tasks) के (for) लिए (for), एकल सत्र (single sessions) अधिक लागत प्रभावी (cost-effective) हैं; केवल (only) जब काम (work) जैसे (like) अनुसंधान (research), समीक्षा (review), और (and) नई (new) विशेषताएं (features) वास्तव में (truly) समानांतरकरण (parallelization) से (from) लाभान्वित (benefit) हो (can) सकती (can) हैं, तो अतिरिक्त (extra) टोकन (tokens) खर्च (spent) करने (worth) के (worth) लायक हैं (are)।

दूसरा (Second), समन्वय (coordination) में ही (itself) ओवरहेड (overhead) होता है। जितने अधिक (more) टीम के साथी (teammates) होंगे, संचार (communication), कार्य समन्वय (task coordination), और संभावित (potential) संघर्ष (conflicts) उतने ही (more) अधिक (more) होंगे। एक निश्चित (a certain) बिंदु (point) पार करने (passing) के बाद (After), अधिक लोगों (people) को जोड़ने (adding) से (will) समानुपातिक रूप से (proportionally) गति नहीं (not) बढ़ेगी (speed up) — तीन केंद्रित (focused) टीम के साथी (teammates) अक्सर (often) पांच (five) बिखरे हुए (scattered) टीम के साथियों (teammates) को (to) पीछे छोड़ (outperform) देते हैं।

मैंने (I) "क्या यह (it) विभाजित (splitting) करने (to) के (to) लायक (worth) है (is)" को एक तुलना तालिका (comparison table) में (into) व्यवस्थित (organized) किया है, तदनुसार (accordingly) अपनी सीट (your seat) लें (take):

परिदृश्य (Scenario)क्या (whether) एक (a) टीम (team) में (into) विभाजित (split) करना (to) है
फ्रंट-एंड (Front-end) / बैक-एंड (back-end) / परीक्षण (testing) तीन परतों (three layers) को (to) समानांतर (parallel) में बदला (changed) गया (are), कोई निर्भरता नहीं (no dependencies)✅ विभाजित करें (Split), प्रत्येक (each) एक (a) परत (layer) को अनुबंधित (contracting) करता है (is) एकदम सही (perfect) है
एक (a) बग (bug) का (of) मूल कारण (root cause) अज्ञात (unknown) है, समस्या निवारण (troubleshoot) के लिए (to) समानांतर (parallel) में कई (multiple) प्रतिस्पर्धी (competing) परिकल्पनाओं (hypotheses) का उपयोग करना (use) चाहते हैं (want)✅ विभाजित करें (Split), टीम के साथियों (teammates) को (to) एक दूसरे (each other) को गलत (falsify) साबित (prove) करने (to) दें (let), यह (it) तेजी से (faster) अभिसरण (converge) करेगा (will)
एक साथ (Simultaneously) पीआर (PR) की (of) समीक्षा (review) करने (doing) वाले कई (multiple) लोग (people) (सुरक्षा / security, प्रदर्शन / performance, और / and परीक्षण कवरेज / test coverage के लिए प्रत्येक / each एक / one)✅ विभाजित करें (Split), ओवरलैप किए बिना (without overlapping) फिल्टर (filters) के (of) प्रत्येक (each) सेट (set) का उपयोग करें (use)
अनुक्रमिक निर्भरता (sequential dependencies) के (with) साथ (with) चरणों (steps) की एक (a) श्रृंखला (series) (A पूरा (done) होने (be) के बाद (after) ही B किया (done) जा (be) सकता (can) है)❌ विभाजित न (do not) करें, अनुक्रमिक कार्य (sequential work) एकल सत्रों (single sessions) में (in) चिकना (smoother) होता है
कई (Several) टीम के साथियों (teammates) को समान (same) फ़ाइल (file) को बदलना (change) होगा❌ विभाजित न (do not) करें, एक ही (same) फ़ाइल (file) को (to) संपादित (editing) करने वाले दो (two) लोग एक दूसरे (each other) को (to) अधिलेखित (overwrite) कर देंगे (will)
एक (a) यादृच्छिक (random) छोटा कार्य (small task)❌ विभाजित न (do not) करें, समन्वय (coordination) ओवरहेड (overhead) बचाए (saved) गए समय (time) से (than) अधिक (more) है

अधिकारियों (Officials) ने (have) दो (two) बहुत ही व्यावहारिक (practical) शुरुआती सलाह (starter advice) भी (also) दी (given) है, जिन्हें (which) नौसिखिए (novices) नुकसान (pitfalls) से बचने (avoid) के (to) लिए (for) पालन कर (can follow) सकते (can) हैं:

उन (those) कार्यों (tasks) से शुरू करें (Start) जिनमें "अनुसंधान / Research / समीक्षा / review" जैसे (like) कोड (code) लिखना (writing) शामिल नहीं (not) है। पीआर (PR) की (of) समीक्षा करें (Review), किसी (a) लाइब्रेरी (library) की जांच (investigate) करें, बग्स (bugs) का निवारण (troubleshoot) करें — इन (these) कार्यों (tasks) में स्पष्ट (clear) सीमाएं (boundaries) हैं और (and) इनमें कोड (code) लिखना (writing) शामिल नहीं (not) है। वे (They) आपको समानांतर (parallel) अन्वेषण (exploration) के (of) मूल्य (value) का (of) अनुभव करने (to experience) की अनुमति (allow) देते (can) हैं बिना समानांतर (parallel) कोड (code) लेखन (writing) से (from) परेशानी (trouble) लाए。मैंने (I) पहली बार (first time) agent teams का (of) उपयोग (used) किया था, यह एक पीआर (PR) की (of) समीक्षा (review) करने (to) के (to) लिए (for) था: तीन (three) टीम के साथी (teammates) क्रमशः सुरक्षा (security), प्रदर्शन (performance) और परीक्षण कवरेज (test coverage) पर (on) ध्यान केंद्रित (focused) कर रहे थे (were)। किसी (no one) ने भी (no one) पूरी प्रक्रिया (entire process) के (during) दौरान (during) फ़ाइलों (files) को (to) नहीं (did not) बदला (change), इसलिए स्वाभाविक (naturally) रूप से (naturally) कोई (no) टकराव (conflicts) नहीं (not) था। तीन (three) ब्लॉकों (blocks) से (from) निष्कर्ष (findings) आते (coming in) देखना (Watching) बहुत ताज़ा (refreshing) था — केवल (only) जब अनुभव (experience) सुचारू (smooth) था, तभी मैंने "समानांतर (parallel) में (in) कोड (code) बदलने (changing)" की (to) दिशा (direction) में (in) धक्का देने (push) की हिम्मत की (dared)। मेरे (my) बाद (later) के (of) अनुभव (experience) की तरह न (do not) बनें, जब मैं (I) गर्म सिर वाला (hot-headed) था (was) और (and) सीधे (directly) तीन (three) टीम के साथियों (teammates) को (to) तीन (three) आसन्न (adjacent) फ़ाइलों (files) को समानांतर में (in parallel) बदलने (change) दिया (let)। नतीजतन (As a result), परिवर्तन (changes) आपस में टकराए (clashed), और केवल इन (these) संघर्षों (conflicts) को सुलझाना (sorting out) ही (itself) एकल सत्र (single session) में ईमानदारी (honestly) से (honestly) क्रमिक (serially) रूप से (serially) इसे (it) करने की (than) तुलना (compared) में धीमा (slower) था।

3-5 के (of) टीम (team) आकार (size) से (with) शुरू करें (Start)। यह (This) सीमा (range) सभी प्रकार (all types) के कार्यों (tasks) पर (on) अच्छी तरह (well) से काम करती है (works) — आपके (you) पास (have) समानता (parallelism) है, और (and) समन्वय (coordination) नियंत्रण से बाहर नहीं (not) होता है (will not)。यदि आप वास्तव में (really) विस्तार करना (expand) चाहते (want) हैं (to), तो ऐसा केवल (only) तभी करें जब "काम वास्तव में एक ही समय में (at the same time) काम करने (working) वाले (working) अधिक लोगों (more people) से (from) लाभान्वित हो (can benefit) सकता है"।

💡 सारांश (Summary): Agent teams subagent की (than) तुलना (compared) में (to) अधिक टोकन (tokens) जलाते (burn) हैं (burn) और (and) समन्वय (coordination) में भारी (heavier) होते (are) हैं, केवल (only) तभी (when) विभाजित (split) करें जब यह (it) "वास्तव में (truly) समानांतरकरण (parallelization) से (from) लाभान्वित हो (can benefit) सकता है"; एक (one) फ़ाइल (file) को (to) एक दूसरे (each other) पर निर्भर (relying) करते हुए (relying) बदलना (changing), और यादृच्छिक (random) छोटे काम (small jobs) कभी (never) विभाजित (split) नहीं (not) होने (be) चाहिए (should); नौसिखियों (novices) के (for) लिए "गैर-कोडिंग अनुसंधान (non-coding research) / समीक्षा (review)" + "3-5 लोगों (people)" से (with) शुरू (start) करना सबसे (most) स्थिर (stable) है।


07 अभ्यास (Practice): सुविधा (feature) सक्षम करें (Enable), शुरू करने के (to) लिए (to) तीन-व्यक्ति (three-person) टीम (team) शुरू करें (start)

सिर्फ (Just) पढ़ने (reading) और (and) अभ्यास (practicing) न (not) करने से (by) आप (you) इसे (it) याद (remember) नहीं (will not) रख (keep) पाएंगे (will)। नीचे (Below), मैं आपको (you) Agent teams को खरोंच से (from scratch) सक्षम करने (enabling) और (and) सबसे सरल कार्य (simplest task) को (to) समानांतर (parallel) में (in) करने के (to) लिए (for) तीन-व्यक्ति (three-person) टीम (team) शुरू करने (starting) के माध्यम से (through) ले (take) जाऊंगा (will)। पूरी (entire) प्रक्रिया (process) किसी (any) जटिल (complex) परियोजना (project) पर निर्भर नहीं (does not) करती (does) है।

शर्त (Premise): claude --version पर नज़र डालें (take a look at), यह v2.1.32 या उच्चतर (higher) होना (must be) चाहिए (must); यदि (if) यह (it) पर्याप्त नहीं (not) है, तो पहले (first) claude update करें।

चरण 1 (Step 1): प्रायोगिक (experimental) सुविधाएँ (features) सक्षम करें (Enable)

Agent teams डिफ़ॉल्ट रूप से (by default) बंद (off) हैं, इसलिए (so) पहले (first) उपयोगकर्ता-स्तरीय (user-level) सेटिंग्स (settings) में स्विच (switch) चालू करें (turn on)। ~/.claude/settings.json संपादित करें (Edit) (यदि आपके पास (you) एक / one नहीं / do not have है तो एक नया / new बनाएं / create), और (and) यह (this) env अनुभाग (section) जोड़ें (add):

json
{
  "env": {
    "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
  }
}

अपेक्षा (Expectation): फ़ाइल (file) में (in) यह (this) env कॉन्फ़िगरेशन (configuration) है। यह (This is) आधिकारिक (officially) रूप से (officially) निर्दिष्ट (specified) सक्षम (enabling) विधि (method) है — पर्यावरण (environment) चर (variable) CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS को (to) 1 पर सेट करें (set)।

चरण 2 (Step 2): एक (a) टॉय (toy) डायरेक्टरी (directory) बनाएँ (Create) और (and) Claude शुरू (start) करने (to) के (to) लिए (for) उसमें जाएँ (go in) (मैक / Mac / लिनक्स / Linux)

bash
mkdir team-demo
cd team-demo
claude

विंडोज़ (Windows) उपयोगकर्ता (users): mkdir, cd टाइप करें (type), और (and) फिर (then) claude

अपेक्षा (Expectation): Claude Code स्वागत स्क्रीन (welcome screen) दिखाई देती है (appears), नीचे (at the bottom) एक इनपुट बॉक्स (input box) के (with) साथ (with)。

चरण 3 (Step 3): एक (a) तीन-व्यक्ति (three-person) टीम (team) शुरू (start) करने (to) के (to) लिए (for) सादे शब्दों (plain words) का उपयोग करें (Use)

इनपुट बॉक्स (input box) में (in) टाइप (type) करें (यही (this is) "कार्य (task) का (of) वर्णन (describing) करना (describing) + टीम संरचना (team structure)" है ताकि (to) नेता (leader) को (to) अपनी खुद की टीम बनाने (build) दिया जा सके (let)):

text
तीन अलग-अलग दृष्टिकोणों (three different perspectives) से (from) "क्या (whether) एक (a) व्यक्तिगत (personal) ब्लॉग (blog) को (to) एक स्थिर (static) साइट (site) या (or) एक गतिशील साइट (dynamic site) चुनना चाहिए (should choose)" की (to) जांच करने के (to) लिए (to) मुझे एक एजेंट (agent) टीम (team) बनाने में (in) मदद (help) करें (to):
एक टीम का साथी (one teammate) केवल "स्थिर साइट (static site) चुनी (chosen) जानी चाहिए (should be)" का (of) तर्क (argues) देता (argues) है, एक (one) केवल "गतिशील साइट (dynamic site) चुनी (chosen) जानी चाहिए (should be)" का तर्क देता (argues) है,
और (and) एक (one) पहले दो (first two) समाधानों (solutions) के (with) साथ (with) गलती (fault) खोजने (finding) के (to) लिए (for) विपरीत धुन (opposite tune) (唱反调) गाता (sings) है। उन्हें प्रत्येक (each) को (to) अपना (own) निष्कर्ष (conclusion) देने (give) दें (Let)।

अपेक्षा (Expectation): Claude आपको पहले (first) बताएगा (will tell) कि (that) वह (it) एक टीम (team) बनाने (create) जा रहा है (is going to), तीन (three) टीम के साथी (teammates) उत्पन्न (generate) करेगा (will) (प्रत्येक (each) के लिए (for) एक दृष्टिकोण / perspective), और (and) आपसे पुष्टि (confirm) करने (to) के लिए (for) कहेगा (will ask)। यह (It) आपको बताए (telling) बिना (without) एक टीम नहीं (not) बनाएगा (will) — अधिकारी (officials) स्पष्ट (clear) हैं "आपकी (your) स्वीकृति के बिना कोई (no) टीम (team) नहीं (will not) बनाई जाएगी (will be)"। पुष्टि (Confirming) करने के (after) बाद (after), तीन (three) टीम के साथी (teammates) एक के बाद एक (one after another) शुरू (start) होंगे, और (and) प्रत्येक (each) अपने संदर्भ (context) में (in) काम करना (working) शुरू (start) कर देगा (will)।

चरण 4 (Step 4): टीम के साथी (teammate) पर (to) स्विच (switch) करने के (to) लिए (to) Shift+Down का उपयोग करें (Use) और एक (a) नज़र (look) डालें (take)

टीम के (team) चलने के बाद (after), नेता (leader) का टर्मिनल (terminal) सभी (all) टीम के साथियों (teammates) और वे (what) क्या काम (what) कर रहे हैं (are working on), उसे सूचीबद्ध करेगा (will list)। किसी (a) टीम के साथी (teammate) पर (to) स्विच (switch) करने (to) के (to) लिए (to) Shift+Down दबाएं (Press), और (and) आप (you) उसे (him) सीधे (directly) संदेश (messages) भेज (can send) सकते (can) हैं। उदाहरण के लिए (For example), "विपरीत धुन (opposite tune)" गाने (singing) वाले (one) पर स्विच (switch) करें, और (and) जोड़ें (add):

text
"रखरखाव लागत (Maintenance cost)" के (from) दृष्टिकोण (perspective) से (from) मुझे कुछ (some) दोषों (faults) का पता लगाने (find) में (in) भी (also) मदद (help) करें (to)

अपेक्षा (Expectation): यह संदेश (This message) सीधे (directly) उस (that) टीम के साथी (teammate) के (to) पास (to) जाएगा (goes) (नेता / leader के (by) रिले / relaying किए बिना / without), और (and) वह (he) "रखरखाव लागत (maintenance cost)" को (to) शामिल (include) करेगा (will) और गलती खोजना (finding fault) जारी रखेगा (will continue)। अंतिम (last) टीम के साथी (teammate) पर (to) स्विच (switching) करने के बाद (after), यदि आप फिर (again) से (again) Shift+Down दबाते हैं, तो (then) यह (it) नेता (leader) के (to) पास वापस (back) आ जाएगा (will loop) — नेता (leader) के (to) पास (to) वापस जाने पर (Going back), आप फिर से (again) समग्र (overall) स्थिति का (of) समन्वय (coordinate) कर (can) सकते (can) हैं।

चरण 5 (Step 5): पैक (pack) करें (up) और साफ करें (clean up)

जांच (investigation) के बाद (After), नेता (leader) के (to) पास वापस आएं (come back) और (and) उसे (it) पैक अप (pack up) करने (to) के लिए (to) कहें (ask):

text
मुझे (Me) इस टीम (team) को साफ (clean) करने (up) में मदद (help) करें (to)

अपेक्षा (Expectation): नेता (Leader) पहले (first) पुष्टि (confirm) करेगा (will) कि (that) सभी टीम के साथी (teammates) रुक गए हैं (have stopped), और (and) फिर (then) साझा टीम संसाधनों (shared team resources) को हटा देगा (will delete)। यदि कोई (any) टीम का साथी (teammate) अभी भी (still) दौड़ रहा (running) है (is), तो सफाई (cleanup) विफल (fail) हो (will fail) जाएगी (will) — इस समय, पहले (first) नेता (leader) को (to) टीम के साथियों (teammates) को बंद (shut down) करने के लिए कहें (ask) ("उन टीम के साथियों / teammates को बंद / shut down करने दें / let") और (and) फिर (then) साफ (clean) करें (up)। आधिकारिक (Official) नियम (rule) याद रखें (remember): सफाई (Cleanup) हमेशा (always) नेता (leader) के माध्यम से (through) जाती है, टीम के साथियों (teammates) को इसे साफ करने (clean it up) न (do not) दें (let)。

इन (these) पाँच चरणों (steps) को पूरा (completing) करने के (after) बाद (After), आपने व्यक्तिगत (personally) रूप से (personally) "सक्षम करें (enable) → टीम बनाएं (form team) → समानांतर में (in parallel) काम करें (work) → सीधे बात करने (talk directly) के लिए (to) टीम के साथियों (teammates) को स्विच (switch) करें → पैक अप करें (pack up) और साफ करें (clean up)" की (of) संपूर्ण (complete) श्रृंखला (chain) से (through) गुजरा (gone) है। बाद में (Afterwards), agent teams के (of) किसी भी (any) उपयोग का अर्थ (usage) अनिवार्य (essentially) रूप से (essentially) इस श्रृंखला (chain) पर (on) कार्यों (tasks) और टीम के साथियों (teammates) की (of) भूमिकाओं (roles) को (to) बदलना (changing) है।

💡 सारांश (Summary): settings.json में (in) env स्विच (switch) चालू करें (Turn on) → सादे शब्दों में (in plain words) नेता (leader) को टीम बनाने (form team) दें (let) → Shift+Down टीम के साथियों (teammates) को स्विच करें (switch) और सीधे (directly) बात करें (talk) → नेता (leader) पैक अप (packs up) करता (does) है और साफ करता है (cleans up); व्यक्तिगत (personally) रूप से (personally) इस (this) श्रृंखला (chain) के (through) माध्यम से (through) चलने (running) से दस (ten) शॉर्टकट कुंजियों (shortcut keys) को (to) याद (remembering) रखने (than) से अधिक (more) मदद मिलती है (helps)


08 सारांश (Summary)

इस लेख (article) में, हमने शुरू से अंत तक (from start to finish) Claude Code के "मल्टी-एजेंट सहयोग (multi-agent collaboration)" का (through) पता लगाया (gone) है — आप एक (a) व्यक्तिगत कार्यकर्ता (personal worker) से एक दल (crew) को (to) निर्देशित (commands) करने (who) वाले फोरमैन (foreman) में (into) अपग्रेड हो (upgraded) गए हैं

समीक्षा (review) करने (to) के (to) लिए (for) मुख्य बिंदुओं (key points) को (to) एक साथ (together) जोड़ें (String):

आप क्या करना (to do) चाहते हैं (want)क्या उपयोग करें (What to use)मुख्य बिंदु (Key points)
एकल सत्र (single session) की स्मृति (memory) + धारावाहिक छत (serial ceiling) को तोड़ें (Break through)Agent teamsएकाधिक (Multiple) सहकर्मी सत्र (peer sessions) समानांतर (parallel) में (in), आप कार्य (work) सौंपने (assigning) के (for) लिए (for) नेता (leader) के (as) रूप (as) में (as) कार्य करते हैं (act)
Subagent से (from) अंतर (difference) बताएं (Tell)देखें (Look) "क्या (whether) एक दूसरे (each other) के (with) साथ संवाद करना (communicate) है (to)"केवल (Only) जब संवाद (communicate) करने (to) की (to) और एक-दूसरे से (each other) पूछताछ (question) करने (to) की (to) आवश्यकता (need) हो, तभी (then) एक (a) टीम (team) का (of) उपयोग (use) करें, अन्यथा (otherwise) subagent अधिक लागत प्रभावी (cost-effective) है
कई (multiple) समानांतर सत्र (parallel sessions) प्रबंधित (Manage) करेंclaude agents (एजेंट व्यू / agent view)प्रति पंक्ति (line) एक सत्र (one session), स्थिति (status) जानने (know) के (to) लिए (for) रंग (color) देखें (look at), झांकने (peek) के (to) लिए (for) Space
टीम (team) में टीम के साथियों (teammates) पर स्विच (Switch) करें और सीधे चैट (chat) करेंShift+Downनेता (leader) के (to) पास लौटने (return) के (to) लिए (to) एक चक्र (cycle) घुमाएं (Turn); बोर्ड (board) की पंक्तियों (lines) को स्विच (switch) करने (to) के (to) लिए / के (with) साथ (with) भ्रमित (confused) न (do not) हों (get)
न्यायाधीश (Judge) क्या (whether) विभाजित करना (split) है (to)एक (A) "क्या यह (it) इसके (it) लायक (worth) है (is)" तुलना तालिका (comparison table)पारस्परिक (Mutual) निर्भरता (dependencies), समान (same) फ़ाइलों (files) को (to) संपादित (editing) करना, छोटे कार्य (small tasks) कभी (never) विभाजित (split) नहीं (not) होने (be) चाहिए (should)

अब आपको (you) सक्षम (able to) होना चाहिए: स्पष्ट (clearly) रूप से (clearly) बताएं (explain) कि Agent teams क्या (what) हल करता है (solves), यह (it) और (and) subagent कैसे भिन्न होते (differ) हैं, कई समानांतर (multiple parallel) सत्रों (sessions) पर (on) नज़र रखने (keep an eye) के (to) लिए (for) इस मास्टर कंट्रोल स्क्रीन (master control screen) claude agents का (of) उपयोग (use) करें, नेता (leader) को (to) सादे शब्दों (plain words) में (in) एक टीम (team) बनाने (build) और काम (work) सौंपने (assign) का आदेश दें (command), और (and) स्पष्ट (clearly) रूप से (clearly) समझें (understand) कि "कब (when) यह (it) विभाजित करने (splitting) के (to) लायक (worth) है, कब (when) केवल विभाजित करने (splitting) के (for) लिए विभाजित नहीं (not to) करना (to) है"。यह "फोरमैन (foreman)" क्षमता आपके (your) लिए बड़े (large) कार्यों (tasks) को वास्तव में (truly) समानांतर (parallelize) करने (to) के (to) लिए (for) आधार (foundation) है, बिना पैसे जलाने (burning money) के (without) नियंत्रण से बाहर (out of control) हुए

लेकिन (But) सच कहूँ तो (to be honest) — यह (it) अभी भी (still) प्रयोगात्मक (experimental) है, इंटरफ़ेस (interface) और (and) शॉर्टकट कुंजियाँ (shortcut keys) संस्करणों (versions) के (with) साथ बदलती (change) रहती हैं, और दैनिक कार्यों (daily tasks) का 90% अभी (still) भी एकल सत्रों (single sessions) के (for) लिए (for) पर्याप्त (enough) है। इसे टूलबॉक्स (toolbox) में (in) एक "बड़े कार्य (big task) त्वरण (acceleration) विरूपण साक्ष्य (artifact)" के (as) रूप (as) में (as) रखें, छोटे कार्यों (small tasks) को (to) जबरन (forcibly) विभाजित करने (split) की शुरुआत (beginning) में (at) न (do not) करें।


09 अगला (Next)

अगला लेख (article) 30 "सुविधाओं (Features) को (to) कैसे (how) चुनें (choose): CLAUDE.md बनाम (vs) कौशल (Skill) बनाम (vs) हुक (Hook) बनाम (vs) MCP बनाम (vs) Subagent" — इस लेख (article) तक (Up to), आपने CLAUDE.md, कौशल (Skill), हुक (Hook), MCP, Subagent और Agent teams के (of) कई (many) चाल (moves) सीखे हैं (have learned)। लेकिन बहुत कुछ सीखने (learning a lot) का (does not) मतलब (mean) यह नहीं (does not) है कि (that) आप (you) उनका सही ढंग से उपयोग (use them correctly) कर (can) सकते (can) हैं, और (and) सबसे कठिन (hardest) हिस्सा (part) यह है कि जब आप (you) किसी (a) विशिष्ट (specific) आवश्यकता (need) का सामना करते हैं (face), तो आपको वास्तव में (exactly) किसका उपयोग (use) करना (to) चाहिए? अगले लेख (next article) में, मैं आपको एक निर्णय तालिका (decision table) दूंगा (will give) जो इन (these) कार्यों (functions) की "लागू सीमाओं (applicable boundaries)" को (to) कागज (paper) के एक टुकड़े (piece) पर (on) स्पष्ट रूप से (clearly) रखेगी (will lay out) — इसे पढ़ने के बाद (After reading it), आपको फिर (again) कभी भी (never) यह (this) चुनने (choosing) में (in) कठिनाई नहीं (will not) होगी (will) कि "क्या (what) उपयोग (use) करना (to) है" जब किसी (a) आवश्यकता (need) का सामना करना पड़ता है (facing)。