AI Agents Advanced 18 min

Building your first agent — bounded, read-only, supervised

The problem

You build an agent to research suppliers. You give it browsing and write access to your supplier sheet. It runs, follows a chain of links, spends forty minutes and a meaningful amount of money, writes eleven rows of partly-fabricated supplier data into your sheet, and you cannot tell which rows are real.

The workflow
1Define the goal narrowly
2Grant read-only tools
3Set the step limit
4Write the constraints
5Run twenty times
6Read every trace
7Tighten what needs it
Widen one thing

What you need

Goal: research a potential supplier before we contact them. Needs to look at: their website, MCA data if available, their marketplace listings if any, trade directories.

The tool

An agent mode in a major assistant, with tools restricted

The prompt

Subscribers. The full prompt is part of the SMEMinds AI Playbook. See plans.

What comes back

1. GOAL, NARROWED — 'Produce a sourced one-page brief on [supplier name] covering: what they make, their scale indicators, how long they have operated, and any publicly visible customers or certifications.

Verify before you use it

Human review required. Check every line below before this leaves your screen.
  • Confirm the agent has no write tool. You said the output is for a human, so it does not need one.
  • Test the allowlist by giving it a supplier whose information is mostly on an aggregator site. It should report that and stop, not go there.
  • Read all twenty traces. Watching only the output misses the reasoning failures that produce plausible briefs from almost nothing.
  • Set the cost cap before the first run, not after the first surprising bill.