Getting Started
- Unsure How to Get Started? Try Author Quickstart!
- How to Write on Leanpub
- Previewing and publishing
- Basic formatting
- Markdown and Markua
- Generate a preview version of your book
- Either read a tutorial, or just go for it!
- Thanks for being a Leanpub author!
Writing in Markua
- Section One
- Including a Chapter in the Sample Book
- Links
- Images
- Lists
- Page Breaks
- Code Samples
- Tables
- Math
- Headings
- Block quotes, Asides and Blurbs
- Good luck, have fun!
Contents
Chapter 1–Introduction to Agentic AI
- 1.1 Evolution of AI to Agentic Systems
- 1.2 Why Agents?
- Agent Operations - Five Fundamental steps
- 1.3 Chatbots vs True AI Agents
- 1.4 Key Features of Agentic AI
- 1.5 Differences with Traditional AI
- Example Summarize a PDF Read all PDFs, create knowledge base, generate Q&A system
Chapter 2 - Single-agent vs. multi-agent architectures
Chapter 3 - RAG architecture
- Agentic RAG
- Agentic flow
- Multi-agent architectures
- Human-in-the-loop
- Memory transformation
Chapter 4 - RAG systems
- How RAG Works (Step-by-Step)
- RAG Architecture
- Practical Implementation of RAG using Lang chain
Chapter 5- My First Agent–Practical Implementation
- pip install google-generativeai requests
- Web-based weather chatbot (Streamlit)
- Simple Agentic Code (Python + Gemini)
- Web-based Agentic (Streamlit)
- Langchain Agent
- Implementing Agentic using Lang chain
Chapter 6 - Popular AI Agent Frameworks
- LangChain :
- AutoGen (Microsoft)
Chapter 7 - Types of AI Agents
- Memory-Enhanced: The Personalized Powerhouses Long-term memory, personalization, adaptive learning Project management AI, personalized assistants Individualized experiences, long-term interactions
- Fixed Automation–The Digital Assembly Line
- Examples RPA for invoice processing, email autoresponders, basic scripting tools (Bash, PowerShell).
- LLM-Enhanced Agents–Smarter, but Not Exactly Einstein
- Examples Email filtering, AI-assisted content moderation, customer support request classification.
- ReAct Agents–Reasoning Meets Action
- Examples Language agents handling multi-step queries, AI game masters, project planning tools.
- ReAct + RAG Agents–Grounded Intelligence
- Examples Legal research systems, clinical decision support tools, technical troubleshooting assistants.
- Tool-Enhanced Agents–The Multi-Taskers
- Examples Code generation assistants (e.g., GitHub Copilot, Cody), developer terminals, data analysis bots combining multiple APIs.
- Self-Reflecting Agents–The Philosophers
- Examples AI systems that justify their outputs, self-evaluating learning agents, quality assurance (QA) bots.
- Memory-Enhanced Agents–The Personalized Powerhouses
- Examples Project management assistants with task history, customer support agents tracking interactions, personalized recommendation systems.
Chapter 8 - Why Most AI Agents Fail & How to fix them
- 1. Development-Related Challenges
- 2. LLM-Centric Challenges
- 3. Production and Operational Challenges
- Development Issues in AI Agents
- Missing Feedback Loops Without feedback mechanisms, agents cannot learn from mistakes or improve over time. • Incorporate feedback loops to enable continuous refinement
- LLM-Related Challenges
- High Cost of Running LLMs
- Planning Challenges in AI Agents
- Reasoning Limitations in AI Agents
- Tool Invocation Challenges
- Scaling AI Agents
Chapter 9 - Governance considerations
- Continuity and Resilience Define fallback and manual intervention procedures to sustain critical operations. Preserve business continuity, protect data integrity, and enable human takeover when required.
- Foundations for AI agent evaluation and governance: progressive governance practices
- Pre-Deployment Validation and Governance of AI Agents
Conclusion
About the Author
Contents
Chapter 1–Introduction to Agentic AI
- 1.1 Evolution of AI to Agentic Systems
- 1.2 Why Agents?
- Agent Operations - Five Fundamental steps
- 1.3 Chatbots vs True AI Agents
- 1.4 Key Features of Agentic AI
- 1.5 Differences with Traditional AI
- Example Summarize a PDF Read all PDFs, create knowledge base, generate Q&A system
Chapter 2 - Single-agent vs. multi-agent architectures
Chapter 3 - RAG architecture
- Agentic RAG
- Agentic flow
- Multi-agent architectures
- Human-in-the-loop
- Memory transformation
Chapter 4 - RAG systems
- How RAG Works (Step-by-Step)
- RAG Architecture
- Practical Implementation of RAG using Lang chain
Chapter 5- My First Agent–Practical Implementation
- pip install google-generativeai requests
- Web-based weather chatbot (Streamlit)
- Simple Agentic Code (Python + Gemini)
- Web-based Agentic (Streamlit)
- Langchain Agent
- Implementing Agentic using Lang chain
Chapter 6 - Popular AI Agent Frameworks
- LangChain :
- AutoGen (Microsoft)
Chapter 7 - Types of AI Agents
- Memory-Enhanced: The Personalized Powerhouses Long-term memory, personalization, adaptive learning Project management AI, personalized assistants Individualized experiences, long-term interactions
- Fixed Automation–The Digital Assembly Line
- Examples RPA for invoice processing, email autoresponders, basic scripting tools (Bash, PowerShell).
- LLM-Enhanced Agents–Smarter, but Not Exactly Einstein
- Examples Email filtering, AI-assisted content moderation, customer support request classification.
- ReAct Agents–Reasoning Meets Action
- Examples Language agents handling multi-step queries, AI game masters, project planning tools.
- ReAct + RAG Agents–Grounded Intelligence
- Examples Legal research systems, clinical decision support tools, technical troubleshooting assistants.
- Tool-Enhanced Agents–The Multi-Taskers
- Examples Code generation assistants (e.g., GitHub Copilot, Cody), developer terminals, data analysis bots combining multiple APIs.
- Self-Reflecting Agents–The Philosophers
- Examples AI systems that justify their outputs, self-evaluating learning agents, quality assurance (QA) bots.
- Memory-Enhanced Agents–The Personalized Powerhouses
- Examples Project management assistants with task history, customer support agents tracking interactions, personalized recommendation systems.
Chapter 8 - Why Most AI Agents Fail & How to fix them
- 1. Development-Related Challenges
- 2. LLM-Centric Challenges
- 3. Production and Operational Challenges
- Development Issues in AI Agents
- Missing Feedback Loops Without feedback mechanisms, agents cannot learn from mistakes or improve over time. • Incorporate feedback loops to enable continuous refinement
- LLM-Related Challenges
- High Cost of Running LLMs
- Planning Challenges in AI Agents
- Reasoning Limitations in AI Agents
- Tool Invocation Challenges
- Scaling AI Agents
Chapter 9 - Governance considerations
- Continuity and Resilience Define fallback and manual intervention procedures to sustain critical operations. Preserve business continuity, protect data integrity, and enable human takeover when required.
- Foundations for AI agent evaluation and governance: progressive governance practices
- Pre-Deployment Validation and Governance of AI Agents
