in this book you will learn following:
Part 1: Foundations (Absolute Beginner Friendly)
Chapter 1: Introduction to AI Agents What is an AI Agent? Agent vs Normal Program Real-life examples of agents What you will build in this book Tools we will use (Python, LLMs, Streamlit)
Chapter 2: Python Basics for AI Agents Installing Python and VS Code Python basics you must know Functions, classes, and modules Virtual environments Running your first Python script
Chapter 3: Understanding LLMs (No Math) What is a Large Language Model? How ChatGPT works (intuitive explanation) Prompts vs Responses Tokens, context, temperature Why LLMs are good for agents
Part 2: Your First AI Agent (Single Agent)
Chapter 4: Setting Up OpenAI & LangChain What is OpenAI? What is LangChain? Installing required libraries API keys and environment variables First LLM call in Python
Chapter 5: Building Your First Simple AI Agent What makes code an “agent”? Agent loop (Think → Act → Observe) Writing a basic AI agent from scratch Making the agent respond like a chatbot Complete working code
Chapter 6: Adding Memory to Your Agent Why memory is important Short-term vs long-term memory Storing conversation history Implementing memory in Python Code walkthrough Part 3: Tool-Using AI Agents
Chapter 7: Giving Tools to Your Agent What are tools? Why agents need tools Designing tool functions in Python Connecting tools to the agent
Chapter 8: Agent That Uses Tools Calculator tool Web search tool (basic) File reader tool Tool decision logic Full working example
Chapter 9: Autonomous AI Agent What is autonomy? Goal-based agents Planning + execution loop Error handling Building a task-solving agent
Part 4: Streamlit – Use Your Agent Yourself
Chapter 10: Introduction to Streamlit What is Streamlit? Installing Streamlit First Streamlit app Layout, buttons, inputs
Chapter 11: Turning Your Agent into a Web App Connecting agent with Streamlit Chat UI design Handling session state Running your agent locally Full Streamlit app code
Chapter 12: Experimenting with Your Agent Changing prompts Modifying tools Adding new abilities Debugging agent behavior Part 5: Advanced Single Agents
Chapter 13: Planning & Reasoning Agents What is planning? Step-by-step thinking Chain-of-Thought (simple explanation) Implementing planner agents
Chapter 14: Retrieval-Augmented Agent (RAG) What is RAG? Why agents need knowledge Loading documents Asking questions from documents Complete RAG agent code
Part 6: Multi-Agent Systems (Hero Level)
Chapter 15: What Are Multi-Agent Systems? Single agent vs multi agent Real-world examples When to use multi agents Communication between agents
Chapter 16: Building Your First Multi-Agent System Manager agent Worker agents Task delegation Message passing Complete code example
Chapter 17: Collaborative Multi-Agent System Research agent Writer agent Reviewer agent Final output agent