Claude Code — 16 Agentic AI Design Patterns
Claude Code의 소스맵에서 추출한 1,902개 TypeScript 파일을 분석하여, 16가지 에이전트 AI 디자인 패턴을 인터랙티브 다이어그램으로 시각화한 페이지입니다.
16 Design Patterns
- Instruction Following (명령어 해석) — 15-section system prompt assembly
- Context Memory (컨텍스트 메모리) — 4-level CLAUDE.md + session memory
- Planning & Reasoning (계획 수립) — 3-phase coordinator orchestration
- Tool Execution (도구 실행) — 40+ tools with concurrency control
- Refinement & Output (정제 & 출력) — streaming + 36 message components
- Permission & Security (권한 & 보안) — 3-tier security gate with AST analysis
- Session Persistence (세션 지속성) — JSONL auto-save and resume
- Memory Write (메모리 저장) — 4-type memory classification
- MCP Extension (MCP 확장) — external tool integration protocol
- Context Compaction (컨텍스트 압축) — 180K→25K token compression
- Agent Spawning (에이전트 스포닝) — Fork/Fresh sub-agent strategies
- Cost Tracking (비용 추적) — per-model token cost calculation
- Error Recovery (에러 복구) — exponential backoff retry
- Prompt Cache (프롬프트 캐시) — global/ephemeral cache split
- Skill System (스킬 시스템) — YAML-defined executable skills
- Worktree Isolation (워크트리 격리) — Git worktree-based isolation
이 인터랙티브 시각화를 보려면 JavaScript를 활성화해주세요.
Enable JavaScript to view the interactive visualization.
Source Analysis Repository · @leafeditor