What is agentic AI?
Short answer
Agentic AI is software in which a language model decides its own next steps: it calls tools, reads the results and keeps going until a goal is met, instead of following a path a developer fixed in advance. The useful dividing line is control. In a workflow, code chooses the sequence; in an agent, the model does. Agents suit open-ended tasks with checkable outcomes, and they cost more, run slower and fail in compounding ways.
By Dr. Dulan Dias, co-founder and CTO of Tellme AI
Key facts
- Anthropic's engineering guide Building effective agents (December 2024) separates workflows, where language models and tools follow predefined code paths, from agents, where the model directs its own process and tool use.
- Innovate UK's Agentic AI Pioneers Prize describes agentic AI as "systems that can take initiative, make decisions, and act autonomously toward a goal".
- The ReAct paper by Yao et al., first posted to arXiv in October 2022, showed language models interleaving reasoning steps with actions such as search queries, and using the results to revise their plans.
- When τ-bench was published in June 2024, even state-of-the-art function-calling agents such as gpt-4o succeeded on fewer than 50% of its tasks, and in its retail domain their chance of succeeding on all eight attempts at the same task was below 25%.
- A 2025 study of multi-agent LLM systems by Cemri et al. identified 14 failure modes in 3 categories (system design, inter-agent misalignment and task verification) and applied them to more than 1,600 annotated traces from 7 frameworks.
- The OWASP Top 10 for LLM Applications (2025) lists Excessive Agency as LLM06 and traces it to three root causes: excessive functionality, excessive permissions and excessive autonomy.
- Tellme AI, where Dr. Dulan Dias is co-founder and Chief Technology Officer, won the Innovate UK Agentic AI Pioneers Prize 2025 (Creative Industries).
Definitions
- AI agent
- A system in which a language model chooses the next action, calls a tool to take it, observes the result and repeats until it reaches a goal or a stopping condition. The model, not the developer's code, decides the sequence.
- Agentic workflow
- A multi-step system built from language model calls whose order is fixed in code, such as a chain of prompts or a router that sends each request down one of several paths. The model does the work at each step but does not choose the path.
- Tool calling
- Also called function calling: the model returns a structured request to run a named function with arguments, the application runs it, and the result goes back to the model as input for its next step.
- Model Context Protocol (MCP)
- An open-source standard for connecting AI applications to external systems. A tool or data source exposed once as an MCP server can be used by any client that supports the protocol.
What makes an AI system agentic?
A system is agentic when the model, rather than the developer, decides what happens next. Give it a goal and a set of tools and it runs a loop: choose an action, call a tool, read the result, choose again, and stop when the goal is met or a limit is reached.
The loop is not new. The ReAct paper, first posted in October 2022, had language models alternate between reasoning and actions such as searches, using what came back to revise the plan.
Autonomy is a spectrum, not a switch. A model that picks one of three tools once is barely agentic; one that writes code, runs the tests, reads the failures and edits again for an hour is very agentic. Most production systems sit near the low end, and that is usually good judgement. A fixed pipeline with a model in each stage is not an agent, whatever the marketing says.
Agent vs workflow vs chatbot
The difference is who controls the sequence of steps, and that one choice sets cost, predictability and how hard the system is to test. Anthropic's guide Building effective agents draws the same line, and notes that an agent's autonomy brings higher costs and the potential for compounding errors.
| Factor | Chatbot | Workflow | Agent |
|---|---|---|---|
| Who decides the next step | The user, turn by turn | Code written in advance | The model, at run time |
| Predictability | High for each turn | High: the same input takes the same path | Lower: the path can differ between runs |
| Cost and latency per task | Low | Known in advance | Variable and usually higher, since each step is another call |
| How you test it | Grade single replies | Test each step and the whole chain | Grade end states over many repeated runs |
| Best for | Questions and answers | Tasks whose steps you can write down | Open-ended tasks whose steps you cannot predict |
| Example | A help assistant answering from documentation | Classify a ticket, retrieve the policy, draft a reply | Investigate a failed payment across logs, billing and device records |
The parts of an agent
Every agent combines a model with tools, memory, a control loop and permissions, and most of the engineering effort goes into the parts that are not the model.
- The model: reads the goal, the steps so far and the tool results, and chooses the next action.
- Tools: the functions, APIs and searches the agent can call, each with a name, a description and an argument schema. A few clear, narrow tools beat a large catalogue of overlapping ones, and every description costs context on every call. The Model Context Protocol standardises how tools are exposed.
- Memory: the context window holds the goal, steps and results; a long-term store holds notes or past decisions for later. Both need pruning, because stale tool output makes later steps worse.
- Planning and control: the loop and its limits, meaning a maximum number of steps, a time and spend budget, a definition of done and a rule for when the agent is stuck.
- Guardrails and permissions: what the agent may touch, enforced in code outside the model. Teams skip this in a demo and regret it in production.
Where agents work in production today
Agents earn their cost on tasks with three traits: the steps cannot be listed in advance, the outcome can be checked, and a wrong action is cheap to undo or is reviewed before it lands. Coding is the clearest case, because a test suite tells both the agent and the reviewer whether the work is done.
Other good fits share that shape: analysis over read-only data, where a person reads the answer; investigation across logs and records, where the agent proposes and a person approves; and drafting, where the output is a document someone edits.
From practice: Tellme AI, where Dr. Dulan Dias is co-founder and CTO, won the Innovate UK Agentic AI Pioneers Prize 2025 (Creative Industries). Dulan's write-up of giving an AI agent the run of a production platform over MCP begins where safe agent design should begin, by removing every delete operation from the tools the agent can see.
Poor fits are the mirror image: tasks a workflow already handles, unreviewed actions that move money or change records, and results nobody can check.
Why agents fail
Agents fail in ways single model calls do not, because errors compound across steps and the agent acts on its own mistakes. The failure modes are well documented.
- Compounding errors. If each step succeeds 95% of the time independently, a ten-step task succeeds only about 60% of the time (0.95 to the power of 10). That is illustrative arithmetic, not a measurement, but it explains why long autonomous runs disappoint.
- Inconsistency. In τ-bench, the strongest function-calling agents tested in 2024 succeeded on fewer than half of the tasks, and far less often on all eight repeats of the same task. One success in a demo says little about the hundredth run.
- Coordination failures. A 2025 study of multi-agent systems found 14 failure modes across seven frameworks, from system design to misalignment between agents and weak verification.
- Prompt injection through tools. An agent that reads web pages, emails or files can be steered by instructions hidden in them; OWASP notes that indirect prompt injection is not fully prevented by retrieval or fine-tuning.
- Excessive agency. OWASP's LLM06:2025 traces damaging actions to too many tools, too broad permissions and too much autonomy.
- Runaway cost. A loop that never meets its stopping condition keeps calling the model, and without a spend cap the invoice is the first alert.
How to start with agents safely
Build the smallest amount of autonomy that does the job, and widen it only as evidence builds. In order:
- Write the workflow first. If you can list the steps, code them and use the model inside each one. Promote a step to an agent only when the fixed path keeps failing on real cases.
- Start read-only, then add write tools one at a time.
- Enforce permissions in code, not in the prompt: least-privilege credentials for each tool, and systems that check authorisation themselves rather than trust the model.
- Require a person to approve anything irreversible: payments, deletions, messages sent on someone's behalf, changes to production.
- Set a step limit, a time limit and a spend cap per task, with a defined fallback. Each model call still needs the timeouts and failover in LLM APIs in production.
- Treat every tool result as untrusted input that can never change the agent's instructions, and validate arguments before a tool runs.
- Log every step as a trace: the model's choice, the tool, its arguments and the result.
- Evaluate on repeated runs, judging the end state rather than the transcript; how to evaluate an LLM application covers the method.
Do you need more than one agent?
Usually not at first. A single agent with well-designed tools is easier to build, test and debug than several agents passing work between them, and every hand-off is another place to lose context.
Split the work when one context cannot hold the tools a task needs, or when sub-tasks are independent and can run in parallel. Dulan's summary of why multi-agent systems keep failing walks through the research on where those hand-offs go wrong.
Frequently asked questions
What is the difference between generative AI and agentic AI?
Generative AI produces content in response to a prompt: text, code or images. Agentic AI uses a generative model as the decision-maker in a loop that takes actions, such as searching, calling APIs or editing files, and then decides what to do next from the results. Every agent is built on generative AI, but most generative AI applications are not agents, because a developer, not the model, decides what happens after each output.
Is a chatbot with tools an AI agent?
Only if the model decides which tools to call, in what order and when to stop. A chatbot that always runs one retrieval step before answering is a workflow with a conversational front end. One that can choose between looking up an order, checking stock and issuing a refund, chaining them as needed, is acting as an agent, and needs the permissions, limits and approvals an agent needs.
What are some examples of agentic AI?
Common examples are coding agents that edit a repository, run its tests and fix the failures; research agents that search, read sources and summarise; data agents that turn a question into database queries; and operations agents that investigate an incident across logs and records. The dependable ones share a pattern: a checkable outcome, narrow permissions and a person reviewing anything that cannot be undone.
How is an AI agent different from robotic process automation?
Robotic process automation follows a script: the same clicks and keystrokes in the same order, which breaks when a screen or an input changes. An AI agent decides its steps at run time from a goal, so it copes with variation but is less predictable. The two combine well: scripted automation for the fixed parts of a process, and an agent where messy input needs judgement.
Are AI agents safe to connect to company systems?
They can be, if the safety lives in the system rather than in the prompt. Give each agent the narrowest set of tools, run them with least-privilege credentials, have downstream systems check authorisation themselves, require a person to approve irreversible actions, and log every step. Treat anything the agent reads from outside, such as web pages or emails, as untrusted, because instructions hidden in it can redirect the agent.
How much does it cost to run an AI agent?
More than a single model call, and less predictably. Each step resends the goal, the history and the tool results, so input tokens grow as the task runs, and the number of steps varies from task to task. Measure cost per completed task rather than per call, cap steps and spend per task, and use a smaller model for routine steps; LLM cost per user shows how calls per action multiply the bill.
Do you need MCP to build an AI agent?
No. An agent only needs tools it can call, and most model APIs let you define functions directly in code. The Model Context Protocol helps when the same tools must serve several AI clients, or when you want tools others have already published, because a system exposed once as an MCP server works with any compliant client. It standardises the connection; it does not make the tools safe.
Sources
- Anthropic: Building effective agents (December 2024)
- Yao et al., ReAct: Synergizing Reasoning and Acting in Language Models (arXiv 2210.03629)
- Yao et al., τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains (arXiv 2406.12045)
- Cemri et al., Why Do Multi-Agent LLM Systems Fail? (arXiv 2503.13657)
- OWASP Top 10 for LLM Applications: LLM06:2025 Excessive Agency
- OWASP Top 10 for LLM Applications: LLM01:2025 Prompt Injection
- Model Context Protocol: What is MCP?
- Innovate UK Business Connect: The Agentic AI Pioneers Prize

About the author
Dr. Dulan Dias is co-founder and Chief Technology Officer of Tellme AI in Belfast; founder of EchonLabs, grown from 2017 to more than 60 people before its acquisition in 2026; holder of a PhD in AI and data science from Queen’s University Belfast; and the author of From Model to Product.