Go to the service: Assistants & agents
AI agents explained: what they can do and their limits
AI agents explained: how AI completes multi-step tasks on its own, which risks the BSI and ANSSI highlight, and why people must stay in control of decisions.
What is it about?
An AI assistant answers questions. An AI agent goes a step further: it pursues a goal and carries out several steps on its own to reach it. It can use tools – for example reading a mailbox, checking a calendar, entering data into a program or saving a file. The agent’s “brain” is usually a language model, an AI that understands and produces text.
Think of the difference between an information desk and an errand runner. The information desk tells you where the post office is. The errand runner goes there, posts the parcel and brings back the receipt. The runner saves you more work, but you also have to trust them with more: your keys, your money, your signature.
What AI agents can do in a business
Typical tasks being discussed for agents today:
- reading incoming requests, sorting them and passing them to the right person,
- suggesting meeting times across several calendars,
- finding details in documents and transferring them into a template,
- summarising research across several sources.
What they all have in common: the agent acts not just with words, but with access rights.
How an agent works
Put simply, an agent runs in a loop. It is given a goal, such as “sort the new requests”. It plans a first step, calls a tool – the mailbox, say – looks at the result and decides on the next step. This repeats until the goal is reached or it gets stuck. This independence is what makes agents useful. But it also means that not every single step has been decided by a person in advance.
Why does it matter for your business?
The opportunity is real: routine steps that are currently copied back and forth between several programs can partly be handed over. Small teams without their own IT department in particular can benefit.
But the risks grow with the rights. Germany’s Federal Office for Information Security (BSI) and France’s cybersecurity agency ANSSI have jointly published principles for secure systems based on language models. Their central message: blind trust in such systems is not advisable. Fully autonomous operation without human oversight is not recommended, and critical decisions should be made under human supervision.
The biggest weakness: hidden instructions
An agent reads content from outside – emails, documents, web pages. The BSI describes the risk of indirect prompt injection: attackers hide instructions in such content, for example as invisible text. If the language model follows them, the BSI notes that, given sufficient rights, it could for instance send an email from the victim’s mailbox. As early as 2023, the BSI pointed out that no reliable countermeasure removes the problem completely.
For a law firm, that could mean confidential client information leaving the building. For a trades business, it could mean wrong orders being placed. The rule is therefore: the more an agent is allowed to do, the more carefully it must be restricted.
Data protection matters too. The BSI points out that if a language model takes on extra tasks such as managing a mailbox, the risk of lost confidentiality extends to those emails. If such functions are provided by third parties, data could flow to them. Anyone giving an agent access to a mailbox or file store should know exactly where the data is processed.
What the BSI and ANSSI recommend
- Minimal rights: agents get only the rights they need for their task and act within the permissions of the person who instructed them.
- Confirmation before critical actions: the BSI mentions, for example, a confirmation button before an agent carries out a potentially critical action.
- Logging: all steps should be documented so they can be traced.
- Limited autonomy: for simple tasks, fixed workflows are often more efficient than agents.
An everyday example
Example: A fictional property management company with eight employees receives damage reports by email every day. The managing director wants an AI agent that reads the reports, finds the right tradesperson and instructs them directly.
During planning it becomes clear: if the agent may send orders on its own, a manipulated email could lead it into an expensive wrong instruction. So the company opts for a limited solution. The agent reads the reports, sorts them by urgency, suggests the tradesperson and prepares the order as a draft. Nothing is sent until an employee has checked and confirmed the draft.
The agent only has read access to the damage-report mailbox and may create drafts, but cannot send anything itself. Every step is logged. The team saves time on sorting and writing, while keeping control over everything that leaves the office.
How we approach it
As part of our AI assistants service, we only use agents where they make sense and can be kept under control:
- Assess the task: we check whether an agent is really needed, or whether conventional process automation or a simple AI assistant would do the job better.
- Define rights: we decide which data and programs the agent may access – as little as possible, as much as necessary.
- Build in approvals: actions with external effect, such as sending, ordering or deleting, only run after a person confirms them.
- Secure and log: we put protective measures against hidden instructions in place, together with complete logging.
- Test: we test the agent with real examples and with deliberately manipulated ones before it goes live.
- Set the rules: its use becomes part of your company AI policy, so everyone knows what the agent may and may not do.
What you can do right away
- List tasks where your team copies data back and forth between several programs.
- Mark for each task whether a mistake would have an external effect, such as sending, paying or ordering.
- Check which access rights you have given the AI tools you already use.
- Remove rights that a tool does not need for its task.
- Decide that actions with external effect are always confirmed by a person.
Key terms
- AI agent
- An AI system that pursues a goal over several steps and uses tools or programs on its own to do so.
- Language model (LLM)
- An AI that understands and produces text. It is usually the 'brain' of an AI agent.
- Prompt injection
- Hidden or smuggled-in instructions intended to make an AI behave in unwanted ways.
- Least privilege
- The principle that people and programs only get the rights they strictly need for their task.
- Zero trust
- A security approach in which no access is trusted automatically. Every access is checked and kept as narrow as possible.
Frequently asked questions
What is the difference between a chatbot and an AI agent?
A chatbot answers questions. An AI agent can also use tools and trigger actions, such as drafting an email, adding a calendar entry or transferring data into another program. That raises both the benefit and the risk.
Can we let an AI agent work completely on its own?
The BSI and ANSSI advise against it. Fully autonomous operation without human oversight is not recommended, and critical decisions should be made under human supervision. We therefore always design agents with approval steps.
Does every automation need an AI agent?
No. The BSI and ANSSI point out that for simple tasks, predefined workflows are often more efficient than agents. Many routine tasks are handled more reliably by conventional automation.
What is a prompt injection?
An attack in which someone hides instructions in an email, document or web page. When the agent reads that content, it may follow those instructions instead of yours. The BSI has pointed out that there is no fully reliable countermeasure.
Sources
Official sources, consulted when the article was written.
- BSI and ANSSI – Design Principles for LLM-based Systems with Zero Trust (opens in a new tab)
- BSI – Generative AI models: opportunities and risks for industry and authorities (incl. R28, M17, German) (opens in a new tab)
- BSI – Baseline protection against indirect prompt injections in document-based LLM chats (German) (opens in a new tab)

