AI agents explained: what I got wrong before building one

I used to think an AI agent was a personal assistant. You hand it your chores: call this person, remind me of that, book a table, send this email, check my server every five minutes. It does them, you relax.
Then we built one at the office, and I learned that I was looking at the wrong part.
The chores aren’t what make something an agent. A script that checks your server every five minutes is just a scheduled script, and we’ve had those forever. In reality, an agent is a model working in a loop. You give it a goal and a few tools. It uses a tool, looks at what came back, and decides by itself what to do next. Then again, and again, until the goal is done. Nobody writes the steps for it.
The difference sounds small until you watch it happen. We built a “site doctor” that checks a website and writes a diagnosis. On its first run on our own site, a page came back “not found”. Nobody told it what to do in that case. It tried two other addresses on its own, then noticed in the DNS results that the site also answers on www, and went to check that version and its certificate too. A script would have printed “404” and stopped. The agent got curious.
It also found a real problem: our French and Arabic home pages were a second slower than the English one. Its first guess about why was wrong. Then we gave it slightly better eyes, a tool that reports redirects, and on the next run it found the actual cause on its own. Same brain, better tools, better answer. That’s probably the most useful thing I learned.
And one thing didn’t change: it still needs a human. It made a confident guess about a plugin we don’t even use. You read an agent’s report the way you’d read a smart intern’s: grateful, and with your eyes open.
So yes, an agent can be your personal assistant. But it’s an assistant that figures out its own next step, not one that follows a checklist you wrote.
If you want to see it for yourself, we wrote the whole thing up as a short follow-along: build your own site doctor in about 15 minutes. It’s around 80 lines of Python, and it only looks, so it’s a safe first agent.
If you’d like an agent built around your own business, get in touch.