A single LLM call answers a question. An agent is a small program whose only job is to make that answer trustworthy. Agents are the layer where directives, logic gates, retrievers, verifiers, and evaluators live. They turn a fluent guesser into a system you can put in front of users.
I build agents in three roles:
- Director agents — carry the directive; decide what the next step should be.
- Worker agents — do the narrow task (search, summarize, extract, translate, write SQL).
- Verifier agents — their only job is to say no when an output violates the directive, the truth table, or the evidence.