Building an AI agent from scratch in Python | Hacker News Reader