I Attempted to Build an Agentic AI ... And It Immediately Got Stuck in a Loop.