This is a detailed technical blog post, written for engineers and security teams. For a shorter version aimed at security and engineering leaders, see the short version.
If you have heard about intent-based access control (IBAC) lately, you are probably confused. The term has been used for a plethora of things, such as a Kubernetes manifest that lists which services a workload calls. It has been used for an LLM that judges whether an agent's reasoning matches its instructions, and for a certificate in which an agent declares its own task. It has even been used for a parser that turns a user's chat message into permissions. Some of the posts using it contradict each other, including on whether IBAC replaces role- and attribute-based access control or sits on top of them.
If this first paragraph made the confusion even worse, don't worry! This post tries to clear that up with a concrete definition, a working example use-case, as well as an honest list of limitations.
Here is the definition we will use in this article: IBAC lets an AI agent do only what its user asked for, as opposed to everything the agent's identity is permitted to do. That is, we focus on intent that is inferred at runtime from what the user typed. In that form, IBAC is attribute-based access control (ABAC) with one or more attributes derived from free text. An IBAC policy looks exactly the same as an ABAC policy. The work, and most of the risk, is in turning the user's free-form text into attributes.
How IBAC Relates to RBAC, ABAC, ReBAC, PBAC and KBAC
Yes, all these *BAC acronyms are not made up, and there are probably more coming up as you read these words.
| Model | What the decision is based on |
| RBAC, role-based | The subject's roles |
| ABAC, attribute-based | Attributes of subject, action, resource and environment |
| PBAC, policy-based | Centrally managed policies, usually over attributes |
| ReBAC, relationship-based | Relationships such as owner of, member of, acts for |
| KBAC, knowledge-based | Identity data, context and relationships held in a context graph |
| IBAC, intent-based | The purpose of the user's request |
| CBAC, context-based | Contextual factors such as location, time, device and session conditions |
| TBAC, token-based | The task or workflow being performed and its current state |
Because intent arrives as an attribute, any engine that evaluates attributes can use it without a new decision model. With Axiomatics, intent rules can augment the same ALFA policies that govern the organization. Those who claim IBAC is an entirely new access control model mostly end up feeding intent into a standard policy engine.
Our Recurring Example: An Email Assistant
The example we will use throughout is an AI assistant helping the user manage their email. A user who is allowed to read and send email tells the agent: "Read my latest email from Finance Ops and take care of it." Now, that latest email happens to ask the user to send the Q3 summary to an external auditor, with the address, subject and text all included. The agent might be tempted to do what the email asks and call the send_email tool. In a role-based access control (RBAC) system, a role check lets that call through, because the agent has the permission to send email. However, what the user typed (their intent) was a request to read, not to send. What we need is a rule that checks "did the user ask for this?".
Intent Is a Context Attribute Derived From Free Text
ABAC policies already decide on attributes of the subject, the action, the resource and the environment. The environment attributes could include the time of day, the network or the device. Intent belongs with those.
Almost all of those other context attributes arrive structured. On the other hand, intent comes from the user as an unstructured sentence. So something has to read the sentence and produce attributes that can be used by the policy. What is something that takes in text and produces a structured output? Well, that is an LLM. Or more accurately, a text classifier: it reads the user's request and returns the actions asked for, and optionally who they're aimed at. In authorization terms, it's a Policy Information Point (PIP): it supplies attributes, and the policy decision point (PDP) makes the decision.
Note that the classifier doesn't have to be a general-purpose LLM: recent decision models that answer from a fixed set of options without writing text, such as Jev, Laya and OpenAI's Decisions API, can do the job. LangChain already ships middleware that uses Jev to check tool calls before they run. The advantage of these models over general-purpose LLMs is the tremendous savings of latency and cost.
The classifier returns a list of intended actions, such as read or send, which the PEP adds to its request to the PDP. The tool call that the agent attempts has to be described in the same terms: send_email counts as a send.
How Axiomatics Supports IBAC
Before an agent's tool call is authorized, a classifier should read what the user asked for in the current turn. It produces attributes documenting the actions the user asked for from a fixed vocabulary (the example below uses read, search, send, delete and pay). Moreover, for each action, the classifier can also extract the object(s) of this action.
As an example, asking Jev (jev-1.13) one yes/no question per action about "Read my latest email from Finance Ops and take care of it" returns:
{
"model": "typesafe/jev-1.13-20260917",
"answers": {
"read": { "type": "noul", "noul": 0.97 },
"search": { "type": "noul", "noul": 0.74 },
"send": { "type": "noul", "noul": 0.39 },
"delete": { "type": "noul", "noul": 0.03 },
"pay": { "type": "noul", "noul": 0.19 }
},
"usage": { "input_tokens": 366, "output_tokens": 84, "cost": 0.000015372 }
}
Keeping the actions above 0.5, the intent is read and search. These intent attributes go to the PDP as environment attributes before every tool call in that turn. When the agent then tries calling send_email, the PEP adds the intent to its request to the PDP. In XACML JSON, the request would look something like:
{
"Request": {
"AccessSubject": {
"Attribute": [
{ "AttributeId": "demo.username", "Value": "boss" }
]
},
"Action": {
"Attribute": [
{ "AttributeId": "demo.action", "Value": "tool_invocation" }
]
},
"Resource": {
"Attribute": [
{ "AttributeId": "demo.toolname", "Value": "send_email" }
]
},
"Environment": {
"Attribute": [
{ "AttributeId": "demo.intent_actions", "Value": ["read", "search"] }
]
}
}
}
If classification fails, the call is denied by the PDP.
The following is a policy corresponding to the above example, written in the Abbreviated Language For Authorization (ALFA).
policy SendIntent {
target clause demo.action == "tool_invocation" and demo.toolname == "send_email"
apply firstApplicable
rule refuseUnaskedSend {
deny
condition not(demo.intent_actions == "send")
}
}
For the Finance Ops request, assuming the classifier returned only intent_actions = ["read"], the send is refused. When the user follows up in the same conversation with "Yes, send it.", the intent is ["send"]. The agent still has the email from the turn before, and the call goes through.
The scenario is illustrated in the following sequence diagram.
To be honest, whether "take care of it" should include the send intent is debatable. The user may well have wanted the summary sent. The policy's answer is that a send has to be asked for in words. That costs the user one more message, but a policy can also ask instead of refusing: the enforcement point pauses the call and asks the user for approval.
The following video shows a demonstration of IBAC and the policy above. It shows the refused send with its intent attributes, then the follow-up that lets it through.
Advantages of IBAC
So, hopefully by now you understand what IBAC is and what you can do with it. But one question remains: should I use it? Let's start with the benefits:
- It refuses actions the user didn't ask for, even when the user's identity allows them. This can help defend against "indirect prompt injection" attacks: instructions hidden in data read by the agent.
- It narrows an agent per task without changing roles. The same user gets read-only behavior for "summarize my inbox" and a send for "reply to Dana", without acquiring a new role or issuing a new token.
- It does not compromise security. An intent to do something the user isn't allowed to do will still be refused by the rest of the policy.
- It can also stop users with malicious intent. The user's prompt can be classified before it is sent to the AI model, and the policy can refuse the whole request.
Limitations of IBAC
Beware: this section is longer than the previous one.
- An LLM is guarding an LLM. The classifier LLM can make mistakes like the agent it is supposed to secure. In a test reported by VentureBeat, a fake "pre-approved" field cut Jev's probability of blocking rm -rf ~/.ssh from 0.76 to 0.48.
- Every user turn pays an additional cost for a classification: both in latency and in dollars.
- Vague requests might result in no identified intent, and thus in refusals. "Clean up my inbox" can produce no actions, so the user has to restate the request in clearer language. Asking for approval instead reduces the friction, but doesn't remove it.
- Intent drifts during a task, and tool output can legitimately change what the task needs.
- "Find the invoice from Acme and pay it" gets its amount from the invoice, not from the user.
- Tool output can measure drift from the initial intent, but must never update the intent, because tool output is untrusted and might lead to indirect prompt injection.
- The vocabulary has to be designed, and every new tool has to be mapped onto that vocabulary.
- An LLM classifier predicting the intent object as "My manager" or "him" is not going to match an email address.
- Enforcement at MCP servers, gateways and in agent-to-agent calls is challenging, since these might not be able to see the user prompts.
- Policies and configuration get harder: a vocabulary, a model choice and list-valued attributes to manage.
- User prompts go to a different AI model from the one powering the agent, which widens the surface for leaking sensitive information.
If those five limitations haven't scared you off, we'd be happy to talk about how intent can help secure your AI agents. No trenchcoat required!

