AI agents

What is an agentic layer, and when is it worth building?

An agentic layer is where a model gets to decide what happens next, and most of the engineering goes into deciding what it is not allowed to do.

Open Dimension AI7 min read

What is an agentic layer?

An agentic layer is the part of a system where AI agents decide and act. It connects language models to your business systems: it takes a goal, plans the steps, calls tools and APIs, tracks state and hands off to a person when it should. Because it can act, it needs permissions and logs.

The short version

  • An agentic layer is the part of a system where a language model chooses the next step, instead of following a sequence a developer fixed in advance.
  • An agentic layer sits between language models and business systems, and it acts on those systems only through the tools it is given.
  • The model is the smallest part of an agentic layer. Tools, permissions, state, logging and evaluation are most of the work.
  • An agentic layer is only worth building when the steps really do vary from case to case. If you can draw the flowchart, a fixed workflow is cheaper and more predictable.
  • An agent can do anything its tools and credentials allow, so permissions are the real control, not the prompt.

What is an agentic layer?

An agentic layer is the part of a software system where a language model decides what happens next. The system does not run a sequence a developer wrote in advance. It gives the model a goal and a set of tools. The model chooses a tool, reads the result and chooses again, until the task is done or it stops.

The word 'layer' is about position. It describes where this decision-making sits: between the interfaces people use and the models and systems that do the underlying work. It is not a product category, and no standard specification defines one. Different vendors draw the boundary in different places.

The useful test is control flow. If a person wrote down every step and the model only fills in text along the way, you have a workflow with AI in it. If the model chooses the steps, you have an agentic layer, along with the problems that come with handing over that choice.

Where does the agentic layer sit in an AI stack?

In the middle. Interfaces such as a chat window, an inbox or a ticket queue hand it tasks. It then calls two kinds of thing: language models, which read and generate text, and business systems, such as a CRM or a database, which hold the records and carry out the actions.

The agentic layer does not replace any of these. It works through whatever access your existing systems already expose. That is why an agent is only as reliable as the APIs it calls and the data it reads. A clean API with clear errors makes a good agent possible. A brittle one rules it out, whatever model sits behind it.

What does each layer of the stack do?

LayerWhat it doesTypical examples
InterfaceWhere people or other systems hand over a task and see the resultChat, email, a ticket queue, an internal API
Agentic layerPlans steps, chooses tools, tracks state, applies limits, escalates to a personAn orchestration loop with tool definitions, permissions and logging
ModelsRead and generate text, classify, extract, reason over the context they are givenA hosted or self-hosted language model, sometimes more than one
Business systemsHold the records and carry out the actionsCRM, ERP, document stores, databases, payment systems

What are the components of an agentic layer?

An agentic layer has six parts: an orchestration loop, tools, state, permissions, a handoff to a person, and logging with evaluation. The model is an input to the layer, not the layer itself. Most of the engineering time goes into these six parts, not into choosing the model.

  • Orchestration loop: the code that sends the goal and context to the model, runs the tool it picks, returns the result and repeats until a stopping condition is met.
  • Tools: narrowly defined functions the model can call, each with a clear name, a plain description and typed inputs. Standards such as the Model Context Protocol describe how tools are exposed to a model.
  • State: what the agent knows about the current task so far, and what it may remember between tasks. Keeping state small and explicit makes behaviour easier to reproduce.
  • Permissions: which tools each agent can call, on whose behalf and within what limits. This is the real control surface.
  • Human handoff: a defined route to a person when confidence is low, when the action cannot be undone, or when the request is out of scope.
  • Logging and evaluation: a record of every model call and tool call, plus a fixed set of real cases the system is tested against before each change.

How is an agentic layer different from workflow automation?

In workflow automation, a developer fixes the sequence of steps. In an agentic layer, the model chooses the sequence at runtime. That one difference determines cost, speed, predictability and how hard the system is to test.

A fixed workflow does the same thing every time for the same input. You can test each branch, predict what a run will cost and explain any outcome by pointing at the step that produced it. An agentic layer can handle cases nobody anticipated. The price is that each run may take a different path, call the model several times and cost a different amount. Testing it means checking behaviour across many cases, not checking branches.

A hybrid is usually the better design. The overall process stays a fixed workflow. One or two steps inside it, where the input is messy and the right action varies, go to an agent with a short list of tools. That keeps the unpredictable part small and easy to watch.

When is an agentic layer not worth building?

When you can draw the flowchart. If the steps are known and the branches can be listed, a fixed workflow will be cheaper, faster and easier to audit. Adding an agent buys flexibility you will not use.

There are other signs it is the wrong tool. The action cannot be undone and nobody can approve it first. The volume is low enough that a person doing the task costs less than building and running the agent. The systems involved have no API, so the agent would have to work through a screen that changes without notice.

None of this means AI has no place. It usually means a smaller piece of AI will do the job without the overhead of autonomy, such as a model that classifies or drafts inside a fixed process.

