An AI agent is an AI system that completes a task in several steps on its own: a language model plans, calls tools such as your CRM, email or database, checks the results and decides on the next step until the goal is reached. It makes sense for clearly bounded processes with minimal permissions and human approval. Since 2 August 2026, the EU AI Act’s transparency rules also apply, for example when an agent talks to people directly.
What does an AI agent do?
An AI agent works towards a goal on its own: it breaks the task down, picks suitable tools, evaluates what they return and then decides what to do next. Google Cloud describes agents as software systems that use AI to pursue goals and complete tasks on behalf of users, with planning, memory and a degree of autonomy.
According to Anthropic, agents are technically usually language models that use tools in a loop and steer by the feedback they get from their environment. A typical run:
- Trigger: a person gives an instruction, or an event such as a new email or ticket starts the agent.
- Plan: the model works out which steps and tools it needs.
- Action: it calls a tool, for example a CRM lookup, a search or a calendar entry.
- Check: the result comes back, and the agent uses it to judge its progress.
- Finish or ask: the agent stops when the goal is reached or a stop condition such as a maximum number of iterations kicks in. At checkpoints it can hand back to a person.
Whether you call it an AI agent, agentic AI or an agentic system, what matters is who decides the path. Anthropic groups all variants under “agentic systems” and draws one architectural line. In workflows, the model and tools run through predefined code paths. In agents, the model directs its own process and tool use. Workflows are more predictable; agents are more flexible but cost more, and errors can compound over several steps.
AI agent vs chatbot, workflow automation and RPA: what is the difference?
The difference is who decides the next step: with a chatbot it is the person, with workflow automation and RPA it is the predefined process, and with an AI agent it is the language model within the limits you set.
| Approach | Who decides the next step? | A good fit when … |
|---|---|---|
| Chatbot / AI assistant | The person. The system answers requests and can recommend actions, but the user makes the decision. | someone triggers every step anyway, for instance when researching or drafting |
| Workflow automation (including AI steps) | The predefined process. The language model handles individual steps such as classifying or summarising. | you can write the path down in advance |
| RPA (robotic process automation) | A recorded or built sequence that operates applications through their user interface, including legacy software. | repetitive click sequences in desktop applications are the problem |
| AI agent | The language model, within the tools and permissions you grant. | the required steps cannot be predicted |
Anthropic advises starting with the simplest solution and adding complexity only when it demonstrably improves results; for many applications, a single well-built model call that retrieves the right knowledge and examples is enough. So check first whether a fixed workflow will do. If all you need is answers from your own documents with sources, you usually don’t need an agent but a RAG system on your company data.
What types of AI agents are there?
AI agents can be grouped by how they are used, by how many agents are involved and by the tool used to build them. For businesses, the grouping by tool is the most practical, because the tool determines effort, control and dependence on a vendor.
By use and structure
- Conversational agents work in dialogue with staff or customers and are usually triggered by a request.
- Background agents run without a conversation, react to events and work through queued tasks.
- Single-agent and multi-agent systems: a single agent suits well-defined tasks. In multi-agent systems, several agents work together, for example an orchestrating agent that hands out subtasks and combines the results.
By tool: how AI agents are built
Four common ways to build an AI agent, with examples from the vendors’ official documentation (as of 4 November 2026, not a market overview):
| Route | Examples | Suits |
|---|---|---|
| Low-code builder | Microsoft Copilot Studio: a graphical, low-code studio for agents and workflows; “agent flows” can include human review steps. | teams starting in the Microsoft ecosystem without much coding |
| Agents in the chat workspace | ChatGPT workspace agents: published agents can also be triggered from other systems via an API. | companies that already use ChatGPT in their own workspace |
| Workflow tool with an agent step | n8n: the “AI Agent” node connects a chat model to tools, and the agent picks the right one. The Community Edition can be self-hosted. | processes where only one step needs agent-style freedom |
| Developer frameworks | OpenAI Agents SDK, Claude Agent SDK, Google Agent Development Kit (ADK, open source) | your own applications with full control over data, approvals and hosting |
Whichever route you take, plan an exit, because the tools change quickly: according to its own documentation, OpenAI is shutting down its Agent Builder on 30 November 2026. If you document instructions, tool descriptions and test cases independently of the builder, an agent is much easier to move.
AI agent examples: where do they help in a business?
AI agents help where a task combines conversation and action, has a clear success criterion and leaves room for meaningful human oversight; that is how Anthropic sums up the most promising applications from its work with customers. Typical examples from Anthropic, Microsoft and OWASP documentation:
- Customer support: the agent pulls customer data, order history and knowledge-base articles, updates tickets and can issue refunds, sensibly only after approval. Success can be measured by resolved cases.
- Routing requests: incoming requests are recognised by type, such as general question, refund or technical support, and passed to the right process. A workflow is often enough for this.
- Inbox assistant: the agent summarises emails and drafts replies. Nothing goes out until a person has reviewed each draft and pressed “send” themselves.
- Internal processes: Microsoft describes Copilot Studio agents that take part in shared business processes, such as onboarding a new employee or coordinating a recurring meeting.
- Research across several sources: an orchestrating agent hands out search tasks, gathers the results and summarises them.
Which process to tackle first is a question of prioritisation. How to rate use cases by value and effort is covered in AI use cases that deliver real ROI.
How do you build an AI agent?
You build an AI agent in seven steps: narrow the task, check the simplest solution, minimise tools and permissions, add approvals, secure the inputs, test and log, then expand step by step. The steps draw on guidance from OWASP, OpenAI and Anthropic.
1. Define the task and the success criterion
Describe exactly one task with a trigger, an outcome and a measure, for example: “Check an incoming complaint and file a draft reply with supporting evidence in the ticket.” Without a success criterion you can neither test nor compare.
2. Check whether a fixed workflow is enough
If the path can be written down in advance, build a workflow and use the language model only where text has to be understood or written. You need an agent only when flexibility and model-driven decisions are genuinely required.
3. Minimise tools and permissions
OWASP lists “excessive agency” as a risk of its own for LLM applications. Its root causes are excessive functionality, excessive permissions or excessive autonomy. That translates into concrete rules:
- Connect only the tools the task needs: an agent that summarises emails needs no function for sending or deleting.
- Avoid open-ended tools such as arbitrary shell commands or URL fetching, and build narrowly scoped functions instead.
- Limit permissions in the target systems, for example to read access on a single table.
- Run actions in the context and with the privileges of the user concerned.
- Let the target system decide whether an action is allowed, not the language model.
4. Add approvals for actions with consequences
Anything that reaches the outside world or is hard to undo should be confirmed by a person: customer emails, payments, deletions, contract changes. OWASP explicitly recommends human-in-the-loop approval for high-impact actions. Frameworks already support this: in the OpenAI Agents SDK, the model can decide an action is needed, but the run pauses until a person approves or rejects it.
5. Treat inputs as untrusted
When an agent reads emails, files or web pages, they can contain instructions that need not even be visible to humans. OpenAI describes this prompt injection as a common and dangerous attack that can, for example, exfiltrate private data through tool calls. Countermeasures: never put external content into the system instructions, pass only strictly structured fields between steps and require confirmation for tool calls. OpenAI says this greatly reduces the risk but does not fully remove it.
6. Test, log and set limits
Anthropic recommends extensive testing in sandboxed environments before an agent goes live. Set stop conditions such as a maximum number of iterations and log every action with time, input and result. OWASP names logging, monitoring and rate limiting as ways to spot unwanted actions before serious damage is done.
7. Measure, then expand
Compare effort, error rate and turnaround time with the previous process. More freedom for non-critical cases, and the next process, come only once results have been stable for weeks.
Quick check before you start
- Is there a single task with a clear trigger and a measurable outcome?
- Is a fixed workflow not enough, because the path cannot be defined in advance?
- Can the systems involved be reached via an API, with a separate, tightly limited account for the agent?
- Is it decided which actions need approval, and by whom?
- If personal data is involved, is it clear where the model runs and who acts as processor?
- Are there test cases, logs and a stop condition?
How much does an AI agent cost?
There is no fixed price for an AI agent. Costs come from model usage, the platform or licence, development and integration, and ongoing operation. Because an agent works in a loop, it usually calls the model several times per task, and every call is billed. Anthropic points out that agentic systems trade speed and cost for better task performance.
| Cost block | How it is billed | Example from the vendor, as of 4 November 2026 |
|---|---|---|
| Model usage via API | per token, input and output priced separately | OpenAI: USD 0.10 to 10 per million input tokens and USD 0.50 to 50 per million output tokens for the GPT-6 models (standard tier, short context). Anthropic also prices Claude models per million tokens. |
| Agent platform | by consumption or capacity | Microsoft Copilot Studio bills in Copilot Credits; how many a response or action uses depends on the complexity of the task. |
| Workflow tool | by executions or self-hosting | n8n Cloud “Starter”: EUR 20 per month, billed annually, for 2,500 workflow executions. With the self-hosted Community Edition, servers and maintenance are on you. |
| Development and integration | project effort | depends on the number and state of the interfaces, the approval logic and the testing |
| Operation | ongoing | monitoring, reviewing logs, adjusting when models or processes change |
The factor of 100 between the cheapest and the most expensive GPT-6 model shows where the lever is: simple requests can go to cheaper models and only hard ones to large models, a pattern Anthropic calls routing. Reliable numbers come from a pilot that counts real cases; prices change often.
What are the risks of AI agents?
The main danger is not an “evil” AI but a damaging action based on unexpected, ambiguous or manipulated model output; that is how OWASP defines “excessive agency”. Four risks at a glance:
- Prompt injection: external content makes the agent ignore its instructions. In the OWASP example, a crafted email tricks an inbox assistant into forwarding sensitive information to the attacker.
- Data leakage without an attacker: a model can unintentionally send more data to a connected tool than the user expected.
- Compounding errors: each step builds on the previous one, so an early mistake can carry through many steps.
- Wrong actions: an agent might offer a refund it is not supposed to, or delete information that should stay.
OpenAI itself states that even with all mitigations, agents can still make mistakes or be tricked. What matters, therefore, is which permissions you give an agent and where a person approves.
What do the EU AI Act and the GDPR require for AI agents?
The EU AI Act attaches obligations to your role and to the intended purpose of the AI system. A provider develops an AI system, or has it developed, and places it on the market or puts it into service under its own name. A deployer uses an AI system under its own authority. Three points matter most for agents:
- Transparency (Article 50): since 2 August 2026, providers must ensure that people are informed when they interact directly with an AI system, unless this is obvious from the circumstances. That covers, for example, an agent that chats with customers.
- AI literacy (Article 4): the obligation has applied since 2 February 2025. The Digital Omnibus on AI, Regulation (EU) 2026/1744, in force since 27 July 2026, rewrote it: providers and deployers take measures to support the AI literacy of their staff, without having to guarantee any specific level.
- High-risk areas (Annex III): these include AI systems for the recruitment or selection of candidates and for assessing the creditworthiness of natural persons. Under the Omnibus, the obligations for these systems apply from 2 December 2027.
The GDPR draws another line that matters for agents in particular. Under Article 22(1) GDPR, a data subject has the right not to be subject to a decision based solely on automated processing that produces legal effects concerning them or similarly significantly affects them; paragraph 2 sets out exceptions. Let people make such decisions and have the agent prepare them. If a model provider processes personal data on your behalf, you also need a data processing agreement under Article 28 GDPR.
Deadlines and obligations are summarised in our EU AI Act guide. This article is not legal advice; whether and which obligations apply to your agent should be checked legally for your specific case.
Conclusion: start small, stay in control
A good first AI agent is unspectacular: one task, few tools, tight permissions, a person who approves, and logs that make every action traceable. More autonomy comes only once results are measurably stable. If you want support with that: AI agents for clearly defined tasks with approval steps are part of our AI automation service.
Sources
- Building effective AI agents – Anthropic, December 19, 2024, accessed November 4, 2026
- LLM06:2025 Excessive Agency – OWASP Gen AI Security Project, accessed November 4, 2026
- Safety in building agents – OpenAI API documentation, accessed November 4, 2026
- Guardrails and human review – OpenAI API documentation, accessed November 4, 2026
- Pricing – OpenAI API documentation, accessed November 4, 2026
- Licensing for agents powered by the standard harness (Copilot Studio) – Microsoft Learn, updated August 3, 2026
- Timeline for the Implementation of the EU AI Act – AI Act Service Desk, European Commission, accessed November 4, 2026
- Regulation (EU) 2026/1744 of 8 July 2026 (Digital Omnibus on AI) – Official Journal of the European Union, July 24, 2026
Responsible
Mehdi Bornak, AI Manager (IHK)
Mehdi Bornak is the owner of Rocket-Monkeys and an IHK-certified AI manager. Rocket-Monkeys was founded in 2022 and builds custom software and AI solutions for companies.
More about us