Loading lesson…
Follow a real agent run step by step — from prompt to result — and see exactly what happens inside. No code yet, just the anatomy of a successful task.
We give Claude (via Claude Code) this goal: 'Find all images larger than 2MB in my Downloads folder and move them into a folder called BigImages.' A human would do it in about five minutes. Let's watch the agent.
STEP 1
Think: I need to list files, check sizes, filter images, create a folder, move files.
Act: list_files('~/Downloads')
See: 42 files returned, mixed types.
STEP 2
Think: I should filter to images and check sizes. I'll use a shell command.
Act: shell('find ~/Downloads -type f \( -iname "*.jpg" -o -iname "*.png" -o -iname "*.heic" \) -size +2M')
See: 7 files listed with paths.
STEP 3
Think: Now create the destination folder. Check if it exists first.
Act: shell('mkdir -p ~/Downloads/BigImages')
See: Folder created (or already existed).
STEP 4
Think: Move each file. I'll confirm before running if this is risky.
Ask: 'I'm about to move 7 files into BigImages. Proceed? (y/n)'
Human: y
STEP 5
Act: shell('mv [the 7 files] ~/Downloads/BigImages/')
See: Exit code 0, no errors.
STEP 6
Think: Verify the move worked.
Act: list_files('~/Downloads/BigImages')
See: 7 images present.
STOP
Report: 'Done. Moved 7 files totaling 23.4 MB into ~/Downloads/BigImages.'A real-world agent trace, condensed. Each step: think, act, observe.Imagine step 5 failed — 'permission denied.' A dumb agent would retry forever. A good agent would read the error, reason about it ('maybe a file is locked'), try a different approach, or stop and ask for help. Handling failure is what separates toy agents from useful ones.
In the next lesson, we look at what goes wrong when the trace doesn't go this cleanly — because most of the time, it doesn't.
15 questions · take it digitally for instant feedback at tendril.neural-forge.io/learn/quiz/end-agentic-first-agent-walkthrough-builders
What is the core idea behind "Your First Agent: A Walkthrough of What It Does"?
Which term best describes a foundational idea in "Your First Agent: A Walkthrough of What It Does"?
A learner studying Your First Agent: A Walkthrough of What It Does would need to understand which concept?
Which of these is directly relevant to Your First Agent: A Walkthrough of What It Does?
Which of the following is a key point about Your First Agent: A Walkthrough of What It Does?
Which of these does NOT belong in a discussion of Your First Agent: A Walkthrough of What It Does?
What is the key warning about "Define the guardrails first" in the context of Your First Agent: A Walkthrough of What It Does?
What is the key insight about "Always read the trace" in the context of Your First Agent: A Walkthrough of What It Does?
Which statement accurately describes an aspect of Your First Agent: A Walkthrough of What It Does?
What does working with Your First Agent: A Walkthrough of What It Does typically involve?
Which of the following is true about Your First Agent: A Walkthrough of What It Does?
Which best describes the scope of "Your First Agent: A Walkthrough of What It Does"?
Which section heading best belongs in a lesson about Your First Agent: A Walkthrough of What It Does?
Which section heading best belongs in a lesson about Your First Agent: A Walkthrough of What It Does?
Which section heading best belongs in a lesson about Your First Agent: A Walkthrough of What It Does?