AI Agents Explained How They Think Act and Solve Problems