Contents

Agentic Ai

Overview

View as:

06 - Agentic AI

Level: Beginner to Advanced
Format: Prose + code + Q&A pairs tagged [Easy] [Medium] [Hard]


What You Will Learn

  • What an AI agent actually is and how it differs from a chatbot or workflow
  • How the agent loop works at the API level - what the LLM sees at every step
  • How function calling works, how to design good tools, and how to handle failures
  • The four memory types and how to manage context across long-horizon tasks
  • Planning and reasoning strategies: ReAct, Plan-and-Execute, Tree of Thoughts, Reflexion
  • The 8 architectural patterns and how to choose between them
  • The 5 core design patterns used across virtually all production agents
  • How multi-agent systems coordinate, communicate, and fail
  • The four major agent frameworks (LangGraph, ADK, CrewAI, AutoGen) and when to use each
  • Production system design: reliability, security, HITL, cost management
  • Trajectory evaluation and observability - how to measure and debug agent behavior
  • 40+ curated Q&A pairs covering all domains

Chapter Map

#FileTopicLevel
1What Is an AI AgentAgent vs chatbot, autonomy spectrum, core properties, key vocabulary★★☆ Beginner
2The Agent LoopThe core loop mechanics, what the LLM sees, ReAct, context growth, termination★★☆ Beginner
3Tool Use & Function CallingFunction calling API, schema design, tool chaining, parallel calls, security★★★ Intermediate
4Memory & State4 memory types, working memory, checkpointing, semantic memory, context management★★★ Intermediate
5Planning & ReasoningCoT, ReAct, Plan-and-Execute, Tree of Thoughts, FLARE, Reflexion, replanning★★★ Intermediate
6Architectural Patterns8 patterns, HITL architectures, feedback loops, hybrid patterns, selection guide★★★ Intermediate
7Design PatternsTool-use, Reflection, Planning, Coordination, Routing - behavior within patterns★★★ Intermediate
8Multi-Agent SystemsCoordination strategies, communication protocols, state, failure modes, resilience★★★ Advanced
9Agent FrameworksLangGraph, ADK, CrewAI, AutoGen - internals, code examples, comparison matrix★★★ Intermediate
10Agentic System DesignProduction architecture, reliability engineering, security, cost, scalability★★★★ Advanced
11Evaluation & ObservabilityTrajectory eval, LLM-as-judge, metrics, observability stack, debugging★★★ Advanced
12Q&A Review Bank40 questions across 8 domains - concepts through production engineering★★★

Path A - Full Progression (beginner to interview-ready)

Read chapters in order: 1 → 2 → 3 → 4 → 5 → 6 → 7 → 8 → 9 → 10 → 11, then work through 12-Interview-QA-Bank.md. ~6–8 hours.

Path B - Accelerated (already understand LLM basics)

  1. What Is an AI Agent - vocabulary (30 min)
  2. The Agent Loop - the mechanics (45 min)
  3. Tool Use & Function Calling - building blocks (45 min)
  4. Architectural Patterns - structure (45 min)
  5. Agentic System Design - production (60 min)
  6. Q&A Review Bank - all 40 questions (90 min)

Path C - System Design Focus

  1. What Is an AI Agent - vocabulary
  2. The Agent Loop - understand what you're designing
  3. Agentic System Design - production architecture
  4. Architectural Patterns - structure options
  5. Multi-Agent Systems - coordination

Path D - Framework Focus (building something now)

  1. The Agent Loop - understand what frameworks wrap
  2. Tool Use & Function Calling - tool design
  3. Agent Frameworks - pick and use a framework
  4. Browse Code Labs - Agentic Systems

Path E - Weak spots only


Relationship to Other Sections

SectionWhat It CoversRelationship to This Section
05 - AgentsFramework-specific implementation (LangChain, LangGraph, CrewAI, ADK)How to build - this section is how to design
[06 - Agentic AI]System design, patterns, evaluationSystem-level view - concepts through production
Code Labs - Architecture PatternsCode implementations of the 8 architectural patternsExecutable versions of the patterns in chapter 6
Code Labs - Agentic SystemsEnd-to-end system designs in 4 frameworksFull implementations combining multiple concepts
System DesignsProduction-grade system designs with GCP mappingApplied versions of chapter 10

Resources


Previous: 05 - Agents | Back to Master Index