Podcasts पर वापस जाएंClaude
Claude Code 101
Claude Code कैसे काम करता है
We know that Claude code is different from usual chat applications, but how does it work?
हम जानते हैं कि Claude Code सामान्य चैट ऐप्लिकेशन से अलग है, लेकिन यह कैसे काम करता है?
Claude code is best explained through the agentic loop.
Claude Code को agentic लूप के माध्यम से सबसे अच्छी तरह समझाया जाता है।
You enter a prompt into Claude code.
आप Claude Code में एक प्रॉम्प्ट दर्ज करते हैं।
Claude code will then gather contacts required to complete your prompt.
Claude Code तब आपके प्रॉम्प्ट को पूरा करने के लिए आवश्यक संदर्भ एकत्र करेगा।
It does so by interacting with the model which will return text or a tool call that Claude code can execute.
यह मॉडल के साथ इंटरैक्ट करके करता है जो टेक्स्ट या एक टूल कॉल लौटाएगा जिसे Claude Code निष्पादित कर सकता है।
Then it takes action.
फिर यह कार्रवाई करता है।
For example, editing a file or running a command.
उदाहरण के लिए, फ़ाइल संपादित करना या कमांड चलाना।
Finally, it verifies those results and determines if they achieve what your prompt set out to do in the first place.
अंत में, यह उन परिणामों को सत्यापित करता है और निर्धारित करता है कि क्या वे आपके प्रॉम्प्ट के मूल लक्ष्य को पूरा करते हैं।
If they do, then Claude finishes and waits for the next prompt.
यदि वे करते हैं, तो Claude समाप्त करता है और अगले प्रॉम्प्ट की प्रतीक्षा करता है।
And if they don't, Claude goes back and runs the loop again until the results are complete and verifiable.
और यदि वे नहीं करते, तो Claude वापस जाता है और लूप को फिर से चलाता है जब तक परिणाम पूर्ण और सत्यापन योग्य नहीं हो जाते।
Throughout this loop, you're able to add contacts, interrupt it, or steer the model to help guide it towards your end goal.
इस पूरे लूप में, आप संदर्भ जोड़ सकते हैं, इसे बाधित कर सकते हैं, या मॉडल को अपने अंतिम लक्ष्य की ओर मार्गदर्शित कर सकते हैं।
Claude has a context window, which determines how much of your conversation, file contents, command outputs, and more it can store and look back on.
Claude के पास एक संदर्भ विंडो है जो निर्धारित करती है कि यह आपकी बातचीत, फ़ाइल सामग्री, कमांड आउटपुट और अन्य कितना संग्रहीत और देख सकता है।
Once you reach that limit, Claude code compacts your conversation, which automatically determines what it can take out of the context window and what it can summarize in order to bring the context window back down.
एक बार जब आप उस सीमा तक पहुंच जाते हैं, तो Claude Code आपकी बातचीत को कॉम्पैक्ट करता है, जो स्वचालित रूप से निर्धारित करता है कि संदर्भ विंडो से क्या हटाया जा सकता है और क्या सारांशित किया जा सकता है।
Tools are the backbone of how agents work.
टूल्स एजेंट्स के काम करने की रीढ़ हैं।
Currently, most AI assistants are simply input text and output text.
वर्तमान में, अधिकांश AI असिस्टेंट केवल टेक्स्ट इनपुट करते हैं और टेक्स्ट आउटपुट करते हैं।
Nothing in between.
बीच में कुछ नहीं।
Tools let Claude code and other agents determine when to execute code to get closer to a task.
टूल्स Claude Code और अन्य एजेंट्स को यह निर्धारित करने देते हैं कि किसी कार्य के करीब पहुंचने के लिए कोड कब निष्पादित करना है।
This could be read file tool or search web tool, for example.
उदाहरण के लिए, यह फ़ाइल पढ़ने वाला टूल या वेब खोज टूल हो सकता है।
Claude code uses semantic searching to determine when to call a tool and get the output of it.
Claude Code सिमेंटिक सर्चिंग का उपयोग यह निर्धारित करने के लिए करता है कि टूल को कब कॉल करना है और उसका आउटपुट प्राप्त करना है।
Claude code also has permission modes.
Claude Code में अनुमति मोड भी हैं।
Default behavior is that it has to ask explicit permission before editing a file or running a shell command.
डिफ़ॉल्ट व्यवहार यह है कि फ़ाइल संपादित करने या शेल कमांड चलाने से पहले स्पष्ट अनुमति मांगनी होती है।
You can use shift and tab to toggle between different modes.
आप अलग-अलग मोड के बीच स्विच करने के लिए Shift और Tab का उपयोग कर सकते हैं।
Auto accept edits files without asking, but still ask for commands.
ऑटो अक्सेप्ट बिना पूछे फ़ाइलें संपादित करता है, लेकिन कमांड के लिए अभी भी पूछता है।
Plan mode uses read-only tools to help compile a plan of action before starting.
प्लान मोड शुरू करने से पहले कार्य योजना बनाने में मदद के लिए केवल पढ़ने योग्य टूल्स का उपयोग करता है।
It's worth being cautious when skipping permissions.
अनुमतियां छोड़ते समय सावधान रहना उचित है।
Giving Claude code free reign to run commands means a mistake could be harder to catch before even happens.
Claude Code को कमांड चलाने की पूरी छूट देने का मतलब है कि कोई गलती होने से पहले उसे पकड़ना कठिन हो सकता है।
Claude code works by combining different agentic concepts, an agentic loop, a managed context window, tools, and configurable permissions into your terminal.
Claude Code विभिन्न agentic अवधारणाओं को आपके टर्मिनल में जोड़कर काम करता है: एक agentic लूप, एक प्रबंधित संदर्भ विंडो, टूल्स और कॉन्फ़िगर करने योग्य अनुमतियां।
It can read your code base, take action, and verify its own work, and that makes it fundamentally different from a chat window.
यह आपका कोडबेस पढ़ सकता है, कार्रवाई कर सकता है और अपने स्वयं के काम को सत्यापित कर सकता है, और यह इसे चैट विंडो से मौलिक रूप से अलग बनाता है।