How AI Agents Make Autonomous Decisions