Blog

What Is an AI Agent, and What It Can and Cannot Do in Your Company

What Is an AI Agent, and What It Can and Cannot Do in Your Company

An AI agent is a program that takes on a task, decides which steps to take, uses your company's software to carry them out and asks your permission when what it is about to do matters.

It can take a lot of reading, searching and replying off your team's hands, but not everything sold as an agent is one, and many tasks are better off without one. I write this as one of the two partners who build Alher Tech's AI agents, from what we have learned doing it.

What an AI agent is

A regular program always takes the same steps, in the same order, because someone wrote it that way. An AI agent gets a goal, such as “reply to this customer” or “find out why this failed”, and decides for itself what to do first, what to check next and when it is done.

It needs three things for that. An AI model, which is the part that understands what it reads and decides the next step. Access to some of your programs, such as the calendar, email, a database or a folder of documents, which is what lets it do things and not only talk. And rules that you set, covering what it can do on its own, what it has to ask you and when it has to stop.

Without access to your programs, it is just a chat that answers. Without rules, I would not let it touch anything. Which model to use depends on the task and on what each one costs, and we compare them in our AI comparison.

How it works, with an example

An agent works in rounds. It looks at what it has, decides the next step, takes it with one of your programs, checks what happened and starts again, until it finishes, until it reaches its limit or until a person needs to decide.

Here is one of ours. At Fundaia, the platform we built to publish applications, when a new version fails to publish, a person can ask an agent to try to fix it. This is what it does.

  1. It reads the error and the code, and says what it thinks the cause is and how sure it is. If it is not clear, it stops without touching anything.
  2. It writes a test that shows the failure. If it cannot get that test to fail, it also stops, because a fix that nobody can check is no use.
  3. It makes the smallest change that fixes the failure.
  4. The platform checks that change with its own rules, without AI, and leaves it proposed for a person to review.

The agent never approves its own change. It works on a copy of the project that is deleted when it finishes, and it has a time limit per step and a spending limit. We explain it in detail in the article on how Fundaia fixes failed deployments.

Agent, chatbot, assistant or automation

They are used as if they were the same thing, and they are not. What separates them is who decides the steps and whether they can do something in your programs or only answer.

Four things that are often called AI in a company
What it doesWho decides the steps
A traditional automationThe same steps every time, such as copying each order into a sheet or sending an email every MondayWhoever set it up, in advance
A chatbotAnswers questions with prepared replies or by following a script, without doing anything in your programsNobody. It only answers
An assistantAnswers and helps with your real data, and whoever uses it decides what to do with what it saysThe person using it
An agentTakes a goal and carries out the steps itself with your programs, within the limits you setThe agent, as far as you say

An automation built with tools such as Zapier or n8n is still in the first row even if one of its steps uses AI to write a text. And the line is not exact, so rather than what it is called, check what it can do without asking you.

What it can do in a company

It helps most with the reading, searching and replying that someone does by hand today, case by case. These are examples of what we have built, from less freedom to more.

  • Reading documents and pulling out what matters. At Leaderbrock, a photo of a receipt becomes the expense with its amount, VAT and date, and the sales rep checks it.
  • Writing what keeps repeating. At Boathous the AI writes the newsletter, which goes out on its own every week.
  • Serving your customers with your real data. Boathous's assistant answers for each boat's owner with its calendar and its price.
  • Holding an entire conversation. Alquilia talks over WhatsApp with anyone asking about a flat, asks the agency's questions and asks for their documents.
  • Investigating a problem and proposing how to fix it, like Fundaia's agent.

Only the last one really decides its own steps. The others use AI inside a process that is already set out, on purpose, as we explain now.

When you do not need an agent

When the steps are always the same, an agent costs more, takes longer and is less predictable than regular software. The guides on building agents published by the model makers themselves say the same thing, start with the simplest option and make it more complex only if you need to, and sometimes that means not building an agent at all.

We have done it this way several times.

  • At Almacén-Pro, the tool the stores of two chains use to check the goods they receive, delivery notes are read with fixed rules, without AI. So when one arrives that the rules do not recognize, they flag it instead of guessing.
  • At Alquilia, the AI talks to the candidate and reads their documents, but the score it gives them is calculated by a fixed rule with the agency's criteria. A score that decides whom the agency serves has to come out the same every time and be explainable.
  • At Fundaia, before calling the agent, a diagnosis with fixed rules checks whether the failure is something as simple as a wrong setting. Many failures get fixed there, without spending anything on AI.

What we look at is simple. If the steps can be written on paper and almost never change, a regular program or an automation is enough. If each case is different and someone has to read it, understand it and decide, that is where an agent starts to pay off.

What a person always decides

