Nokto

What is an AI agent? Definition, examples, and what agentic AI changes

By Abdellah El KharrazePublished 7 min read

In short

An AI agent is a program that uses a language model to reach a goal by deciding the steps itself: it analyzes the request, chooses tools (search, CRM, calendar, email), calls them, observes the result and repeats until it is done. Agentic AI refers to this ability to act autonomously, as opposed to an AI that only answers.

Key takeaways

  • A chatbot answers; an agent acts: it calls tools and chains steps it chooses.
  • An agent rests on four building blocks: a model, tools, memory and a decision loop.
  • A workflow follows a path written in advance; an agent decides its path on every run.
  • Autonomy has a price: variable costs, loops, tool errors, prompt injection. It must be monitored.

In two years, “AI agent” has become one of the most used, and vaguest, terms in tech. It is applied to an improved chatbot, to a workflow that calls ChatGPT, to an assistant that books plane tickets. This article offers a clear definition, shows what sets an agent apart from a chatbot and a workflow, and explains what agentic AI concretely changes for a business, including what it requires in terms of control.

Definition: what is an AI agent?

An AI agent is software that uses a language model to reach a goal by deciding for itself which actions to take. In practice, it receives a request, reasons about what to do, calls tools (a search, a database, an API, another application), observes the result, and starts again until it considers the goal reached.

The fundamental difference from a traditional program: the path is not written in advance. The developer provides a goal, tools and rules; it is the model that chooses, on each run, which tools to call and in what order.

An agent is a language model that uses tools in a loop, based on what it observes, until it reaches a goal.

The four building blocks of an agent

What happens inside an AI agent executionTriggermessage, email, formModeldecides the next stepToolsCRM, calendar, searchMemoryhistory, contextResponseaction or textmodel unavailabletool loopcontext bloatempty responseTo n8n, an execution that loops or costs three times more is still “green”
An agent's loop: the model decides, calls tools, reads its memory, and starts again
  • The model (GPT, Claude, Mistral, Gemini, a local model): it understands the request, reasons, chooses the next action and writes the response.
  • The tools: what the agent can do in the world. Read a calendar, create a contact, search the web, query a document base, send an email. Each tool has a description the model reads to decide whether to use it.
  • The memory: the conversation history, the user's context, sometimes long-term memory across sessions or a document base (RAG).
  • The loop: the mechanism that sends each tool's result back to the model and asks it what comes next, with a limit (number of iterations, duration, budget).

Agent, chatbot, workflow, assistant: the differences

ChatbotAutomated workflowAI agent
What it doesAnswers messagesRuns a defined sequence of stepsPursues a goal by choosing its steps
Who decides the pathThe script or the model, for the answer onlyThe designer, once and for allThe model, on every run
Actions in other softwareRarelyYes, plannedYes, chosen
PredictabilityMediumHighLower
Cost per runStableStableVariable
ExampleConversational FAQ on a websiteForm → CRM → welcome emailA concierge that answers, checks availability and books

In practice, the boundaries are blurry, and that is a good thing. The most reliable systems combine all three: a workflow frames the process (trigger, validations, recording), an agent handles the step that requires judgment (understanding a free-form request, choosing a response), and a conversational interface serves as the entry point. Anthropic, in its guide to agents, recommends starting with the simplest solution and only adding autonomy when it brings a measurable gain.

What is agentic AI?

Agentic AI refers to AI systems that can act autonomously to reach a goal, as opposed to so-called generative AI, which produces content in response to a request. The term covers several levels:

  1. The augmented tool: a model that calls a tool when asked (“look up this customer in the CRM”).
  2. The agent: a model that chains several tools to reach a goal, within a defined limit.
  3. Multi-agent systems: several specialized agents (one that plans, one that researches, one that writes, one that checks) coordinated by an orchestrator.
  4. Long-running agents: agents that work for hours or days on a task, with memory and checkpoints.

The higher you go in these levels, the more powerful the agent, and the harder it is to predict its behavior, cost and errors.

Concrete examples of AI agents

Customer concierge

Answers a hotel's guests on WhatsApp, checks availability, offers a booking, and hands over to a human for sensitive cases.

