Skip to content

What is an AI agent, and how does it differ from a chatbot?

By Daniel Stoffels

Short answer

An AI agent based on a language model is a system that works towards a goal in several steps, using tools within defined permissions. A chatbot initially answers messages; an agent can also retrieve information, check results and execute further work steps, while approval processes and responsibilities must remain clearly defined.

Key points

  • The language model is one component of the agent; tools, instructions and a controlled environment turn it into a workflow.
  • A skill can provide a reusable procedure for a specific task as an extension.
  • The harness controls the agent run and connects the model with tools, permissions, approvals and a log.
  • In finance, an agent can prepare and investigate. Approval, professional judgement and responsibility remain with people.
  • Minimal permissions and a traceable log are part of the setup before an agent acts in business systems.
Structural model: control surrounds the agent

Definition

An agent based on a language model is a software-supported system that pursues a given goal, uses the model to select next steps and uses tools. Its ability to act derives from the model, instructions, available information and technically restricted permissions; a skill can supplement this interaction.

Model, tools and harness: how a run works

The way of working described concerns agents based on language models. A language model processes language and generates responses based on the context provided. It can explain a matter or suggest a next step. This does not yet give it access to accounting or authority to initiate a payment. These capabilities must be explicitly configured through the surrounding software.

Tools connect the model with executable functions. A tool can search an approved dataset, read an invoice or trigger a calculation, for example. Within its remit, the agent chooses which tool to use and processes the result further. Clear descriptions of inputs and outputs help avoid incorrect calls. Input validation and technical limits must additionally prevent unauthorised effects.

Instructions set the goal, limits and expected result. A prompt is a specific input to the model. As a possible extension, a skill bundles a reusable procedure with checking rules, templates or executable aids. A skill for account reconciliation could specify which lists to compare and how to show unresolved differences. Even a well-written skill does not replace permission controls.

Structural model: control surrounds the agent. The outer framework is called the harness: permissions, approvals and log; inside it sit tools, instructions and skills, and the language model. The harness controls the agent run: the loop of model call, tool call and feedback. It connects the model with tools, permissions, approvals and a log. Feedback gives the model the current position for its next decision. The execution environment, permission checks and logging may be separate components; specific security functions must be checked separately. For an initial use in finance, it is advisable to enforce approvals technically outside the model's unconstrained decision-making.

Memory means information made available to the agent again across individual steps or tasks. It can include validated definitions and previous work results. Memory is not an automatic truth check. Outdated rules, incorrectly adopted assumptions and impermissibly stored content can influence later results. Origin, validity and permitted use must therefore remain traceable.

Difference from chatbots and conventional automation

A chatbot is initially a conversational interface. A person asks a question, receives an answer and initiates the next step themselves. A chatbot can, however, include tools and agent functions. The terms therefore do not exclude each other completely. The distinction lies in how the system works: does it only output text, or does it independently select and execute further steps within a task?

Conventional automation follows predefined rules. RPA means Robotic Process Automation and describes the automated execution of repeatable work steps, often through existing user interfaces. Such a process can transfer fields or perform a defined check. With clear data and stable rules, this predictability is useful.

An agent can handle variable language and suggest different paths depending on intermediate results. Its outputs are less predictable as a result. Where an unambiguous calculation rule is sufficient, that rule should determine the result. A sensible process therefore often combines fixed calculations with language-based analysis. The model explains a variance while a calculation tool determines its size.

What an agent can prepare in the finance department

For document entry, an agent can read details from documents, flag missing fields and create an entry proposal. It must retain the link to the relevant supporting document. A plausible-sounding document assignment is not yet evidence that the business transaction has been understood correctly. Unclear invoices belong in a review queue rather than a silently completed posting.

For reconciliations, an agent can look for differences between approved lists and suggest possible matches. Exact total comparisons and arithmetic checks should run through suitable tools. The agent can then explain which items remain unresolved. It must not make a difference disappear through an invented balancing entry.

For reporting, it can draft an initial variance commentary from checked figures. Whether a variance was actually caused by prices, volumes or a one-off event must be confirmed from the data. A linguistically convincing explanation can be wrong in substance. The draft should therefore distinguish observation, evidenced cause and an assumption still to be tested.

Oversight as part of the internal control system

IKS means internes Kontrollsystem, the German term for an internal control system. It comprises organisational rules and controls intended to support orderly processes and limit risks. ICFR stands for Internal Control over Financial Reporting, meaning controls over financial reporting. For an agent, this concerns correct, complete and traceable information, among other things, and authorised changes in the systems involved.

For the initial finance use described, a fixed human approval before corrections or sending is advisable. The person responsible for the substance assesses the business transaction; a technical block prevents execution until approval. The reviewer sees the specific content, recipient and intended effect. Under the four-eyes principle, another person checks independently of preparation. Two model responses do not replace this check. These are design recommendations for this initial use, not a blanket regulatory requirement for every agent.

Minimal permissions mean allowing only the functions needed for the task. An agent analysing documents initially needs read access and a separate place for drafts. It does not need payment approval rights. The log records which inputs, tools, results and approvals belong to a run. Model, instruction and configuration versions help investigate later variances.