An agent should not be able to do on its own anything that cannot be undone. So before building one, we split what it is going to do into three groups.

  • What it does alone. Reading, searching, sorting, preparing drafts and replying with data the person asking can already see, such as the calendar and the price of a boat.
  • What a person prepares and approves. At Leaderbrock the expense stays as a draft until finance approves it, and at Fundaia the change waits for someone on the team to review it.
  • What it never does. Moving money, cancelling, negotiating a price or deciding about a person. Boathous's assistant does not negotiate the price and cannot cancel a booking or approve a payment.

And if the person on the other side asks to speak to a human, they must be able to. At Alquilia, if a candidate asks for it, the assistant offers to pass them on to a colleague at the agency.

What happens when it gets things wrong

It gets things wrong, like anyone. It misreads a blurry figure, misunderstands a question or accepts a piece of data that is not right. What matters is that the mistake shows up before it costs anything, and for that there are five things.

  • It stops when it is not sure. Fundaia's agent stops if it cannot see the cause clearly or cannot prove the failure.
  • A person reviews what matters. Leaderbrock's receipt is checked by the sales rep and then by finance, so a misread figure gets corrected before it is approved.
  • It has limits on time, attempts and spending, so it does not keep going around in circles on a problem it cannot solve.
  • It is tested before it is used. At Alquilia, the agency tries the assistant in a practice conversation before turning it on.
  • Watch where your data goes. AI can also run on your own servers, so your data never leaves your company.

How to tell whether something is really an agent

Today almost anything with AI is sold as an agent, and many times it is a chat or an automation with another name. That is not a bad thing, sometimes it is exactly what you need, but it helps to know what you are buying. Before you buy, ask these questions.

  • Does it decide the steps or always do the same ones?
  • Can it do something in your programs or does it only answer?
  • Can you decide what it does on its own and what it leaves for you to approve?
  • Does it let you see what it did and why?
  • Does it stop and tell you when it does not know how to continue?

If the first two are no, it is not an agent. If any of the last three is no, I would not let it touch anything important.

What makes it cost more or less

There is no price for an agent, just as there is no price for a program. What moves it is mostly this.

  • Usage. A cloud AI model is paid for by what it reads and writes, so it costs more the more cases it handles. On your own servers you do not pay per use, but you have to have that server and look after it.
  • How many programs it connects to, and whether those programs already have a way to connect or one has to be built.
  • How many different cases it has to understand. A single type of ticket is not the same as a hundred types of document.
  • How much has to be checked by hand, which is also work for your team.
  • Keeping it running. When your processes, your data or the model it uses change, you have to check that it still does its job well.

That is why we tell you the price in writing before we start, once we have seen your case.

How we do it

With the same things we promise on our AI agents page.

  • We look with you at how your company works and choose the task that will save you the most. If an agent is not needed for it, we tell you.
  • We tell you in writing what we are going to do and what it has to achieve, before we start.
  • We build the first one with your real work, and you only pay for it if the numbers show it pays off.
  • You decide what it does on its own and what it leaves for you to approve.
  • It connects with what you already use and, if you prefer, runs on your servers.
  • We teach your whole team to use it.

What people ask us most

Is an AI chat like the ones you already use an agent?

On its own, no. It answers and helps you write, but it does nothing in your company's programs. It moves closer to an agent when you give it access to your programs and let it take steps, and then it needs the same rules as any agent.

Can it work without anyone watching it?

Yes, within whatever you let it do, which should only be things that can be undone. What matters still goes through a person, and it is best to log everything it does so you can review it.

Is a subscription tool or a custom one better?

If a tool that already exists does what you need with the programs you use, start with it. Custom makes sense when it has to work with your own programs and data, follow your rules or run on your servers, which is what a subscription tool usually does not let you do.

Who owns the code and the data?

If we build it, they are yours. The program, its code and your data belong to your company, as with everything we do.

Sources

  1. Anthropic, “Building effective agents” (December 19, 2024)
  2. OpenAI, “A practical guide to building agents”

Keep reading

  • Claude Code Fixes Failed Deployments, and a Person Decides

    AI · 8 min read · Oct 26, 2026

    In Fundaia, our platform to publish applications, a failed deployment has a Fix with Claude button. How the agent finds the cause, proves the failure and fixes it in a container that can only edit files, what the platform checks before proposing the change, why it never approves it itself and what happens when the agent cannot fix it.

  • Which AI Model to Use to Build Your Company's Software

    AI · 7 min read · Dec 1, 2026

    There is no winner for everything. Claude Fable 5.2 comes first on the overall index and Gemini 4 Carbon second, but GPT-6.1 Sol does nearly as well as Opus 5.5 for much less and GPT-6 Astra wins on operations. How we split the work between them and what happens to your company's data, on 13 November 2026.

  • Custom ERP or CRM, or One Off the Shelf

    Software · 7 min read · Nov 23, 2026

    When an off-the-shelf ERP or CRM is enough, the signs it has fallen short, what is worth keeping off the shelf even if you build the rest and how we do it, in parts and without stopping the company.

Blog