Week 7,8: Foundation Models as Cognitive Primitives - Overview of LLMs, code generation, and few-shot learning - LLMs as tools vs agents: prompting vs chaining - Lab: Use OpenAI API to build an LLM-based calculator/planner