# What Is an AI Agent? How to Build One from Scratch in Python
9 min read
What makes an AI agent different from a chatbot, the agent loop explained, and a working Python agent with tools built step by step on the Claude API.
What makes an AI agent different from a chatbot, the agent loop explained, and a working Python agent with tools built step by step on the Claude API.
What the Model Context Protocol is, how MCP servers expose tools, resources and prompts, and how to build, test and connect one with the Python SDK 2.x.
A Python script, written with ChatGPT, that finds duplicate photos by xxhash checksum and cleans them up, with cached checksums for fast reruns.