Building text-to-SQL agents from first principles | Hacker News Reader