Guides · Pillar
What is agentic AI?
By Abdul Asim ·
What is agentic AI?
Agentic AI is software in which a language model is given a goal, a set of tools and permission to choose its own next step, then works in a loop until the goal is met or a control stops it. The model does more than write an answer: it picks an action, reads what came back and decides what to do next. The engineering work is in making that loop useful, bounded and auditable.
I use this page as the map for the agent guides on this site. It answers the core questions in short form and points to the deeper guide for each part you might be building.
How is agentic AI different from an AI agent?
An AI agent is one unit: a model, its instructions, the tools it may call and the loop that drives it. Agentic AI describes a whole system that acts with some autonomy. One agent is a common way to get there, but the system around it matters just as much: fixed workflow steps, data access, validation, budgets and the people who approve risky actions.
| Question | A single AI agent | An agentic AI system |
|---|---|---|
| What it is | One model-driven loop with tools | Agents plus workflows, data, controls and people |
| Who picks the next step | The agent's model | Split: the model for open steps, code for fixed ones, people for risky ones |
| What a mistake looks like | A wrong tool call | A wrong action that reaches a real system |
| What you design | Prompt, tools, stopping rule | Boundaries, permissions, approvals, evaluation and logs |
So the useful question is rarely whether to use agentic AI. It is which steps of a process need judgement at run time, and which should stay as ordinary code.
Agentic AI vs generative AI
Generative AI produces content: a draft, a summary, an image. Agentic AI uses the same kind of model as a decision maker inside a loop that can take actions. The difference shows up in risk. A weak generated paragraph is a weak paragraph. A weak agentic step can send an email, change a record or run a test against the wrong target, which is why agentic systems need permissions and approvals that a chat assistant never needed.
The mechanism underneath is tool use. The model never runs anything itself. In Anthropic's tool use documentation, the model decides when to call a tool from the request and the tool's description, then returns a structured call that your application executes. Your code stays in charge of what actually happens, and that is where controls belong.
The idea of alternating reasoning with actions was set out in the ReAct paper in 2022, which had a model interleave reasoning traces with actions such as lookups against a Wikipedia API. Most agent loops in production today are variations on that pattern.
Agentic AI architecture in five layers
When I sketch an agentic system for a client, it always has the same five layers, whatever framework ends up running it.
- A model that plans: it chooses the next step from the goal and from what it has seen so far.
- Tools: functions, searches, database queries and APIs the model may request. More teams now expose these through the Model Context Protocol, an open protocol for connecting LLM applications to data sources and tools.
- State and memory: what has been tried, what came back and what the user said.
- Controls: scope checks, schema validation, approval steps, step budgets and stop conditions.
- Observability: a trace of every step, so you can explain why the system did what it did.
I go through each layer, with the trade-offs I make in each, in AI agent architecture. The ways an agent can make decisions, from fixed rules to goal-driven planning, are in types of AI agents. The controls layer is the one demos skip and production cannot. It decides whether the system can be trusted with real actions, so I design it before I tune a single prompt.
Agentic AI examples from systems I have shipped
Property questions answered from records. For Permit Signal, a conversational agent turns a user's question into semantic queries plus location and property filters. A hybrid retriever then runs spatial lookup, vector search, BM25 keyword retrieval and SQL over a documented ingestion scope of 3 million New Jersey permits and 60,000 property records. The answer is assembled from retrieved evidence, with sources, map pins and an export. This is agentic RAG: the agent chooses the retrieval path and the data layer supplies the facts.
Security testing inside a fence. For Odva AI, I built an agentic workflow that plans tests against AI applications with a language model. The plan does not run on its own. An authorized-scope gate comes first, risky proposals go to a human reviewer, and findings are checked against a Pydantic schema and stored with evidence before reporting. Reported activity is around 340 penetration tests a day.
Agentic in one step only. For Center for Creative Leadership, the model drafts leadership reports, but separate validation layers check the data before drafting and the analysis after it, and a team lead approves each report in Outlook before anyone receives it. Only the drafting step involves model judgement. For many business processes, that is the right amount of autonomy.
Agentic AI use cases: where it fits a business
Agentic AI earns its cost when the path to the answer changes from one request to the next: research across mixed sources, triage where the next lookup depends on the last result, or testing where each probe depends on what the previous one revealed. It is a poor fit when the steps are the same every time. There, a fixed workflow with a model call inside is cheaper, faster and easier to audit. I work through that choice in AI automation vs AI agents.
Before I recommend an agentic design, I check four things:
- Different inputs really need different steps.
- Every tool the agent can call has a narrow, well-defined job.
- A wrong action can be caught before it reaches customers or production systems.
- You can write down what a good result looks like and test for it.
If all four hold, an agentic prototype is worth building. If you are weighing that build now, my custom agentic AI system engagement covers the scoping, the controls layer and the evaluation set together, so the prototype is measured from day one.
Where agentic AI goes wrong
- Instructions hidden in data. Every document, web page or tool result the agent reads is input that can carry instructions. OWASP ranks prompt injection as LLM01 and describes the indirect form, where external content such as websites or files changes the model's behaviour. I cover defences in prompt injection.
- Too much reach. OWASP's excessive agency entry names three root causes: too much functionality, too many permissions and too much autonomy. Its mitigations match what I build by default: narrow tools, least-privilege access and a person approving high-impact actions.
- Loops and cost. Each step is another model call. An agent that retries or wanders multiplies latency and spend, so every loop needs a step budget and a clear stop rule.
- Too many agents. Splitting work across several agents adds handoffs that can drop context. I keep the count as low as possible and explain how in multi-agent systems.
Where to go next in the agent guides
Pick the guide that matches what you are deciding right now:
- What is an AI agent: the single unit everything else is built from.
- Types of AI agents: how agents make decisions, and which kind a task needs.
- AI agent architecture: model, tools, memory, controls and tracing in detail.
- Multi-agent systems: orchestration and handoffs, and why fewer agents usually win.
- Agentic RAG: letting an agent choose how to retrieve evidence.
- Prompt injection: the main security risk once an agent can read and act.
