← All posts

How do I define and use an agent?

November 13, 2026 · 10 min read

In November of 2022, like many other people, I typed ‘What kind of things can you do?’ into ChatGPT and was astonished that it replied with a coherent answer that actually explained what it could do.

The technology world has moved at light speed since then. New terminology, plenty of AI slop grenades (when AI writes up a fancy document that you throw over the fence to let someone else decipher, we’ve all done it), and confusion has followed.

I’ve struggled to keep my finger on the pulse of what everything means.

One of the biggest breakthroughs I had in the world of AI and what it can do is when I found my distinction of an agent vs language model (early chatbot).

That is when I started to see ways I could use AI to support the work I was doing rather than go down a rabbit hole of new apps or tools no one really needs.

Last week, I had a few people reach out and ask me what an agent is and how I use them in the work I do.

So this week is my answer to both, in plain terms, with what we've built.

Start with the model

A language model is what you get after training a computer program on an enormous amount of text. It doesn't carry that text around. It carries the patterns it learned from it. Think of the text as the textbook and the model as the student who studied it. Ask it something, and it answers by predicting the next word, then the next one, over and over.

That's a chatbot. It's useful, and it only knows what it studied and what you type into the box.

An agent is a model with tools and memory

Tools are the things the model can reach for. On its own, a model can only write. Give it tools and it can ask for something to be done: look up an order, search a product catalog, check a shipment, send an email. The software around it does the work and hands the result back. The model reads the result and decides what to do next.

Memory comes in two kinds. Short-term memory is the conversation you're in right now. It disappears when the chat ends. Long-term memory is anything kept outside the conversation that the agent can go look up later: notes, files, your company's records.