Why are permissions the real control in an agentic layer?

Because an agent can do anything its tools and credentials allow, whatever its instructions say. Instructions shape what the model tends to do. Permissions decide what it can do. Only permissions still hold when something goes wrong.

Things go wrong in ordinary ways. The model misreads a request. A document it retrieves contains text written to look like an instruction, which is how prompt injection works. A tool returns an error and the model reads it as success. In each case the damage is limited by what the tool will accept, not by what the prompt said.

So the design work goes into the tools. Keep read tools separate from write tools. Run each call as the person the agent is acting for, not as a shared service account that can reach everything. Put limits, such as amounts or record counts, inside the tool where the model cannot argue with them. Require a person to approve anything that cannot be undone.

How do you know whether an agentic layer is working?

Test it against a fixed set of real cases before every change, and read the logs afterwards. A demo that works on five examples tells you very little about the fiftieth unusual request.

Build the evaluation set from real requests, including the awkward ones. For each case, write down what a correct outcome looks like: the right action, the right escalation or a refusal. Then measure how often the agent completes the task, how often it takes a wrong action and how often it hands off when it should. Wrong actions matter more than failures to act. A stalled task is visible. A wrong one often is not.

Log every model call and tool call with its inputs and outputs. When an agent does something unexpected, the log is the only way to find out why. Without it, you are guessing at the behaviour of a system that chose its own path.

Does a small business need an agentic layer?

Usually not as a first step. Most small businesses get more from one well-scoped piece of automation, such as triaging an inbox or drafting replies a person approves, than from a general layer that can act across several systems.

AI use is uneven by firm size. The U.S. Census Bureau's Business Trends and Outlook Survey found that larger firms, those with at least 20 employees, were the biggest AI users. Homebase's 2026 Main Street AI Gap Report looks specifically at small businesses, and at which of them are adopting AI and which are not.

For a small team, the practical question is not whether to build an agentic layer. It is which single task, handed to an agent, would save the most time for the least risk. Start there, with read access and a person approving each action. Widen the agent's permissions only where the logs show it has earned them.

Questions people ask

Is an agentic layer a product we can buy?

Partly. Frameworks and platforms provide the orchestration loop, and model providers offer tool calling. What you cannot buy is the part specific to your business: which tools exist, what each one is allowed to do, who approves what, and how the whole thing is tested. That part is most of the work, and it is where these projects succeed or fail.

Do we need to replace our existing systems to add an agentic layer?

No. An agentic layer acts on the systems you already have, through their APIs. The CRM, the ticketing system and the database stay the source of truth. What you may need is better access. A system without an API forces the agent to work through a screen, which is slower and breaks whenever the screen changes.

How much autonomy should an agent have at first?

Less than you think. Start with read access and draft actions that a person approves. Watch the logs for a few weeks and see where the agent is right and where it is confidently wrong. Then grant write access one action at a time, starting with actions that are easy to reverse. Autonomy should be earned from evidence, not assumed from a demo.

Which model should an agentic layer use?

Whichever passes your evaluation set at a cost and speed you can accept. Larger models plan better and recover from errors more often. Smaller ones are cheaper and faster for narrow steps, and many systems use both. The choice matters less than people expect, because a vague tool definition or a missing permission will defeat any model.

What is the difference between an agentic layer and a chatbot?

A chatbot answers. An agentic layer acts. A chatbot takes a message and returns text. An agentic layer takes a goal, decides which tools to call, changes data in other systems and keeps going until the task is done or it hands off to a person. Many chat interfaces sit on top of an agentic layer, but the chat is the interface, not the layer.

Related on this site

Sources

  1. Large Firms With at Least 20 Employees Biggest AI Users, Business Trends and Outlook Survey (BTOS), a biweekly, nationally representative survey of US businesses; analysis of data collected December 14, 2025 to May 3, 2026 · U.S. Census Bureau, data from 2025-2026
  2. 2026 Main Street AI Gap Report: Who's Adopting AI (and Who's Not), Propeller Insights survey of 750 U.S. owners, executives, directors and managers at small businesses with 5–499 employees and hourly teams; compared with Homebase's 2025 survey of 828 decision-makers at businesses with fewer than 200 employees, fielded May 30–June 11, 2025 · Homebase (fielded by Propeller Insights), data from 2026
  3. 2026 Main Street AI Gap Report: Who's Adopting AI (and Who's Not), Propeller Insights survey of 750 U.S. owners, executives, directors and managers at small businesses with 5–499 employees and hourly teams · Homebase (fielded by Propeller Insights), data from 2026
  4. 2025: The State of Generative AI in the Enterprise, Survey of 495 U.S. enterprise AI decision-makers, fielded November 7–25, 2025, combined with a bottoms-up market model · Menlo Ventures, data from 2025

Want someone to look at your workflow?

Thirty minutes, and we will tell you whether there is anything here worth building. Roughly half of these end with us saying not yet.

Book a 30 minute call