- Claude Code की पूरी संरचना और अंदरूनी कार्यप्रणाली का विज़ुअल विश्लेषण करने वाला एक अनौपचारिक प्रोजेक्ट, जिसमें input processing से response rendering तक के agent loop और 50 से अधिक tools system को एक्सप्लोर किया जा सकता है
- कुल 804 files, 2.2 लाख से अधिक lines of code, 40 से अधिक commands, 22 से अधिक tools से बना है, और यह Anthropic से असंबंधित स्वतंत्र विश्लेषण परिणाम है
- Agent loop में input, message, system, API, tool calls, rendering आदि की 11-स्टेप processing शामिल है, जिससे Claude Code के response generation process को ट्रैक किया जा सकता है
- Tool system और command catalog के जरिए file operations, execution, search, planning, system management जैसी विस्तृत क्षमताओं को वर्गीकृत किया गया है, और इसमें private·experimental features भी बड़ी संख्या में शामिल हैं
- Buddy, Kairos, UltraPlan, Coordinator Mode जैसी hidden features के माध्यम से long-term planning, parallel work, remote control, persistent sessions जैसे विस्तारित व्यवहार को सपोर्ट किया जाता है
Claude Code की संरचना और अंदरूनी कार्यप्रणाली
- Claude Code में input processing से response rendering तक के पूरे agent loop, 50 से अधिक tools, multi-agent orchestration, और private features को विज़ुअली एक्सप्लोर करने वाला प्रोजेक्ट
- कुल 804 files, 2.2 लाख से अधिक lines of code, 40 से अधिक commands, 22 से अधिक tools से बना
- सार्वजनिक source code के आधार पर विश्लेषित, और Anthropic से असंबंधित एक अनौपचारिक प्रोजेक्ट
- विश्लेषण का समय 31 मार्च 2026, zackautocracy ने DeepWiki के साथ मिलकर क्यूरेट किया
-
Agent loop
- जब user message input करता है, तो Claude Code input → message → history → system → API → token → tool → loop → render → hook → wait के 11 चरणों से गुजरता है
- input को Ink के
TextInput component के जरिए प्रोसेस किया जाता है, और non-interactive mode में standard input (stdin) का उपयोग होता है
- हर चरण इस तरह बनाया गया है कि Claude Code के message receive करने और response generate करने की प्रक्रिया को बारीकी से ट्रैक किया जा सके
-
Architecture explorer
- पूरे source tree को क्लिक करके एक्सप्लोर किया जा सकता है, और मुख्य संरचना इस प्रकार है
- Tools & Commands: built-in tools और commands
- Core Processing: core processing logic
- UI Layer: user interface संरचना
- Infrastructure: infrastructure और execution environment
- Support & Utilities: support utilities
- Personality & UX: user experience से जुड़े तत्व
Tool और command system
-
Tool system
- Claude Code द्वारा call किए जा सकने वाले 22 से अधिक built-in tools को functionality के आधार पर वर्गीकृत किया गया है
-
File operations
- FileRead, FileEdit, FileWrite, Glob, Grep, NotebookEdit सहित 6 tools
-
Execution
- Bash, PowerShell, REPL सहित 3 tools
-
Search और fetch
- WebBrowser🔒, WebFetch, WebSearch, ToolSearch सहित 4 tools
-
Agent और tasks
- Agent, SendMessage, TaskCreate, TaskList, TeamCreate सहित 11 tools
-
Planning
- EnterPlanMode, ExitPlanMode, VerifyPlanExecution🔒 सहित 5 tools
-
MCP related
- ListMcpResources, ReadMcpResource, McpAuth सहित 4 tools
-
System
- AskUserQuestion, TodoWrite, Config, Workflow🔒, TerminalCapture🔒 सहित 11 tools
-
Experimental features
- Sleep, SendUserMessage, LSP🔒, PushNotification🔒 सहित 8 tools
-
Command catalog
- Claude Code में उपलब्ध सभी slash commands को functionality के आधार पर वर्गीकृत किया गया है
-
Settings और configuration
- /init, /login, /logout, /config, /permissions, /model, /theme सहित 12 commands
-
Daily workflow
- /compact, /memory, /context, /plan, /resume, /files, /summary सहित 24 commands
-
Code review और Git
- /review, /commit, /diff, /branch, /issue, /autofix-pr🔒 सहित 13 commands
-
Debugging और diagnostics
- /status, /stats, /usage, /think-back, /debug-tool-call, /heapdump सहित 23 commands
-
Advanced और experimental features
- /advisor, /remote-control🔒, /teleport, /plugin, /web-setup, /help, /exit सहित 23 commands
Hidden features
- कोड में मौजूद लेकिन अभी तक deploy न की गई कई private features शामिल हैं
-
Buddy
- टर्मिनल के भीतर मौजूद virtual pet, जिसकी species और rarity account ID के अनुसार तय होती है
-
Kairos
- sessions के बीच memory integration और autonomous background behavior को सपोर्ट करने वाला persistent mode
-
UltraPlan
- Opus-class model में अधिकतम 30 मिनट execution वाला long-term planning session
-
Coordinator Mode
- lead agent tasks को विभाजित करता है और parallel workers बनाकर परिणाम इकट्ठा करता है
-
Bridge
- फोन या browser से Claude Code को remotely control करने की सुविधा
-
Daemon Mode
--bg option के साथ background session execution, अंदरूनी रूप से tmux का उपयोग
-
UDS Inbox
- Unix domain socket के जरिए sessions के बीच communication support
-
Auto-Dream
- sessions के बीच AI पिछली गतिविधियों की समीक्षा करता है और सीखी गई बातों को व्यवस्थित करता है
Project information
- अनौपचारिक analysis project, जिसका Anthropic से कोई सीधा संबंध नहीं है
- सार्वजनिक Claude Code source code के आधार पर बनाया गया है, और कुछ सामग्री गलत या पुराने version की हो सकती है
- विश्लेषण @Fried_rice द्वारा सार्वजनिक किए गए source code के आधार पर किया गया
- zackautocracy द्वारा निर्मित, DeepWiki की AI curation support के साथ
अभी कोई टिप्पणी नहीं है.