AI Agents robot mascot

What is an Agent?

Observe-Think-Act loop diagram

Agents are Everywhere

Agents across industries

3 Parts, 1 Agent

Brain, hands, and memory components

Every agent needs a brain, hands, and memory

The Brain: Thinking Models

Thinking model with self-reflection

How Thinking Changes Everything

Without thinking vs with thinking comparison

Tools: The Agent's Hands

Agent using various tools

MCP: The Universal Adapter

MCP as USB-C for AI tools

Memory: How Agents Learn

Short-term, long-term memory, and context window

Managing Memory

Compress, summarize, discard memory strategies

Step 1: Receive Task

Robot receives task with 3 component icons faded

Task: Analyze quarterly sales data

Step 2: Observe — Tools

Robot uses Tools to read spreadsheet data

Step 3: Think — Brain

Robot thinks with reasoning bubbles

Step 4: Act — Tools

Robot uses Tools to run SQL query

Step 5: Remember — Memory

Robot stores results in filing cabinet

Step 6: Think + Remember

Robot combines thinking and memory to find insights

Step 7: Act — Tools

Robot uses Tools to build dashboard

Step 8: Complete!

All 3 components working together, task complete

3 Ways to Build Agents

Three agent architecture patterns

Pattern 1: The Simple Agent

Simple agent with one loop

Best for: well-defined tasks, getting started, clear objectives

Pattern 2: Sub-Agents

Main agent delegating to sub-agents

Best for: workflows with specialized subtasks

Pattern 3: The Orchestrator

Orchestrator routing to specialist agents

Best for: multiple domains, varied request types

How to Choose

Flowchart for choosing agent pattern

Your First Agent

from claude_agent_sdk import query, ClaudeAgentOptions

async for msg in query(
    prompt="Analyze sales data, find trends," # User Request
           "and build a dashboard", 
    options=ClaudeAgentOptions(
        model="claude-sonnet-4-6",             # Brain
        system_prompt="You are a data analyst.", # Agent Role
        allowed_tools=[
            "Read",   # read sales CSV
            "Bash",   # run SQL queries
            "Write",  # create dashboard
        ],
        permission_mode="acceptEdits",
    ),
):
    print(msg)
Robot coding at laptop

From Simple to Powerful

Progressive enhancement: model, tools, memory

The Honest Assessment

What agents excel at vs struggle with

Where This Is Going

Evolution from autocomplete to autonomous agents

Remember These Three Things

Three key takeaways

Go Deeper

00:00