This article explores the architecture and workflow of Claude Code at Anthropic, detailing how it evolved from a side project into a critical internal tool for AI-assisted software development. It highlights practical system design choices such as using basic file search (glob and grep) over complex RAG for context retrieval, and the architectural considerations for sandboxing and permissions in derivative products like Claude Cowork.
Read original on The Pragmatic EngineerAnthropic's Claude Code, initially a side project, became a fundamental tool for engineers. The system facilitates rapid iteration by allowing engineers to run multiple Claude instances in parallel, generating significant numbers of Pull Requests (PRs) daily. This shift necessitates new development workflows, emphasizing rapid prototyping over extensive Product Requirement Documents (PRDs).
Architectural Simplicity for AI Tools
The success of Claude Code's agentic search with basic `glob` and `grep` illustrates that for certain AI-driven tasks, leveraging robust, battle-tested tools with simple interfaces, and allowing the LLM to orchestrate their use, can often outperform complex, custom-built AI infrastructure solutions. This can lead to greater reliability and easier maintenance.
The adoption of AI coding tools like Claude Code blurs the lines between traditional engineering roles and shifts focus towards managing parallel agents and rapid context switching. The article also reinforces the importance of a solid infrastructure foundation; fixing foundational issues (like broken type checkers or outdated frameworks) before building new products is critical for long-term productivity, a lesson learned from Meta's engineering culture.