TensorLearn
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.

python
tools = [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:

  1. Thinks ("I need to find the price")
  2. Acts (Calls API)
  3. Observes ("Price is $150")
  4. Answers ("Apple is $150")

Mark as Completed

TensorLearn - AI Engineering for Professionals