How AI Agents work and how to build them | Hacker News Reader