How AI Agents Work: An Architectural Deep Dive | Hacker News Reader