Back to Course
LLM Engineering: Transformers & RAG
Module 6 of 12
6. AI Agents
1. Tools
LLMs can't do math or browse the web. But they can call functions.
pythontools = [calculator, search_google] agent.run("What is the stock price of Apple?") # Agent -> Calls Search -> Gets Price -> Answers
2. ReAct (Reason + Act)
A loop where the model:
- Thinks ("I need to find the price")
- Acts (Calls API)
- Observes ("Price is $150")
- Answers ("Apple is $150")