[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"branding":3,"analytics":7,"article-inside-claude-code-how-an-ai-agent-is-actually-built":10,"sections":40},{"siteName":4,"siteTagline":5,"publisherName":4,"contactEmail":6},"The Revision","Tech news, decoded.","editor@therevision.news",{"gaMeasurementId":8,"adsenseClientId":9},"G-ZW2MV82GYR","ca-pub-8533917693782264",{"article":11},{"id":12,"slug":13,"title":14,"dek":15,"body_md":16,"tags_json":17,"published_at":18,"created_at":19,"updated_at":20,"status":21,"review_note":22,"review_notes":23,"image_url":22,"persona_id":22,"persona_name":22,"section":30,"tags":31,"sources":35,"feedback":39,"feedback_at":22,"cost_usd":39,"total_tokens":39},3619,"inside-claude-code-how-an-ai-agent-is-actually-built","Inside Claude Code: How an AI Agent Is Actually Built","Researchers dissected Claude Code's source to map five core values, thirteen design principles, and how it stacks up against two open-source rivals.","A new arXiv paper tears open Claude Code and lays out exactly how Anthropic's agentic coding tool is put together — and where it diverges from the competition.\n\nThe researchers analyzed Claude Code's publicly available source code and compared it against two independent open-source systems, OpenClaw and Hermes Agent. At its core, Claude Code is a while-loop: call the model, run tools, repeat. The interesting parts live around that loop — a permission system with seven modes and an ML-based classifier, a five-layer context compaction pipeline, a subagent delegation and orchestration mechanism for farming out work to child agents, and four extensibility hooks (MCP, plugins, skills, and hooks). The paper traces all of this back to five motivating values: human decision authority, safety and privacy, reliable execution, capability amplification, and contextual adaptability.\n\nThe three-way comparison is where the paper earns its keep. At the safety layer, Claude Code checks each action individually; OpenClaw draws a perimeter around what the agent can touch at all; Hermes surfaces per-action approvals across multiple interfaces. At the runtime layer, Claude Code runs as a single CLI loop, OpenClaw embeds its runtime inside a gateway control plane, and Hermes launches one process whose role is determined by its entry point. At the context and extension layer, Claude Code stretches the context window, OpenClaw registers capabilities gateway-wide, and Hermes lets you swap in different memory and model backends. Three systems, three coherent but distinct philosophies shaped by their deployment contexts.\n\nThe paper closes with six open design directions — a useful reminder that even a mature shipping product still has unresolved architectural questions, which is either reassuring or alarming depending on how much code you let it touch.","[\"ai\",\"dev-tools\",\"open-source\",\"agents\"]","2026-07-03T04:00:00.000Z","2026-07-03T09:47:12.047Z","2026-07-03T09:47:14.815Z","published",null,[24],{"id":25,"reviewer":26,"round":27,"reason":28,"status":29},"editor-r1","editor",1,"The body omits 'subagent delegation and orchestration' as a distinct architectural component (present in the source) and elides the runtime-layer and context\u002Fextension-layer comparisons that give the paper's three-way breakdown its specificity — without them the comparison section is thinner than the source warrants and the claim of 'apples-to-apples breakdown' is undersupported.","resolved","ai",[30,32,33,34],"dev-tools","open-source","agents",[36],{"name":37,"url":38},"arXiv cs.AI","https:\u002F\u002Farxiv.org\u002Fabs\u002F2604.14228",0,{"sections":41},[42,46,51,56,61,66,71,76,81,85,90,94,99,104],{"name":43,"slug":30,"count":44,"latest_published_at":45},"AI",2590,"2026-07-16T04:00:00.000Z",{"name":47,"slug":48,"count":49,"latest_published_at":50},"Security","security",294,"2026-07-15T19:59:48.000Z",{"name":52,"slug":53,"count":54,"latest_published_at":55},"Deals","deals",179,"2026-06-29T20:02:07.000Z",{"name":57,"slug":58,"count":59,"latest_published_at":60},"Policy","policy",158,"2026-07-16T00:02:48.000Z",{"name":62,"slug":63,"count":64,"latest_published_at":65},"Hardware","hardware",122,"2026-07-14T19:46:26.000Z",{"name":67,"slug":68,"count":69,"latest_published_at":70},"Consumer Tech","consumer-tech",93,"2026-07-13T13:20:48.000Z",{"name":72,"slug":73,"count":74,"latest_published_at":75},"Software","software",70,"2026-07-13T19:52:25.000Z",{"name":77,"slug":78,"count":79,"latest_published_at":80},"Science","science",66,"2026-07-10T10:29:37.000Z",{"name":82,"slug":32,"count":83,"latest_published_at":84},"Dev Tools",59,"2026-07-07T04:00:00.000Z",{"name":86,"slug":87,"count":88,"latest_published_at":89},"Gaming","gaming",41,"2026-07-09T04:00:00.000Z",{"name":91,"slug":92,"count":88,"latest_published_at":93},"Startups","startups","2026-06-29T20:55:50.000Z",{"name":95,"slug":96,"count":97,"latest_published_at":98},"General","general",29,"2026-07-10T22:28:58.000Z",{"name":100,"slug":101,"count":102,"latest_published_at":103},"Reviews","reviews",20,"2026-06-24T12:00:01.000Z",{"name":105,"slug":106,"count":107,"latest_published_at":108},"How-To","how-to",6,"2026-06-16T09:00:00.000Z"]