Hacker News
Claude Code from Source
Claude Code is an async generator AI coding agent that streams output, executes tools, recovers errors, and compresses context across four layers. Its 14-step pipeline resolves permissions, speculatively executes, and batches by safety classification. Sub-agents share prompt cache prefixes, cutting costs 95%. Memory is file-based with LLM recall. Startup takes 240 ms via parallel I/O, and two-phase skill loading uses 27 lifecycle hooks to prevent injection.