Lab 9: AI Agents — From Chatbots to Autonomous Systems
Objective
Chatbot vs Agent: The Key Difference
CHATBOT:
User: "What's the weather in London?"
Bot: "I don't have real-time data." ← end of interaction
AGENT:
User: "What's the weather in London?"
Agent thinks: "I need real-time weather data"
Agent acts: [calls weather API]
Agent sees: {"temp": 12°C, "condition": "rainy"}
Agent replies: "It's 12°C and raining in London. You may want an umbrella."
← goal achieved through tool useThe Agent Loop: Observe → Think → Act → Observe
ReAct: Reason + Act
Tools: What Agents Can Do
Category
Tools
Memory Systems
Major Agent Frameworks
LangChain
LangGraph
AutoGen (Microsoft)
Multi-Agent Systems
Agent Safety Considerations
Risk
Example
Mitigation
The Future: Agentic AI
Further Reading
PreviousLab 8: Prompt Engineering — Getting the Most Out of LLMsNextLab 10: OpenClaw — Building Your Own AI Personal Assistant
Last updated
