An agent is a loop, not a prompt
A chatbot takes a message and returns text. An AI agent runs a loop around a large language model (LLM): it looks at a goal, decides on a next step, calls a tool such as a database query, an API or a document search, reads the result, and repeats until the task is done or it needs a person to decide.
The model supplies the reasoning. The tools supply the ability to act. Your rules, permissions and approval steps decide what the agent is allowed to do. All three parts are engineering work, and the quality of the whole depends on the weakest one.
Where agents are a good fit
- Support triage: read an incoming request, look up the customer and order, draft a reply or route it to the right team.
- Document processing: extract fields from invoices, contracts or forms and check them against your records.
- Reporting: gather figures from several systems and write the weekly summary.
- Back-office workflows: create tickets, update a CRM, schedule follow-ups, with approval for anything sensitive.
The common thread is work that is repetitive, spread across several systems and described well enough that a new employee could follow written instructions.
Where a simpler tool is better
If the steps never change, ordinary automation is cheaper, faster and easier to test than an agent. If the answer must be exactly right every time, keep a person in the approval path or use deterministic code. Agents earn their place when the input is messy: free text, varied documents, unclear requests.
What makes an agent safe to run
- Least privilege: give the agent access only to the tools and data its job needs, using the permissions of the person it works for.
- Human in the loop: require approval before irreversible actions such as sending money, deleting data or emailing customers.
- Evaluation: build a test set of real examples and measure accuracy before launch and after every change.
- Observability: log each step, tool call, cost and outcome so you can find out why something went wrong.
- Guardrails: validate inputs and outputs, and set limits on spend, steps and time.
Related service
AI Agents & Automation
Agents that take real actions in your systems, with people in control.