Build a manageable use case

  1. Limit the task and result

    Choose a recurring preparatory task with a verifiable result. Describe inputs, permitted data and the point at which the agent stops. Clarify who assesses the proposal from a business perspective. A task such as ‘take care of finance’ contains no useful acceptance condition.

  2. Set up controls and permissions

    Separate read-only analysis, drafting and actual changes. Block tools that are not needed. Build approval so that third-party text in an invoice or message cannot override it. Also test aborting when data is missing or tool calls are interrupted.

  3. Test with known cases

    Use permitted cases with known results and add incomplete or contradictory documents. Check substantive correctness and the handling of uncertainty. One successful normal case does not yet show that the agent stops safely with an unreadable invoice or an incorrect data format.

  4. Test interruptions and duplicate execution

    Simulate a connection failure after a tool call. The agent first checks using a unique transaction identifier whether execution has already succeeded. It must not create an existing draft again. If the status remains unclear or the retry fails, the run ends with a notification to the responsible person. An unknown status does not justify a blind repeat.

  5. Track results and changes

    Compare proposals with human review and document recurring errors. Change instructions or tools selectively and retest affected cases. Assess the benefit including control effort and rework. Only then can you judge whether the preparation actually reduces workload.

Record the division of work in the process

Division of work between agent and person
TaskAgent preparesPerson decides
Document entryRead fields, link supporting document, flag uncertaintiesCheck business transaction and entry proposal
Account reconciliationCompare items, compile differencesConfirm matches and approve corrections
Variance commentaryFormulate observation and possible causesConfirm cause and take responsibility for recommendation
Query to a business partnerCreate a message draft linked to the supporting documentApprove content, recipient and sending

Reconcile two lists and stop before correction

For this calculation, all amounts are illustrative and rounded to thousands of euros (€k). The incoming invoice register and outstanding supplier items concern the same transactions at the same reporting date; part payments, taxes and currencies are disregarded. A calculation tool produces the totals. The agent matches using document numbers and links the unresolved item to the invoice document.

The difference is €10k. The document explains the amount but does not yet prove a missing posting: a duplicate invoice entry or an incorrect period assignment could also be behind it. The agent therefore creates a review task linked to the document and stops before correction. The responsible person clarifies the circumstances and separately approves any necessary change.

Example: list reconciliation with an unresolved difference in €k

Table scrolls sideways

TransactionIncoming invoice registerOutstanding supplier itemsDifferenceAgent result
Materials invoice40400Document number and amount match
Freight invoice50500Document number and amount match
Maintenance invoice10010Invoice document linked; reason unresolved; no correction
Total1009010Review task for finance; run stops before any change

Common errors when using agents

  • Allowing action without approval: separate drafting and execution technically. A model judgement alone does not approve a message or a payment.
  • Granting overly broad permissions: start with the access needed for the specific task. Additional permissions need a justified purpose and an appropriate control.
  • Omitting logs: record the run and its approvals traceably. Without origin and processing steps, a wrong result remains difficult to investigate.
  • Making no provision for checking against supporting documents: link proposals to the underlying documents. Check amounts and business transactions rather than focusing only on convincing wording.
  • Treating third-party content as instructions: documents and messages are material to be checked. Requests within them must not change the task or its technical limits.

From Daniel Stoffels’ practice

Our own operations and lessons from ERP implementations

Heldensystem GmbH's own accounting has run in Odoo since day one. I manage the Odoo operations of our own entity directly through Claude Code. Here, I am hands-on.

From my ERP experience, I know both types of start: well-prepared implementations tested several times with an orderly start, and changeovers without prior cleansing where the real work began only after go-live.

For AI implementations, the lesson is clear: data cleansing and testing belong before go-live. This concerns the entire data picture, including open items and transaction data.

Frequently asked questions

Can an AI agent make mistakes?

Yes. It can misunderstand documents, overlook information or generate an unsupported explanation. Calculation tools, links to supporting documents, checks and clearly limited permissions reduce the consequences of errors. The substantive review must fit the task and its possible impact.

How does a skill differ from a prompt?

A prompt is a specific input. A skill bundles a reusable procedure for a type of task, possibly with templates, checking rules and aids. Both guide the model's work; technically enforced permissions and approvals belong in the environment.

What needs to be clarified about data protection?

Before use, clarify which data is needed for the purpose, who may process it and which contractual conditions apply. Limit access and stored content. An agent name or an approval click does not yet demonstrate permissibility under data protection law.

What costs does an agent incur?

Alongside model usage, there is effort for integration, checks, oversight and maintenance. Include failed attempts and rework too. A process becomes economical when its benefit covers the total effort; an inexpensive individual response says little about this.

Does every finance task need an agent?

No. For stable rules and unambiguous calculations, a fixed automated process is often easier to check. An agent can help where variable language or different documents must be processed. The choice follows the task and the necessary controls.

Sources

Last updated:

Anthropic on how AI agents work; general definitions of internal controls; experience of running his own operations and ERP experience of Daniel Stoffels

Related questions

Next step

Free initial call, 30 minutes