Functions-vs.-Agents%3A-Understanding-the-Core-Differences-in-AI-Automation