Designing an AI Coding Agent Platform like Claude Code / Cursor — A system design walkthrough for building the agentic coding panel behind tools like Claude Code or Cursor. This article covers execution architecture, scaling to millions of sessions, and handling failures like infinite loops, crashes, and irreversible actions.