[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-701273-105":59,"doc-detail-701273-en":130,"doc-similar-701273":170},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","dive-into-claude-code-the-design-space-of-todays-and-future-ai-agent-systems-701273","Dive into Claude Code - The Design Space of Today’s and Future AI Agent Systems","","Claude Code is an agentic coding tool that executes shell commands, edits files, and calls external services on a user’s behalf. This study presents its comprehensive architecture by analyzing publicly available TypeScript source code and comparing it with OpenClaw and Hermes Agent. The work identifies five human values driving the design, traces them through thirteen design principles to concrete implementation choices, and contrasts three deployment contexts. It concludes with six future research directions grounded in empirical and policy literature.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/dive-into-claude-code-the-design-space-of-todays-and-future-ai-agent-systems-701273/701273/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/dive-into-claude-code-the-design-space-of-todays-and-future-ai-agent-systems-701273/701273.png","ImageObject",300,407,{"name":92,"@type":93},"\tJames","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-12-01","2026-11-12",true,{"@type":102,"interactionType":103,"userInteractionCount":29},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What does Claude Code do as an AI agentic coding tool?","Question",{"text":112,"@type":113},"Claude Code can run shell commands, edit files, and call external services on the user’s behalf, following an agentic loop that iterates until tasks are completed.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How is the Claude Code architecture explained in the study?",{"text":117,"@type":113},"The study analyzes publicly available TypeScript source code, identifies five motivating human values, and traces them through thirteen design principles to specific implementation choices across multiple subsystems.",{"name":119,"@type":110,"acceptedAnswer":120},"How do OpenClaw and Hermes Agent differ from Claude Code in deployment contexts?",{"text":121,"@type":113},"The comparisons show that the same design questions yield different answers: Claude Code emphasizes per-action safety, OpenClaw emphasizes perimeter-level access, and Hermes uses per-action approvals across many surfaces.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},701273,1794525292,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":29,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":29,"preview_urls":145},2336474466412,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","arXiv : 2604 . 14228v 3 [cs .SE] 10 Oct 2026  \nDive into Claude Code: The Design Space of Today’sand Future AI Agent Systems  \nJiacheng Liu 1 ,∗ , Xiaohan Zhao 1 ,∗ , Xinyi Shang 1 ,2 , Zhiqiang Shen 1 ,†  \n1VILA Lab, Mohamed bin Zayed University of Artificial Intelligence, 2 University College London  \n∗ These authors contributed equally to this work, †Corresponding author  \nClaude Code is an agentic coding tool that can run shell commands, edit files, and call external services on behalf of the user. This study describes its comprehensive architecture by analyzing the publicly available TypeScript source code a and further comparing it with two independent open-source AI agent systems, OpenClaw and Hermes Agent, that answer many similar or even the same design questions from different deployment contexts. Our analysis identifies five human values, philosophies, and needs that motivate the architecture: human decision authority, safety, security, and privacy, reliable execution, capability amplification, and contextual adaptability. We then trace them through thirteen design principles to specific implementation choices. The core of the system is a simple while-loop that calls the model, runs tools, and repeats. Most of the code, however, lives in the systems around this loop: a permission system with seven modes and an ML-based classifier, a five-layer compaction pipeline for context management, four extensibility mechanisms (MCP, plugins, skills, and hooks), a subagent delegation and orchestration mechanism, and append-oriented session storage. Comparisons with OpenClaw (a multi-channel personal assistant gateway) and Hermes Agent (a single-process, multi-surface assistant) show that the same design questions produce different answers across three deployment contexts. Claude Code emphasizes per-action safety, OpenClaw emphasizes perimeter-level access, and Hermes renders per-action approvals across many surfaces. At the runtime layer, Claude Code uses a single CLI loop, OpenClaw embeds the runtime within a gateway control plane, and Hermes uses one process whose role is set by its entry point. At the context and extension layer, Claude Code extends the context window, OpenClaw registers gateway-wide capabilities, and Hermes provides pluggable memory and model backends. We finally identify six open design directions for future agent systems, grounded in recent empirical, architectural, and policy literature. Our GitHub is available at: [https://github.com/VILA-Lab/Dive-into-Claude-Code](https://github.com/VILA-Lab/Dive-into-Claude-Code).  \nCorrespondence: Zhiqiang Shen ([Zhiqiang.Shen@mbzuai.ac.ae](Zhiqiang.Shen@mbzuai.ac.ae))  \nav2.1.88, link. Disclaimer: All materials used in this work are obtained from publicly available online sources. We have not used any private, confidential, or unauthorized materials, and we do not intend to infringe any copyright or intellectual property rights. The original intellectual property rights to the source code belong to Anthropic.  \n1 Introduction  \nAI-assisted software development has evolved from autocomplete-style tools such as GitHub Copilot (Chenet al. , 2021), through IDE-integrated assistants like Cursor (Cursor, 2026), to fully agentic systems that autonomously plan multi-step modifications, execute shell commands, read and write files, and iterate on their own outputs. Claude Code (Anthropic, 2026a) is an agentic coding tool released by Anthropic (Anthropic, 2026g) . Its official documentation describes an “agentic loop” that plans and executes actions toward accomplishing a goal and can call tools, evaluate results, and continue until the task is done 1. This shift from suggestion to autonomous action introduces architectural requirements that have no counterpart in completion-based tools. These requirements define a design space, a set of recurring questions spanning topics such as safety, context management, extensibility, and delegation that every coding agent must navigate.","cbCainOFuAj9Js2P","https://ap.wps.com/l/cbCainOFuAj9Js2P","pdf",1249316,55,"English","# Introduction\n## Design-space analysis\n## Architectural contrast with OpenClaw and Hermes Agent","[{\"question\":\"What does Claude Code do as an AI agentic coding tool?\",\"answer\":\"Claude Code can run shell commands, edit files, and call external services on the user’s behalf, following an agentic loop that iterates until tasks are completed.\"},{\"question\":\"How is the Claude Code architecture explained in the study?\",\"answer\":\"The study analyzes publicly available TypeScript source code, identifies five motivating human values, and traces them through thirteen design principles to specific implementation choices across multiple subsystems.\"},{\"question\":\"How do OpenClaw and Hermes Agent differ from Claude Code in deployment contexts?\",\"answer\":\"The comparisons show that the same design questions yield different answers: Claude Code emphasizes per-action safety, OpenClaw emphasizes perimeter-level access, and Hermes uses per-action approvals across many surfaces.\"}]","Dive into Claude Code - The Design Space of Today’s and Future AI Agent Systems | PDF",139,[146,150,154,158,162,166],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/9ff7f6ab18f2393519715c9fd6052b70.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/e9fa340a7b930883c5191d9f2b9879b6.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/2196f8e6d79f586477f3bc7542bac879.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/0bca4e35bbcad294fcc9be973ed8ed4f.webp",980,1268,{"page_no":24,"url":163,"width":164,"height":165},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/59d8fa81a958191ac988f2bcecbfe015.webp",979,1267,{"page_no":29,"url":167,"width":168,"height":169},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/c9710d52623d80112676bd2462f2e824.webp",978,1265,{"list":171,"token":66},[172,177,182,188,194,200,206,213,220,227],{"doc_id":173,"doc_title":65,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":29,"category_name":40,"create_tm":176},696838,"https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230009178488/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796228939&Signature=Ny1PkMrqM5cggmc7FfjnhmkiugA%3D","dive-into-claude-code-the-design-space-of-todays-and-future-ai-agent-systems",1794435029,{"doc_id":178,"doc_title":65,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":14,"category_name":40,"create_tm":181},699339,"https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230009991477/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796228939&Signature=gPWsnj%2BEQoHG%2Fle%2F3OBHdcOsiKY%3D","dive-into-claude-code-the-design-space-of-todays-and-future-ai-agent-systems-699339",1794464930,{"doc_id":183,"doc_title":184,"file_type":137,"home_preview_img_url":185,"slug":186,"view_count":19,"category_name":40,"create_tm":187},732954,"Modern AI Systems: Agents and System Optimizations - Agent From a User’s Perspective I - How Claude Code Works","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031781462/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796228939&Signature=skAyAq7KkBQojKEn%2Bljy9hz2kJQ%3D","modern-ai-systems-agents-and-system-optimizations-agent-from-a-users-perspective-i-how-claude-code-works",1795383063,{"doc_id":189,"doc_title":190,"file_type":137,"home_preview_img_url":191,"slug":192,"view_count":39,"category_name":40,"create_tm":193},693263,"OpenClaw: We Are Not Ready - On the Uncontrolled Rise of Autonomous AI Agents, the Asymmetry of Creation and Governance, and the Geopolitics of Inaction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005111255/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796228939&Signature=hHAT%2F%2B%2BRDJeewfDg8XfCqCTR1QE%3D","openclaw-we-are-not-ready-on-the-uncontrolled-rise-of-autonomous-ai-agents-the-asymmetry-of-creation-and-governance-and-the-geopolitics-of-inaction",1794254165,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":81,"category_name":40,"create_tm":199},733024,"Agentic Workflows for RTL code Generation - Graduation Session October 2026","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031782550/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796228939&Signature=OMU%2F16RxH8nnzbM6CxuczRaJPu4%3D","agentic-workflows-for-rtl-code-generation-graduation-session-october-2026",1795383350,{"doc_id":201,"doc_title":202,"file_type":137,"home_preview_img_url":203,"slug":204,"view_count":81,"category_name":40,"create_tm":205},732949,"AGENTPACK - A Dataset of Code Changes, Co-Authored by Agents and Humans","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031414501/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796228939&Signature=V4E%2BLeTLZHTirf8aMDpbhy6Ps%2B0%3D","agentpack-a-dataset-of-code-changes-co-authored-by-agents-and-humans",1795383050,{"doc_id":207,"doc_title":208,"file_type":137,"home_preview_img_url":209,"slug":210,"view_count":211,"category_name":40,"create_tm":212},81821,"Janus: a Playground for User-Involved Agentic Permission Management","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808647346/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796228939&Signature=ps9dWb4uVPKclF9ixEvb89KtfWY%3D","janus-a-playground-for-user-involved-agentic-permission-management",23,1784176371,{"doc_id":214,"doc_title":215,"file_type":137,"home_preview_img_url":216,"slug":217,"view_count":218,"category_name":40,"create_tm":219},82429,"LLM for EDA in Front-End Design: Challenges and Opportunities","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808741255/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796228939&Signature=y%2BVLzFgNQmUIt0HYwiapGiUbC6M%3D","llm-for-eda-in-front-end-design-challenges-and-opportunities",34,1784180333,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":225,"category_name":40,"create_tm":226},395257,"Claude for the financial industry - A practical deployment guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229918623607/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796228939&Signature=YGrRP7E%2Fofatnyp9fg7SnvxpQWo%3D","claude-for-the-financial-industry-a-practical-deployment-guide",15,1790417381,{"doc_id":228,"doc_title":229,"file_type":137,"home_preview_img_url":230,"slug":231,"view_count":232,"category_name":40,"create_tm":233},86236,"TOFU: White-Box, Token-Efficient Agent Harness for Researchers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809513357/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796228939&Signature=4XMF9EIfnqFrzU%2Fxd14jQ48KuTQ%3D","tofu-white-box-token-efficient-agent-harness-for-researchers",22,1784209704]