FDE Full Course #5
In this lecture, we build AI Agents from first principles and understand what actually makes an LLM capable of taking actions.
We start with a simple question: if an LLM can generate code, why can’t it actually create a file, check the weather, send an email, or interact with a database by itself?
That takes us into one of the most important concepts in modern AI applications — Tools and Tool Calling.
We first give our LLM simple capabilities like a calculator, live weather and currency conversion. Then we see how the model can choose the correct tool, call multiple tools for a single request, observe their results and decide what to do next.
Finally, we take everything we’ve learned and build a real AI Website Builder Agent using Spring AI that can create directories, write files, read its own work and build complete websites from a simple natural-language prompt.
Topics Covered
Why an LLM cannot directly perform actions
LLM = Brain, Tools = Hands
What are Tools / Function Calling?
Natural Language → Structured Tool Calls
Tool Calling with Spring AI
Calculator Tool
Live Weather Tool
Currency Conversion Tool
Multiple Tool Calls for a Single Request
How the Tool Calling Loop Actually Works
Information Tools vs Action Tools
When does an LLM become an AI Agent?
AI Agents vs Workflows
Goal → Decide → Act → Observe Loop
Building an AI Website Builder Agent
File System Tools
createDirectory, writeFile, readFile and listFiles
Agent Sandboxing & Path Traversal Protection
Tool Permissions and Security
Human-in-the-Loop
Building practical Agentic AI systems with Spring AI
By the end of this lecture, you won’t just know the definition of an AI Agent — you’ll understand how agents actually work internally and how to build one yourself.
————————————————————————————————————-
Code and Notes: Github : https://github.com/adityatandon15/Forward-Deployed-Engineer-Full-Course
Spring Boot Full Course : https://youtube.com/playlist?list=PLEYgx5hMdopw&si=o1Njda0XgYXwg4xs
JAVA Full Course Series : https://youtube.com/playlist?list=PLQEaRBV9gAFsR15tNo2QLF9d2qc-c018p&si=4qQP_euMTZMvAwNu
Join our WhatsApp Group: https://www.whatsapp.com/channel/0029VbBF1XKF1YlMyYuPM23s
We have paid courses on DSA, Web Development , Blockchain, System Design & GenAI.
Join Courses: https://strikes.in/
Coder Army Website: https://coderarmy.in/#home
Coder Army App: https://play.google.com/store/apps/details?id=com.rohit.negi
Connect with Aditya Tandon
Instagram : https://www.instagram.com/itsadityatandon
LinkedIn : https://www.linkedin.com/in/adityatandon2
Twitter : https://x.com/adityatandon02
Timestamps:
source