Email triage

Reads incoming emails, classifies them (quote request, complaint, invoice, spam), extracts the useful information and drafts a reply for approval.

Lead qualification

Enriches each new contact (company, industry, size), scores it against criteria, and alerts the sales rep about the most promising ones.

Document summaries

Reads the documents received in a folder (contracts, invoices, meeting notes), extracts the key elements and files them in the right place.

For use cases by function (customer service, HR, accounting, sales), see AI agents for small businesses: fifteen concrete use cases.

The limits and risks of an AI agent

An agent is a program that makes decisions. Its strengths (flexibility, language understanding) come with trade-offs you need to know before putting it into production.

RiskWhat happensCountermeasure
Reasoning errorThe agent picks the wrong tool, parameter or conclusion, with confidenceHuman approval for committing actions; narrowly scoped tools
LoopThe agent calls a tool again and again without making progressIteration limit; tracking tool calls per run
Unpredictable costToken count varies with the request, history and tool resultsBudget per agent; tracking cost per run and per day
Prompt injectionContent read by the agent (an email, a web page) contains instructions it carries outSeparate data from instructions; read-only tools by default; human approval
Personal dataThe agent sends customer data to the model providerMinimize the data sent; provider contract and location
Silent driftA model or prompt change alters behavior without an errorTracking the models used; behavior indicators

What these risks have in common: they almost never produce an error. For an automation platform, an agent that loops forty times and then answers is a successful execution. That is why AI agent monitoring cannot rely on classic error alerts alone.

Monitoring an AI agent

Monitoring an agent does not require reading its conversations. The useful indicators are metadata:

  • the number of runs, and how it evolves;
  • the error rate, including tool errors;
  • input and output tokens per run;
  • tool calls per run (to spot loops);
  • the model used, and changes to it;
  • cost per day, per agent and per client, against a budget;
  • escalations to a human and refusals.
Daily cost of an AI agent over 30 daysBooking concierge · US dollars per day$0$4$8$12implicit daily budgetCost spike: probable loop38 tool calls per executionModel changedcost per execution × 1.8
An agent's cost reveals a loop (spike) and then a model change (lasting increase), without a single failed execution

Nokto tracks these indicators for agents built in n8n, in Make or in code, and alerts on cost spikes, probable loops, model changes and budget overruns, without ever storing prompts or responses. See AI agent monitoring with Nokto.

In summary

An AI agent is a language model that acts: it chooses and calls tools to reach a goal. That is what sets it apart from a chatbot, which answers, and from a workflow, which follows a path written in advance. Agentic AI opens up use cases that were impossible yesterday (understanding a free-form request and handling it end to end), at the cost of lower predictability. The companies that get the most out of it are those that frame it: a workflow around it, limited tools, human approval on what commits the business, and cost and behavior monitoring from day one.

Frequently asked questions

What is the difference between an AI agent and a chatbot?

A chatbot answers messages, possibly drawing on a knowledge base. An AI agent pursues a goal: it decides to call tools (check a calendar, create a CRM record, send an email), observes the results and chains steps until it reaches the goal. A chatbot can be an agent's interface.

What is agentic AI?

Agentic AI refers to AI systems that can act autonomously to reach a goal: plan, use tools, adapt to the result of each action. The term covers simple agents as well as systems where several specialized agents cooperate.

What are some examples of AI agents in business?

An agent that triages incoming emails and drafts replies, a concierge that answers customers and books a slot, a qualification agent that enriches and scores leads, an assistant that prepares quotes from a request, a monitoring agent that summarizes what is new in an industry every week.

Can an AI agent run without supervision?

Technically yes, but it is not recommended in production. An agent can pick the wrong tool, loop, cost far more than planned or be manipulated by malicious content. Actions that commit the company (sending, paying, deleting) should go through human approval, and both cost and behavior should be monitored.

How do you build an AI agent?

With an automation platform like n8n or Make (agent node or module), with a dedicated no-code tool, with the agent features of assistants (Claude, Copilot, ChatGPT), or in code with a framework. Our article How to build an AI agent compares these routes.

Sources

Try Nokto for free