📖 Quick Start
- Who it’s for: Anyone curious about AI coding agents
- Time to complete: 5 minutes
- Prerequisites: None
- Expected outcome: Clear mental model of how agents work
- Next step: Try Amp in 15 minutes
Inspired by Simon Willison’s definition—“LLMs calling tools in a loop to achieve a goal”—this post keeps things simple and practical. If you remember one thing about agents, make it this: an agent is a loop that thinks, acts with tools, observes, and repeats until done.
goal → think → choose_tool → call_tool → observe_result
→ decide: done? otherwise refine plan and loop
flowchart TD
Start([Goal]) --> Think[Think: Analyze situation]
Think --> Choose[Choose Tool]
Choose --> Call[Call Tool]
Call --> Observe[Observe Result]
Observe --> Decide{Goal Reached?}
Decide -->|No| Think
Decide -->|Yes| End([Done])
Goal: “Turn expenses.csv into a bar chart of monthly totals.”
file.read('expenses.csv') → observe rowscode.run(python, script) → observe a PNG path🔨 Try It Now (2 minutes)
Task: Watch an agent think, act, and verify in your own codebase
Prompt:
Read package.json, list all dependencies, and create a summary markdown file called deps-summary.md with total count.Verification:
- Check that deps-summary.md was created
- Verify the dependency count matches package.json
Expected outcome: You’ll see the agent read the file, count dependencies, create a new file, and confirm it worked—the core loop in action.
Q: How is an agent different from ChatGPT or Copilot? A: ChatGPT gives you text responses. Copilot suggests code. Agents run tools in a loop—they read files, run tests, see results, and iterate until the goal is met.
Q: What if the agent makes a mistake? A: Review diffs, stage good changes, discard bad ones. Git is your safety net.
Q: Can agents write entire apps? A: They excel at focused tasks with clear goals. Think “fix this bug and verify” not “build me Instagram.”
Now that you understand the core loop, it’s time to experience it yourself:
Next: Get Your First Win in 15 Minutes — Watch the agent loop in action on a real task in your codebase.
Alternative start: Coding with Agents in 2025 — Complete overview and mindset before diving in.
Practice Path:
Reference: Simon Willison’s post on agents provides the foundational definition this intro builds on.