AI agents in business: what they can safely do and where to keep a human in the loop
A chatbot answers questions. An AI agent goes one step further: it is given tools (searching a database, creating a ticket, sending an email, updating a CRM record) and decides for itself which tool to use and in what order to complete a task. This makes agents useful for work that used to require a person clicking through several systems, and it also creates risks that a plain chatbot does not have.
Agent or workflow?
Not everything called an "agent" needs to be one. A useful distinction:
- Workflow: the steps are fixed in advance. A language model is used at specific points, for example to classify an email or extract fields from an invoice. The path is predictable.
- Agent: the model plans the steps itself and chooses tools dynamically. The path can differ on every run.
Workflows are easier to test, cheaper to run and easier to explain. Agents make sense where the path really cannot be known in advance, such as researching an unusual support case across several systems. A sound rule is to start with the simplest design that solves the problem and add autonomy only where it measurably helps.
Where agents pay off
- Support triage and resolution: reading the request, looking up the order, checking the policy and preparing a reply or a refund proposal for approval.
- Sales operations: enriching a new lead, checking the CRM for duplicates, drafting a first response and booking a follow-up.
- Back office: matching invoices to purchase orders and flagging exceptions.
- Internal IT and HR requests: answering from policy documents and opening the right ticket with the right fields filled in.
The common pattern: many small lookups and decisions, clear rules, and an outcome that a person can review quickly.
The risks, as named by OWASP
The OWASP Top 10 for LLM Applications (2025 edition) is a widely used reference list. Three of its entries are particularly relevant for agents:
- Prompt injection (LLM01). Text that the agent reads, such as an email, a web page or a PDF, can contain instructions. If the model treats this content as a command, an outsider can steer the agent. This is the central security problem of agents, and it cannot be eliminated by wording the system prompt carefully.
- Excessive agency (LLM06). The agent has more tools, more permissions or more autonomy than the task needs, so a mistake or a manipulation has larger consequences than necessary.
- Sensitive information disclosure (LLM02). The agent reveals data it has access to, for example by including another customer's details in a reply.
Other entries, such as improper output handling (LLM05) and unbounded consumption (LLM10), matter as well: output passed unchecked into other systems can cause damage, and an agent stuck in a loop can generate real costs.
Seven design rules
- Least privilege. Give each agent only the tools and the data scope its task requires. A support agent needs read access to orders, not write access to the whole database.
- Separate reading from acting. Reading and drafting can be automatic. Actions with consequences (payments, refunds, deletions, emails to customers, changes to master data) go through an approval step.
- Treat external content as data. Emails, web pages and documents are untrusted input. They are never a source of instructions, and tool permissions must not widen because a document says so.
- Validate outputs in code. Check amounts against limits, recipients against an allow-list and structured output against a schema before anything is executed. Rules that must always hold belong in code, not in the prompt.
- Limit the blast radius. Set caps on steps per task, spending per day and number of actions per hour. Run the agent with its own service account so that its actions are attributable.
- Log everything. Record which input led to which tool call and which result. Without this, neither debugging nor an audit is possible.
- Test with hostile cases. In addition to normal test cases, include documents with embedded instructions, ambiguous requests and attempts to extract other users' data. Repeat the tests after every change to the prompt, the tools or the model.
Human in the loop, sensibly
Approval steps only help if they are designed for the person approving. A good approval screen shows what the agent wants to do, why, and on what evidence, and allows a decision in seconds. If people must approve dozens of trivial steps, they stop reading. It is better to automate low-risk steps fully and reserve approvals for the few actions that matter.
A practical rollout sequence is: suggestion mode first (the agent drafts, a person executes), then approval mode (the agent executes after a click), and automatic execution only for narrowly defined cases with a clean track record.
Regulatory notes
In the EU, people must be informed when they interact with an AI system; the transparency rules of the AI Act have applied since August 2026. An overview is in EU AI Act for small and mid-sized businesses. Where personal data is processed, data protection law applies in addition; see AI projects and data protection.
Conclusion
Agents are valuable where work consists of many small lookups and decisions across systems. Their safety does not come from the model alone, but from the system around it: narrow permissions, checks in code, approvals for consequential actions and complete logs.
uurstudios builds agents and automation with this structure and introduces them in stages, from suggestion mode to controlled automation. Requirements can be shared through the contact form.