Claude Code — Architecture Overview
Written like a senior engineer giving KT to a junior. Read this first, then dive into the per-module docs.
What Is This?
This is Claude Code — Anthropic's agentic coding assistant that runs in your terminal. It's a TypeScript/Bun application that:
- Provides an interactive TUI (terminal UI) built with a custom React renderer called Ink
- Connects to Anthropic's API to stream AI responses with tool-use capabilities
- Can execute shell commands, read/write/edit files, search codebases, and more
- Supports multi-agent orchestration (coordinator mode, swarms)
- Can be controlled remotely via mobile/web (bridge system)
- Extends via plugins and skills