Agentic AI
Master production Agentic AI visually — What Is an AI Agent, Workflows vs. Agents, ReAct loops, Guardrails, Tool Calling, MCP, A2A, Voice/Realtime Agents, Memory, Progressive Tool Discovery, Frameworks (LangGraph/CrewAI/ADK), Deep Research, Browser-Use, HITL Safety, Evals & FinOps.
Modern AI products move beyond single chat completions into autonomous systems that reason, call tools, collaborate across protocols, manage long-horizon memory, and obey strict safety and budget guardrails.
Build rock-solid ReAct loops, JSON tool dispatchers, parallel DAG executors, MCP/A2A bridges, and runaway-loop circuit breakers.
Master Context Engineering, Progressive Tool Discovery, stateful checkpoints, HITL approval gates, and OpenTelemetry trace debugging.
Every chapter pairs directly with AIMLCode's 25 live auto-graded Agentic AI coding problems (Basics + Production)!
What Is an AI Agent? Architecture, Core Components & How Agents Work
A beginner-first, production-grade breakdown of the 4 pillars of an AI agent—Brain (LLM), Tools, Memory, and Control Loop—and how agents differ from chatbots and RAG
LLM Function Calling: JSON Tool Schemas, Argument Validation & Dispatch
How LLMs invoke real Python functions safely: crafting high-signal JSON Tool Schemas (ACI design), allowlisted registry dispatch without eval(), strict Pydantic argument validation, and structured {ok, data, error} envelopes.
Short-Term Agent Memory: Sliding Windows, Token Budgets & Rolling Summarization
How to manage multi-turn agent conversations without hitting Context Overflow or HTTP 400 errors: pinning the System Prompt, token-budget sliding windows, Hybrid Summary-Buffer memory, and atomic (tool_call + tool_obs) eviction!
Plan-and-Execute Agents: Task Decomposition, Step Tracking & Dynamic Re-Planning
Why pure ReAct loses the plot on 12-step tasks, how Plan-and-Execute separates strategic planning from tactical execution, Frontier-Planner + Mini-Executor model tiering, and dynamic re-planning when tools fail!
Human-in-the-Loop (HITL): Risk Tiers, Interrupt/Resume & Tool Approval Gates
How enterprise agents earn trust in production: classifying tools into 3 Risk Tiers, durable async Interrupt/Resume checkpoints, Approve / Edit-Args / Reject reviewer flows, and preventing approval fatigue!