Put those together and you get the definition I use. An agent is a model that can use tools and memory, in a loop, until a goal is reached. Anthropic, the company behind Claude, calls the building block an "augmented LLM": a model given retrieval, tools, and memory. (I fold retrieval into memory, since looking up your company's records is retrieval.) An agent is that model using its tools in a loop. The programmer Simon Willison says it in one line: "An LLM agent runs tools in a loop to achieve a goal."

Look at what's in that definition. Two of the three parts are about what the agent can reach. The model is the part everyone talks about, and it's the part you have the least control over. You choose it. You don't shape it. What you can change is what it reaches for.

What we had to hand it

For years, our data was everywhere. Orders sat in our order system. Some numbers lived in spreadsheets someone exported last month. Some of it went into our CRM. There was nowhere to look at all of it together, and that was before anyone asked an AI to look at it.

An agent is only as good as the data you hand it, and for a long time I had nothing worth handing it.

That changed how I think about where agents pay off. The best use I've seen isn't an agent doing a job by itself. It's getting messy information out of the places it lives, cleaning it into one standard shape, and keeping it current. Then you build agents and tools on top of that clean version, so the people on your team can find, check, and use the information without waiting on someone else.

Two places we did it

At Doing Good Works, the order system's purchase orders, invoices, and order lines now land in one clean copy every fifteen minutes. That's more than 11,000 purchase orders and over 31,000 order lines. Supplier catalogs refresh on a nightly rotation, about 28,500 products from 28 vendors. Alongside it, the team has a connection inside ChatGPT that can search products, price them, check order status, and pull open purchase orders. There are reports for the whole company, a separate set for finance, and a map of the education accounts we work with, school by school and department by department.

Here's the agent. An account manager asks ChatGPT where a client's order stands. The model checks order status, reads the result, sees a line is waiting on a purchase order, pulls the open purchase orders, and answers. ChatGPT is the model. The connection is the tools. The clean copy is the memory.

I'm remote, so I don't get to watch the moment it clicks for someone. What I see is the sourcing tool getting used more and more, and requests coming in to change the education map because people are putting real information into it. When the team asks for changes, they're using it.

At Foster Greatness UK, the mess was public. Every council in England responsible for children's services, 153 of them, has to publish a local offer: what support a young person leaving care is entitled to. Each one publishes it differently. Some are web pages, some are PDFs, some are spread across a dozen links, and the headings never match. If you're nineteen and trying to find out what your council owes you, that's a lot to dig through.

So we sent agents out to do the digging. They found each council's local offer, read the pages and PDFs, and checked them against a 69-item list of what a local offer can include. Every claim had to point back to a quote on the council's own page, or it got downgraded. Scoring cost about fifty cents a council. The result is one standard table, and on top of it a postcode search: type in your postcode and see what your council offers.

Notice where the agent sits in each. At DGW, no agent does the gathering. Plain scheduled jobs pull the data in, and the agent sits on top, inside ChatGPT. In the UK it's reversed. Agents built the table, and the postcode search on top is plain software.

The agent sits in a different place. The shape is the same. Messy data in, one clean table, tools on top for the people who need the answers. The point is giving people their time back for the part only they can do. At DGW that's account managers spending it with clients instead of hunting through screens. In the UK it's a young person typing a postcode instead of digging through a council website, and the people supporting them spending that time on the conversation instead.

Where I'd start if you texted me

You don't need to build anything to take the first step. Make a list of the information you make decisions from: new orders, how orders move, where they get held up, how your team's work is going. For each one, write down where it lives today and how disconnected it is from the rest.

Then ask four questions about each place:

  1. Can I export it by hand, like downloading a spreadsheet?

  2. Does it already connect to any of my other tools?

  3. Can I change how it's organized, or am I stuck with how the software sees my business?

  4. Can another program read it automatically, without anyone exporting it? (The technical word for that is an API.)

If you'd rather have help making the list, paste this into ChatGPT or Claude:

Interview me one question at a time until you can list every system, spreadsheet, and export my business uses to make decisions about orders, customers, finances, and team workload. For each one, find out: how data gets in, whether I can export it by hand, whether another program can read it automatically, whether I can change how it's organized, and what other places hold a copy of the same information. When you have the full list, rank the sources by which one, cleaned into one standard table, would answer the most questions my team asks every week.

Example Prompt

That list tells you where you stand. From there you either build the clean copy or buy it, with someone who can help. Either way, the agent will have something true to read.

The question to ask whoever is selling or building your agent: what will it read, and how does that information stay current?

One more conversation, with your own team. Ask what each status means. If three people use "on hold" three different ways, the agent will read all three as one answer. Clean data is one place and one agreed meaning.

If you're the one building it

The pattern under both projects:

  • One path in per source. The goal is exactly one job that pulls each system's data. At DGW those run on a schedule; the UK audit runs by hand when we re-score. Raw data lands untouched, gets cleaned into a standard shape in a second step, and only the cleaned version is what tools read.

  • Clean tables in a database. Postgres underneath, so anything that speaks SQL can read it.

  • Agents for the extraction that rules can't do. For the UK local offers, AI agents, mostly built with Pydantic AI, did discovery, extraction, and scoring, with a cheaper model doing bulk reading and a stronger one verifying. Every "present" finding had to quote the source, and unsupported ones were downgraded.

  • Tools on top over MCP. The Model Context Protocol is an open standard for plugging tools into AI apps (its own docs call it a USB-C port for AI). Our connector exposes search, pricing, order status, and open purchase orders to ChatGPT and Claude through one MCP server.

The cleaning layer is weeks old in places. Our order data moved to its current setup at the end of October, and we're still retiring older copies. It isn't done. It's useful already.

This issue covers the second of four data problems I keep writing about. An agent reads whatever your records say, so what it can answer depends on how clean your data is and whether your team agrees on what it means. The other three are data scattered across systems, security, and the policies that let you take on bigger clients.

If you've got an agent in your business, or someone's trying to sell you one, reply and tell me what it reads. That's the question I'm most curious about.

Last week's issue: Getting a Grip of the Business

Get new posts delivered to your inbox.

Join Infrastructure of Belonging. On building things that matter.

Read more posts →