Behind the Autonomy%3A How AI Agents Think and Act